This is a simple blockchain implementation in Go.
block.go
: Contains the definition of theBlock
struct and related functions.pow.go
: Contains the Proof of Work (PoW) implementation.blockchain.go
: Contains the main function and blockchain initialization.
- Make sure you have Go installed.
- Clone this repository.
- Navigate to the project directory.
- Run
go mod init github.com/yourusername/yourrepository
to initialize the module. - Run
go run .
to start the application.