In this project we are going to develop a Blockchain using NodeJS, ExpressJS & ReactJS
Enverionmnet Setup
Make sure you have installed Node in your machine, if you don't have node first download from the official website of Node.
If you already installed node then we are installing a library for testing jest
. For installing jest run this command in your terminal.
npm i jest
- Created Block.js for define block method and block.test.js for testing.
- Create a construct method.
- Create addBlock method.