Proof of work Blockchain, finds a nonce for a valid block to add to the blockchain.
- Blocks store data, position, Timestamp, hash, previousHash.
- Each blocks previous Hash is linked to the one before it and that create blockchain.
mkdir project
cd project
go mod tidy
go run main.go
http://localhost:8080
curl -X POST http://localhost:8080 -H "Content-Type: application/json" -d '{"name": "89"}'