Manages the network's p2p connections, API
Creates new P2P network, responsible for broadcasting the new chain/transaction between all parties
Creates new wallet, adds new transactions by wallet owner and signs them
The blockchain network's pending transactions, waiting to be mined by miners
Creates new transaction
Creates new block
Creates the new blockchain
Creates a new Merkle tree for a block
After cloning, enter npm install to install all dependencies
Run in Git-Bash "npm run start" to open 1st node In order to open 2nd socket, enter "$ HTTP_PORT=3002 P2P_PORT=5002 PEERS=ws://localhost:5001 npm run start" in Git-Bash To open 3rd node, enter $ HTTP_PORT=3003 P2P_PORT=5003 PEERS=ws://localhost:5001,ws://localhost:5002 npm run start And so on ...