- Networking.
- Proof of Work.
- Proof of Stake.
- Peer-to-Peer.
-
Download main.go , and ports.env.
-
Rename ports.env to .env using "mv ports.env .env".
-
run main.go using
run go main.go
-
Open a web browser and
http://localhost:8080/
(8080 is the port I wrote in .env file). -
To Add a new Block you can use curl to send a
POST
request tohttp://localhost:8080
.Example :
curl -i -X POST -H 'Content-Type: application/json' -d '{"BPM":50}' http://localhost:8080