A blockchain example built with Typescript and Node.js, taking inspiration from this article.
You need to install Node and node package manager (npm). You can get everything from here.
Clone this repository. You can checkout the project directly from GitHub or open a terminal window and run git clone https://github.com/mdepasquale21/blockchain/.
Open the folder or run cd blockchain if on the terminal.
Run npm install to install all dependencies.
Run package.json script run or run the command npm run run on a terminal. The program will start its execution.
Have a look at printed blockchain data in src/blockchain.json!
git clone https://github.com/mdepasquale21/blockchain/
cd blockchain
npm install
npm run run