Customized scratch-made implementation of a Blockchain for simulation of data transactions, utilizing a deterministic Artificial Intelligence algorithm.
This system connects three peers in a decentralized network and performs various operations on transaction data. The system features an AI-driven deterministic algorithm, supports peer-to-peer data exchange with flooding/gossiping protocols, and integrates IPFS (InterPlanetary File System) for distributed file storage. It also includes blockchain functionality with block mining and proof of work (crypto puzzle).
- Connecting 3 Peers: The system connects three peers in a decentralized network.
- Transaction Handling: Each peer processes more than 5 transactions with deterministic AI algorithms applied to the data.
- Flooding/Gossiping Protocol: Data is disseminated across all peers using flooding/gossiping for efficient and robust communication.
- Blockchain: Each peer participates in mining blocks, and the network ensures consensus through proof of work (crypto puzzle).
- IPFS Integration: Distributed file storage across peers using IPFS.
- Go: Ensure you have Go installed on your machine. If not, install it from here.
- IPFS: Follow the steps below to install IPFS on Windows.
- Download IPFS:
- Visit the IPFS download page: https://dist.ipfs.tech/#kubo.
- Download the Windows binary (e.g.,
kubo_v0.25.0_windows-amd64.zip
).
- Extract the Files:
- Extract the zip file to a directory on your system.
- Update PATH Environment Variable:
- Add the extracted folder to your system's PATH environment variable.
- Initialize IPFS:
- Open Command Prompt and run the following commands:
ipfs init ipfs daemon
- Open Command Prompt and run the following commands:
To add the IPFS dependency to your Go project, run the following command in Command Prompt:
go get github.com/ipfs/go-ipfs-api