# Provably Fair

Source: https://www.superstake.fun/docs/provably-fair

> How every Superstake round is fixed before you bet and how to check a round yourself.

We don't expect you to trust us. We give you the tools to **check the games you play.** In normal operation, every outcome comes from **on-chain randomness (RANDAO)**, the newest block when you press play, plus a secret we commit to beforehand, so neither you nor Superstake can steer it.

(Diagram: Provably fair flow: Commit, Play, Reveal, Verify)

1. **Commit (before the game).** Superstake publishes a hash of the seed. It is locked in, hidden, and unchangeable once you start.
2. **Play.** Before you start, you can check the block your randomness came from and cancel if it's wrong. The outcome was fixed before you moved, so your play can't change it.
3. **Reveal (after the game).** The hidden seed is revealed.
4. **Verify (anytime).** Re-compute the hashes and confirm the seed came from public blockchain randomness and matches what was committed.

The seed itself combines the blockchain's RANDAO value with your secret per-game **Proof Game ID**. Your wallet shows its commitment as the **Proof Game ID Hash**: because the hash is published before you play, nobody — you or Superstake — can shop around for an ID that produces a favorable seed, and after the game you can check the revealed ID against it. See **[why the hash is necessary](https://www.superstake.fun/docs/zk-verify#why-the-proof-game-id-hash-is-necessary)**.

A **zero-knowledge (ZK) proof** additionally proves the seed was correctly derived from RANDAO _without revealing the secret seed during play._ For the full math, circuits, and a step-by-step verification guide, see **[Provably Fair & ZK Proofs](https://www.superstake.fun/docs/zk-verify)**.
