command
Version:
v0.0.0-...-26e06bc
Opens a new window with list of versions in this module.
Published: Mar 27, 2021
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Part 2: Networking
Code your own blockchain in less than 200 lines of Go!
Tutorial
Read Part 1 first!
Read the Part 2 Tutorial to see a walkthrough of the code.
Deployment steps:
- 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!
Screenshot
Ask us anything!
Join our Telegram chat and follow us on Twitter!
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.