Skip to content

Atharva-Vijay-Khade/Lottery_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Lottery System

A blockchain based decentralized lottery system. The smart contract is deployed over Ethereum's Rinkeby Test Network.

The project is currently deployed on heroku. View Deployment ⇉

screenshot for home screen

Need for decentralization

  • A centralized lottery system has a central authority.
  • The central authority has the overall access to collect the amount and draw the winner.
  • They can manipulate and can also be biased in picking winner.
  • Also, centralized lottery will have a single point of failure.

📝 About the project

  • A decentralized lottery system disperses power.
  • No authority has any control over the amount, the smart contract's address will hold the entire amount.
  • The Winner will be picked by the deployer of the contract called as the manager.
  • The Winner will be decided by the random function which is cryptographically hashed and is almost impossible to predict.

Prerequisites

  • Get Metamask wallet for your device from here.
  • Get free test ethers from the Rinkeby's Testnet faucet.
  • Open the project and connect your wallet if prompted.

Steps to participate

  • After connecting your Metamask wallet, just click on the play button below
  • You will be prompted by the Metamask to confirm your transaction. screenshot for metamask popup confirmation
  • After a successfull transaction, you'll be added to the lottery and you can see your public address under participants list.