Blockchain node that's fully controllable via CLI.
Following this Udemy course I set out to further develop this into an actual workable and safe blockchain node/system.
The methodology is based on Bitcoins, but it's still in active development and should not be used in production.
There's no unit tests, but the code is entirely linted following the AirBNB JavaScript style guide.
$ cd blockchain
$ yarn
To run the CLI (master node)
$ node dev/node.js
To run some nodes for your own local network
$ npm run dev-network
View blockchain
View last block
View pending transactions
Mine
Connect to a network
Consensus
Create transaction
Node address
Network nodes
Create transaction
Join network
- Shouldn't be able to mine block without pending transactions
- Validate currency
- Increased difficulty/reward after X transactions
- Implement transaction feels
- Implement the HashCash POW algorithm
- Lots more!