Skip to content

michielmulders/blockgeeks-build-blockchain-advanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockgeeks - Build your own Bitcoin-alike Blockchain

Running the Code

  1. To install all dependencies, just run yarn install or npm install.
  2. As we want to run several instances (~nodes) of the code, we need to give a new PORT environment variable to each instance (~node). So, start the node with: PORT=5000 npm start.
  3. Other nodes can be added in the same way with a different port: PORT=5001 npm start.
  4. As gossiping (the addition of a new node) is not yet implemented, we have to register each node manually using Postman.

About

Code that shows how to build your own Bitcoin-like blockchain with JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published