1. HTTP_PORT=3001 P2P_PORT=6001 npm start
2. HTTP_PORT=3002 P2P_PORT=6002 PEERS=ws://localhost:6001 npm start
3. HTTP_PORT=3003 P2P_PORT=6003 PEERS=ws://localhost:6001 npm start
4. curl -H "Content-type:application/json" --data '{"peer" : "ws://localhost:6003"}' http://localhost:3002/addPeer
5. curl -H "Content-type:application/json" --data '{"data" : "Some data to the first block"}' http://localhost:3001/mineBlock
forked from sslab-kmu/Fusion-Chain
-
Notifications
You must be signed in to change notification settings - Fork 0
nadongjun/Fusion-Chain
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- JavaScript 100.0%