Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 639 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 639 Bytes

Summary of concepts

  • Create a network of nodes and use broadcast to synchronize the blockchain.
  • Create transactions.
  • Use proof of work to mine a new block.
  • View blockchain and transaction.
  • Use consensus with "Longest Chain Rule" to keep nodes up-to-date.

How to run

# Start servers (localhost with differnt ports)
npm run node_1
npm run node_2
npm run node_3
npm run node_4
npm run node_5

# Run the script to pre-fill data
./curlrequests.sh