Skip to content

Smart contracts-based lottery in Solidity with Mocha testing

Notifications You must be signed in to change notification settings

athriks/ethereum-lottery

 
 

Repository files navigation

Ethereum-based lottery

Simple app featuring solidity smart contracts and mocha testing, with thanks to Stephen Grider's excellent course at Udemy.

Lottery app that registers a manager, players, and funds to be contributed and won. MetaMask, the Rinkeby test network, Remix, Infura and Etherscan.

The smart contact logic resides in Lottery.sol and the lottery-react folder contains the React front end.

alt text

To download and run locally, clone this repo and copy and paste the Lottery.sol into the playground at https://remix.ethereum.org.

You'll need to set up a MetaMask account and get some (free) test funds from http://faucet.rinkeby.io/.

About

Smart contracts-based lottery in Solidity with Mocha testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.4%
  • HTML 13.1%
  • CSS 3.5%