Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.04 KB

blockchain

A blockchain example built with Typescript and Node.js, taking inspiration from this article.

Getting started

1. Install Node.js:

You need to install Node and node package manager (npm). You can get everything from here.

2. Clone repository:

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/.

3. Access the project folder:

Open the folder or run cd blockchain if on the terminal.

4. Install dependencies:

Run npm install to install all dependencies.

5. Run the program:

Run package.json script run or run the command npm run run on a terminal. The program will start its execution.

6. See results:

Have a look at printed blockchain data in src/blockchain.json!

Summary

git clone https://github.com/mdepasquale21/blockchain/
cd blockchain
npm install
npm run run