Fair draws
Winners picked by a Midnight block nobody can know in advance, and a public page where anyone can rerun the draw.

When more people want a spot than you have, a draw is fairer than first come: it doesn't reward whoever refreshes fastest, and nobody, you included, can pick the winners.
Set it up
Choose Fair draw
Fair draw with a number of winners on New form, or Settings → Spots → Fair draw, then the number of Winners (1 to 10,000).
Set a closing time
Settings → When it's open → Closes. A draw needs one; it happens right after the form closes. New form sets it for you: the day before the event, or a week out for a form.
Publish
The closing time is sealed in the form's contract, and Mitome won't change the number of winners once anyone has entered; the sealed result commits to it. Either change would let you redraw.
How the winners are picked
| Step | What happens |
|---|---|
| Entries close | No more entries can be recorded on Midnight after the closing time. |
| The dice roll | The first Midnight block made at least a minute after closing. Nobody knows its hash in advance, Mitome included. |
| Ticket numbers | Each entry's number is a SHA-256 hash of that block and the entry. The lowest numbers win. |
| Drawn | Mitome's server notices the block (it looks every 20 seconds) and works out the winners. |
| Sealed | A team member's browser signs the result's fingerprint with the workspace key (the owner key in the contract) and records it in the contract (recordDraw). After that it can't be redone. |
The result is sealed the first time someone on your team opens the form's Responses tab after the draw, or with Seal on Midnight. Until then the public page says it's waiting for the organiser to seal it.
What people see



Each receipt shows You're in the draw (with Add to calendar for the draw time and Tell me when it's drawn, sent once your team has sealed the draw), then You won or Not this time. Winners with tickets get theirs on the same receipt.
Anyone can check it
Every published form has a public entries page at /f/<link>/entries, no account needed. For a draw it shows the timeline (entries open, the dice roll, sealed on Midnight), the winners, and Check it yourself:

| Check | What your browser confirms |
|---|---|
| The dice roll | The block used is the first one a minute after closing. |
| The entries | The number of entries matches the receipts in the form's contract, and the rerun uses those receipts. |
| The winners | Rerunning the rule on that block gives the same winners. |
| The seal | The fingerprint sealed on Midnight matches this result. |
The page also shows updates you post (see Updates) and has Share entries. How the rule and the seal work on chain: Midnight → The fair draw.