This repository contains a basic implementation of a blockchain that uses the Proof of Work (PoW) mechanism to securely add blocks.
The core of this project demonstrates how to:
- Create blocks containing data and securely add them to a blockchain.
- Implement the Proof of Work algorithm to validate the mining process.
- Use hashing to ensure the integrity and linkage of the blocks in the chain.
To get started with this project, you'll need to have Go installed on your device. If you don't have Go installed, please follow the official Go installation guide at https://golang.org/doc/install.
- Clone the repository to your local machine:
git clone https://github.com/siri-n-shetty/Blockchain-Golang/
- Navigate into the project directory
cd simple-blockchain
- No additional packages outside the Go standard library are required.
go run main.go
This command will compile and execute the program.
Feel free to fork the repository and submit pull requests. Whether you're fixing bugs, improving the documentation, or adding new features, I appreciate your contributions to this project!