Skip to content

NodeJs-Developments/Node.js-API-Ethereum-Blockchain

Repository files navigation

A Node.js API For Ethereum Blockchain

Things I've learned while building this

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

Running the APP locally

Prerequisites

  1. NodeJS: Please install NodeJS >= 10.15.0. If you already have it, you're good to go.

  2. Yarn: Visit Yarn download page. Select your Operating system and follow the instructions.

Once you have the Prerequisites covered:

  1. Clone this repository from GitHub onto your local computer.
git clone https://github.com/NodeJs-Developments/Node.js-API-Ethereum-Blockchain.git
  1. Navigate into the project folder and install all of its necessary dependencies with Yarn.
npm install
npm install ganache-cli -g
  1. Start the server and we have to initialize Truffle
npm start
truffle init
ganache-cli
truffle compile
truffle migrate
truffle test

Visit my portfolio

Anil Patidar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors