Provably Fair Giveaways Explained — Ori Discord Bot
How do provably fair giveaways work?
Section titled “How do provably fair giveaways work?”Imagine the host writes the winning lottery number on a piece of paper, seals it in an envelope, and shows everyone the sealed envelope before anyone buys a ticket. After all tickets are sold, the envelope is opened. Everyone can verify the number was chosen before entries began.
That’s what Ori does, except the envelope is math.
The process
Section titled “The process”Before entries open
Section titled “Before entries open”- Ori picks a secret code (called a “seed”) — a long random string
- Ori creates a fingerprint of that code using a one-way math function (a hash)
- The fingerprint is published on the giveaway page for everyone to see
The fingerprint is public, but you can’t reverse-engineer the original code from it. That’s the point — it proves the code existed without revealing it.
During the giveaway
Section titled “During the giveaway”- Members enter normally by clicking the Enter button
- Each entry is recorded with a position number
- The secret code stays hidden the entire time
After entries close
Section titled “After entries close”- Ori reveals the original secret code
- Anyone can verify: does the code’s fingerprint match what was published at the start? If yes, the code hasn’t been changed.
- The winner is calculated from the code + the entry list using a formula that always gives the same answer for the same inputs
Why this is fair
Section titled “Why this is fair”- The secret code was locked before any entries. The admin can’t change it after seeing who entered.
- The entry list is public. Everyone can see who entered and in what order.
- The formula is deterministic. Given the same code and the same entry list, it always picks the same winner.
- Anyone can verify the result themselves. The giveaway page re-runs the entire calculation in your browser.
There’s no room for manipulation. The code was committed. The entries are recorded. The math is open.
How to verify a giveaway result
Section titled “How to verify a giveaway result”- Go to the giveaway page (the link is on the Discord message, e.g.,
g-abc123.ori.gives) - After the draw, the page shows the revealed seed and a Verify link
- Click Verify — the page re-computes the entire draw in your browser
- It checks: does the seed’s fingerprint match the one published at the start?
- It re-runs the winner selection formula
- If everything matches, the draw was fair
You don’t need to trust anyone. You can check the math yourself.
What if someone says the giveaway was rigged?
Section titled “What if someone says the giveaway was rigged?”Send them the verification page. It does the full computation right in their browser — they can see every step. That usually ends the conversation.
Technical details
Section titled “Technical details”For those who want the specifics:
- The seed is a cryptographically random string generated when the giveaway is created
- The fingerprint is a SHA-256 hash of the seed
- Winner selection uses a seeded random number generator — the seed determines the output deterministically
- The verification page runs the same algorithm client-side so anyone can independently confirm the result
This is the same commit-reveal scheme used in blockchain systems and online casinos. The math is well-established and publicly auditable.
Frequently asked questions
Section titled “Frequently asked questions”Can the server admin change the seed after seeing entries? No. The fingerprint (hash) of the seed is published before entries open. Changing the seed would produce a different fingerprint, and the verification would fail.
Can Ori itself manipulate the result? The seed is committed before entries open and the verification is client-side. Anyone can independently verify the math. If the numbers don’t add up, it’s visible to everyone.
Is this the same as how online casinos prove fairness? Yes. It’s the same commit-reveal cryptographic pattern used by provably fair gambling systems.
Do I need to understand cryptography to verify? No. Click the Verify link on the giveaway page. It does the math for you and shows whether the result is valid.