Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.01 KB

go-blockchain

Build Status

Blockchain implementation secured by proof of work

go get
go run main.go create-wallet # returns ADDR1
go run main.go create-wallet # returns ADDR2
go run main.go init-chain -address <ADDR1> # receives coinbase
go run main.go balance -address <ADDR1>
go run main.go balance -address <ADDR2>
go run main.go send -from <ADDR1> -to <ADDR2> -amount <A_NUMBER>
go run main.go balance -address <ADDR1>
go run main.go balance -address <ADDR2>
go run main.go print-chain

This will likely change as more functionality is added.

Objective

This project is primarily to get a deeper understanding of - and experience with - the Go language, blockchain/cryptography, and surrounding concepts.

Reference

References implementations made by Tensor Programming (based on Bitcoin spec) and Ethereum