Simple Golang Blockchain Implementation
go build .
Show options:
./blockchaingo -h
To fetch the last block from the blockchain use any of the following:
./blockchaingo
./blockchaingo -list-last
./blockchaingo -ll
To list all blocks in the blockchain use any of the following:
./blockchaingo -list-all
./blockchaingo -la
To add a block use any of the following:
./blockchaingo -add "Block message"
./blockchaingo -a "Block message"