Skip to content

jshacks/blockchain-Lottery-backend

Repository files navigation

blockchain-Lottery-backend

What you need to run it:

  • node.js
  • testrpc
  • truffle

How to run:

  • Run testrpc to simulate ethereum
  • Deploy truffle
  • Run :
sudo npm install -g ethereumjs-testrpc # for installing testrpc
cd blockchain-Lottery-backend
node app.js

Routes:

  • /lastWinner returns the wallet of the lotto winner
  • /participantsCount returns the number of people participating

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •