- To install all dependencies, just run
yarn installornpm install. - As we want to run several instances (~nodes) of the code, we need to give a new
PORTenvironment variable to each instance (~node). So, start the node with:PORT=5000 npm start. - Other nodes can be added in the same way with a different port:
PORT=5001 npm start. - As gossiping (the addition of a new node) is not yet implemented, we have to register each node manually using Postman.
-
Notifications
You must be signed in to change notification settings - Fork 17
michielmulders/blockgeeks-build-blockchain-advanced
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Code that shows how to build your own Bitcoin-like blockchain with JavaScript.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published