Read the Part 2 Tutorial to see a walkthrough of the code.
- clone this repo
- navigate to this directory and rename the example file
mv example.env .env
go run main.go
- open a new terminal window and
nc localhost 9000
- input a BPM and watch the blockchain in the first terminal window update
- wait a few seconds to see the second terminal window also print the blockchain
- open as many terminal windows as you like and
nc localhost 9000
and watch blockchain networking in action!