sample blockchain in javascript languages
- Setup environment Install Nodejs(latest version preferrablly) Initialize Nodejs runtime (npm init) Install SHA256 module (npm install sha256)
- Block data structure: The focus is on building blosks with a set characteristis
- Blockchain Object: We create a Constructor Create new Block Get latest Block Make new Transaction Hash Block Proof of Work
- Run Blockchain: run the block in the cmd prompt with node test/blockchain.js