Draw Algorithm
LE59 Luck uses a commit-and-reveal scheme so the randomness of a draw can be verified independently by anyone.
The Commit-and-Reveal Flow
- Before the draw, the system generates a random seed and publishes its SHA-256 commitment hash in advance, together with the frozen snapshot and rules.
- At draw time, the system reveals the random seed.
- Anyone can recompute the SHA-256 of the revealed seed and confirm it matches the commitment, proving the seed was not swapped before the draw.
- The result hash is computed from the draw context and the revealed seed, tying the winners to the seed and the frozen list snapshot.
Multi-Prize Tiers and Supplementary Draws
- When prizes are drawn in multiple batches, each batch is an independent event with its own seed, commitment hash and result hash.
- A supplementary draw is also an independent event that keeps the original winners and the reason, without overwriting them.
Public Verification
Anyone can verify a draw through the public verification entry /public/results/:publicID/verify.
An Honest Boundary
We guarantee the randomness is verifiable: anyone can recheck the relationship between the seed, the commitment hash and the result hashes. But the tool does not judge whether an activity's rules are reasonable — prize structure, eligibility and rule interpretation remain the organizer's responsibility.