Skip to content

a react application interacting with Lottery smart contract (https://rinkeby.etherscan.io/address/0x33a8cabFE581783e7A074D6c35b36d449F20D33E), allowing users takes part in a lottery and having a chance to win some amount of Ethers

Notifications You must be signed in to change notification settings

thanhnguyennguyen/lottery-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrutinizer Build Status Scrutinizer Build Status

Scrutinizer Code Quality Scrutinizer Code Quality

Travis_Build_Status Travis_Build_Status

Deploy to Docker Cloud

Decentralized lottery application based on Ethereum platform

Setup

npm install

Start application

npm start

Testing

npm test

Dockerization

If you want to use docker, please pull the docker image

  • docker pull nguyennguyen/lottery-react-app
  • docker run -it nguyennguyen/lottery-react-app bash

Smart Contract

Document

Open Lottery.xml in [https://draw.io]https://draw.io to deeply understand business of this application

  • Contributioncontribution
  • Manager picks a winner and reset game request
  • Smart contract sends reward to a winner reward
  • UI UI