Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 587 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 587 Bytes

simple-javascript-blockchain

This is a simple blockchain created using javascript and nodejs

It is a good place to under stand how the blockchain works.

As a start, run the following commands

npm install
npm run node_1
npm run node_2
npm run node_3
npm run node_4
npm run node_5

You can add as many nodes as you would like in the package.json file in the scripts object

"node_NUMBER": "nodemon --watch dev -e js dev/networkNode.js 300_NUMBER http://localhost:300_NUMBER"

Replace NUMBER with an actual number incrementally. i.e. 3006, 3007, 3008 etc.