/Decentralized-Lottery-Application

This is a lottery application where participants can buy tickets by paying some ether and after conducting the lottery the winner will be selected randomly and the whole amount stored from all the participants will transferred to the winner's wallet.

Primary LanguageSolidity

Decentralized-Lottery-Application

This is a lottery application where participants can buy tickets by paying some ether and after conducting the lottery the winner will be selected randomly and the whole amount stored from all the participants will transferred to the winner's wallet.

Points to note:

  1. Participants must have a wallet
  2. Minimum 3 participants should be there.
  3. A participant can transfer ether more than one time but the transferred ether must be 0.1 ether minimum.
  4. As the participant will transfer ether its address will be registered.
  5. Manager will have full control over the lottery.
  6. The contract will be reset once a round is completed.