Skip to content

khiet/udemy_blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published