Skip to content
Lottery app that registers a manager, players, and funds to be contributed and won.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
package.json
yarn.lock

README.md

Lottery-React

Function :

Lottery app that registers a manager, players, and funds to be contributed and won.

Built with MetaMask, the Rinkeby test network, Remix and Infura.

The smart contract logic resides in Lottery.sol (https://github.com/prateeksawhney97/Lottery-Smart-Contract-Ethereum) and this repository contains the front-end page built with create-react-app.

How it works :

To take part in the lottery every user needs to send some amount of money(which cannot be less than 0.01 ETH for each user). After some people have entered the contract a "third-party"(manager of the contract) will tell the contract to pick a winner, beware that he does not pick the winner itself, the contract does that. After it picks the winner, the contract sends him the full price and resets; to continue for other players that want to play.

Screenshots :

screenshot from 2018-10-23 12-17-30 screenshot from 2018-10-23 12-20-24 screenshot from 2018-10-23 12-49-28 screenshot from 2018-10-23 12-49-34

You can’t perform that action at this time.