This is full stack web application depicting the decentralized blockchain network involving a hypothetical cryptocurrency "CryptoChain" coin for transactions. This applications has following features:
- Genesis block for initiation of blockchain
- Mining of blocks
- Transaction pool for unmined blocks
- Details of each block in blockchain
- Blockchain history
- Starting different node peers and connecting them to blockchain
- Frontend:
React - Backend:
Express.js - Testing:
Jest - Runtime Environment:
Node.js - Database:
Redis
- Node.js. Refer to this documentation for instructions.
- Redis. Refer to this documentation for instructions.
- Linux environment or WSL (for windows) for smooth installation on localhost
-
Clone the project from Github.
git clone https://github.com/naveen-ku/cryptochain.git
-
In the
root directorytype the following command to download dependencies:npm install
-
After this start the project on root node (i.e. PORT 3000) by using following command:
npm run dev
-
To start different peers/nodes in the network, enter following command terminal & the server is started on a random PORT which can be noted from the terminal stating
listening on PORT:3XXXnpm run dev-peer





