Stake Toolkit Sign up
Guide

Provably fair, explained: how to verify a Stake bet

Stake Originals don't ask you to trust the result: each one is computed from seeds you can check afterwards. This is how it works, and how to verify a bet in a minute.

What provably fair means

In a provably fair game the casino commits to the result before you bet, in a way that it can't change later and that you can check yourself. It is the digital version of a dealer sealing a card in an envelope before the hand: you can't see it yet, but you can prove afterwards that it wasn't swapped.

The three ingredients

How a result is computed

For every bet the three values go through HMAC-SHA256, a standard cryptographic function:

HMAC-SHA256(server seed, "client seed:nonce:round")

The output is 32 bytes. Every 4 bytes become a number between 0 and 1, and each game turns those numbers into its result:

The same inputs always give the same output. That is the whole point: anyone can repeat the calculation.

How to verify a bet, step by step

  1. Open Fairness. In any Stake Originals game open Fairness: it shows your client seed, the hash of the active server seed and the nonce.
  2. Rotate your seeds. The active server seed is hidden. Rotating the seed pair reveals it and starts a new one for your next bets.
  3. Find the bet. In My Bets open the bet you want to check: its details show the client seed and the nonce it used.
  4. Recompute it. Paste server seed, client seed and nonce in the bet verifier. If the result matches your bet, it wasn't altered.
  5. Check the hash. The SHA-256 of the revealed server seed must equal the hash Stake showed before you played. The verifier computes it for you.

What it proves, and what it doesn't

It proves that the result was fixed before your bet and wasn't changed because of how much you bet or what you picked. It doesn't remove the house edge: a fair roll of Dice still returns 99% on average. And it doesn't help anyone predict results, because the server seed stays secret until its bets are over. You can see the odds at work with play money in the Dice, Mines and Plinko demos.

Questions and answers

Why can't I see the server seed straight away?

Because with the server seed, your client seed and the next nonce anyone could compute the next results. Stake shows only its hash until you rotate to a new seed pair; then the old seed is revealed and you can check every bet made with it.

Do I have to verify every bet?

No. The value is that you can check any bet at any time: a casino that altered results would be caught by the first player who looked. Spot checks are enough.

Can a predictor use provably fair to know the next result?

No. The calculation needs the server seed, which is secret while it is in use. Tools that claim to predict Dice, Mines or Plinko are scams.

Which games can I verify?

Stake Originals. Our verifier covers Dice, Limbo, Mines, Plinko, Keno, Roulette and the card games (HiLo, Blackjack, Baccarat). Slots and live tables from other providers are not part of this system.