About:
A simple encryption based blockchain with the abilities to create new blocks and transactions. Miners can add confirm/add new blocks to the blockchain.
Developed in NodeJS.
Highlight of main packages: nodeman: application server/for running the application jest: for tests express : for APIs crypto-js: for encryption
How to setup:
- Run: npm install : to install dependencies
- Run: node app/index.js : to fire up the main server file
- Consume the APIs using routes used in the app/indes.js file
NB:
You can change the:
DIFFICULTY, MINE_RATE, INITIAL_BALANCE, MINING_REWARD in the config.js file
P2P_PORT and PEERS in your node's environment variables(check P2P_PORT and PEERS in app/p2p-server.js)
Happy coding!