Skip to content

rishank-shah/cryptocurrency

Repository files navigation

CryptoCurrency

This project is made using Node.js for backend , React.js for frontend and redis for sync of chains.

Key features:

  • Sync of blockchain to peers on connect and on new mined block
  • Sync of transaction pool
  • Proof of work. The difficulty adjusts itself to make average mined block time 2000ms
  • Mining reward
  • Wallets to conduct transactions

To run this project first start redis server then:

https://github.com/rishank-shah/cryptocurrency.git
cd cryptocurrency
npm install
cp .env.example .env

Now fill the .env file

To run project (dev mode)

npm run dev

To run project

npm run start

To run all tests

npm run test

Api Endpoints:

GET

POST