- Building the blockchain class with its required functionality.
- Accessing the blockchain with express API.
- Creating a decentralized blockchain network.
- Synchronizing the entire network.
- Create Consensus.
- Building Block Explorer (UI tool to view blockchain data) etc..
-
NodeJS: Please install NodeJS >= 10.15.0. If you already have it, you're good to go.
-
Yarn: Visit Yarn download page. Select your Operating system and follow the instructions.
Once you have the Prerequisites covered:
- Clone this repository from GitHub onto your local computer.
git clone https://github.com/NodeJs-Developments/Node.js-API-Ethereum-Blockchain.git- Navigate into the project folder and install all of its necessary dependencies with Yarn.
npm install
npm install ganache-cli -g
- Start the server and we have to initialize Truffle
npm start
truffle init
ganache-cli
truffle compile
truffle migrate
truffle test