Simple blockchain example with 5 nodes.
git clone
npm install
npm run node_1
npm run node_2
npm run node_3
npm run node_4
npm run node_5
make sure all network nodes are running.
Method | |
---|---|
GET | /blockchain |
POST | /transaction |
POST | /transaction/broadcast |
GET | /mine |
POST | /receive-new-block |
POST | /register-and-broadcast-node |
POST | /register-node |
POST | /register-nodes-bulk |
GET | /consensus |
GET | /block/:blockHash |
GET | /transaction/:transactionId |
GET | /address/:address |
GET | /block-explorer |