How we pick winners (and how you can check)
Short version: Prizzly is a provably fair lottery. We freeze the list first, then use a random number that didn’t exist yet. The result is stored permanently and you can recompute it yourself.
The order of events
- Sales close the moment the trigger is met (or at the deadline). No ticket can be added or removed after this. For an Open Pot, the prize is fixed at this moment by the locked formula.
- The list is frozen. All ticket IDs are sorted and published, together with their SHA-256 fingerprint. Ticket IDs are random codes; names and wallets are never published.
- We commit to a future random number: a specific round of drand “quicknet”, about a minute ahead. drand is run by the League of Entropy, a group of independent organisations; each round is threshold-signed (BLS), so no single member can predict or bias it.
- The round is published, and our server checks its signature before using it.
- Winners, then reserves, are computed and recorded. The database refuses edits or deletions of frozen lists and results. There is no re-roll button, for staff or anyone else.
The algorithm (prizzly-draw-v1)
entries = ticket IDs sorted by plain character code
entriesHash = SHA-256(entries joined with "\n")
seed = SHA-256("prizzly-draw-v1|" + drawSlug + "|" + entriesHash + "|" + randomness)
for rank r = 1 .. (number of prizes + number of reserve tickets):
c = 0
repeat:
h = SHA-256(seed + "|" + r + "|" + c) read as a 256-bit number
c = c + 1
until h < floor(2^256 / n) * n (no modulo bias)
pick = pool[h mod n]; remove it from pool; n = n - 1
ranks 1..k are the winners, the following ranks are the reserves, in order
The same code runs on our server and in your browser (view the source). drand randomness is the SHA-256 of the round’s signature, which the verifier also checks.
Check it by hand
You need three things from the result page: the entry list (download link), the drand round number, and the draw’s URL name. Get the round from any relay, for example https://api.drand.sh/52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971/public/ROUND, then run the algorithm above in any language.
What runs on-chain, and what Prizzly runs
| On a public blockchain or network | Run by Prizzly (and checkable) |
|---|---|
| Payments in and out: USDC on Base, visible on the block explorer. | Your Prizzly balance, tickets and the double-entry ledger, reconciled against the chain (proof of funds). |
| The random number: drand, run by independent organisations, signed and public. | The draw itself: our server freezes the list and runs the published algorithm. You can re-run it in your browser. |
| Payments from a connected wallet and conversions (Uniswap on Base). | Prizes, held for winners until they verify their identity, and refunds into your balance. |
| Nothing else. There is no smart contract holding the prize pool. | Points and rewards (off-chain), identity checks and country rules. |
So “Web3” at Prizzly means crypto payments and public randomness you can verify; custody of balances and prizes is ours, and we publish how we account for it.
What we can and can’t do
- We can’t choose the winner, see the random number early, or redraw.
- We can’t secretly add tickets after the freeze: the fingerprint would change, and you can check your own ticket is on the list.
- If a winner is ineligible, we can’t pick someone we like: the prize goes to the next published reserve ticket, and the prize history on the draw page shows it.
- We can cancel a draw before it freezes (for example during an incident), and then everyone is refunded in full. Cancellations are shown publicly.