Skip to content

joaofnds/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. install go if you haven't already
brew install go
  1. clone the repository and build the cli
git clone https://github.com/joaofnds/blockchain
cd blockchain
go build ./cmd/cli/cli.go
  1. print the example blockchain
./cli print -file ./example.json
  1. add a block
printf "Hello" | ./cli add -file example.json
  1. print again to see the new block
./cli print -file ./example.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages