Fair draws · LESSON 6
Try a fair draw
Put it all together for a real draw! Seal → worldwide random → draw → verify, and even get caught tampering yourself.
1Prepare draw data
2Seal & reserve round
3Run the draw
4Verify
Step 1 · Prepare
Prepare draw data
Draw settings
Rank / prize / group and count
Entrant info
Step 2 · Seal · DRAND
Seal, then fetch the future-round number
First the draw data is sealed, locking the entrant list and settings so they can't be changed. Then, rather than fetching a number now, we commit to a future round that has not arrived and register the seal hashes and reserved round in the draw ledger before the number is fetched. That way nobody can know the result in advance — or swap it later.
1Seal draw data · check current round
2Reserve future round (current +2)
3Register to the ledger
Log the seal hash and the future round to use first. (Before fetching the number!)
4Fetch the future-round number
5Make the draw seed
Convert the first 16 hex digits of the fetched number to decimal and use it as the draw seed.
No number fetched yet.
