Skip to content

phella/cryptocurrency

Repository files navigation

cryptocurrency

cryptocurrency project implemented in node.js using blockchain technology

Build Status

Build Status

Coverage Status

How to run project

Recommneded using Docker

Make sure that docker is installed and running using

docker version
Command Description
docker-compose up --build To build and run the project and redis server
docker build -t philo/cryptocurrency -f Dockerfile.dev . To build development image
docker run philo/cryptocurrency npm run test:coveralls To run the test cases and export coverage report

Using Npm

Make sure that npm and redis are installed and running using

npm version
redis-cli ping

then run

npm install
npm start

API

Method Url Description
get /api/blocks Return blockchain
post /api/mine Mine new Block
post /api/transact Generate new Transactions
get /api/transaction-pool-map Return all transactions
post /api/mine-transactions Mine Block for new transactions
get /api/wallet-info to return my wallet balance

About

cryptocurrency project implemented in node.js using blockchain technology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors