Skip to content

dyodx/go-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Blockchain built in Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages