Simple Typescript writen blockchain script.
- git clone this
- cd simple-typescript-blockchain
npm run build
npm link
chain [size]
This only takes one param wich is an integer. This integer will be used as the size of the blockchain.
Important: The genesis block will be mined every time. So the final items count in the array will be size + 1