The draw
After the last window closes, up to 10 wallets are picked from everyone who claimed a gift. Each claimed window is one entry, so a wallet that claimed more windows has more entries. A wallet can win once.
This page only shows the draw; it sends no transactions. The draw contract picks the winners from a public random number that nobody can choose: the drand network publishes it, and many independent organisations run that network together. Anyone can recompute the result.
How the draw works
- Each claim adds one entry to a list in the calendar contract: the wallet that claimed.
- When the calendar was deployed, its contract fixed one future round of the drand randomness beacon (evmnet). Nobody can choose that round’s value: the drand network, which many independent organisations run together, publishes it at a fixed time.
- After the draw time, the organiser fetches that round’s signature from a drand relay and sends it to the draw contract; anyone else may send it too. The contract checks the signature and accepts no other value, so the winners are the same whoever sends it.
- The contract turns the signature into a seed and picks entries from it until 10 different wallets have won, or every wallet if fewer than 10 claimed. Anyone can recompute this from public data; the steps are under "Check it yourself".
Reading the calendar from Pharos Atlantic Testnet…