Skip to content

jian7061/lottery-contract

Repository files navigation

Lottery

Solidity contract for Lottery that allows users to part in

Rule

You are able to join the lottery with paying 100 dai for each round. Limitless players can join and play each round which lasts for just 24 hours. As 24 hours has passed, admin would reveal a random number and pick a winner. Withdraw the prize anytime after the round ends.

Features

  • Join the game
  • Admin not allowed to play part in lottery
  • Generates Random Number
  • Picks Winner by admin
  • play next round as a winner is picked
  • send the Winner the Prize

About

No description, website, or topics provided.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published