The problem it solves
In an online game the result is produced on a server the player cannot see. The player has to trust that the server did not pick the result after seeing the bet. Provably fair replaces that trust with a check anyone can run.
How it works, step by step
- Commitment. Before the bet, the server chooses a secret value, the server seed, and shows the player its hash: a fingerprint that reveals nothing about the secret but cannot be faked afterwards.
- Player input. The player's side provides a value of its own, the client seed, which the server cannot predict.
- The round. The result is computed from the server seed, the client seed and a counter that increases with each bet, called the nonce.
- Reveal. Later, the server reveals the server seed.
- Verification. The player checks that the revealed seed matches the fingerprint shown at the start, then recomputes the results.
Why it holds
| Property | What guarantees it |
|---|---|
| The server cannot change its seed afterwards | The fingerprint was published first |
| The server cannot choose a seed that beats the player | It does not know the client seed in advance |
| The player cannot predict the result | The server seed stays secret until revealed |
| Anyone can check | The calculation is public |
What it proves, and what it does not
- It proves that a given result came from values fixed before the bet.
- It does not prove that the game's rules are generous. A game can be provably fair and have a high house edge. The return to player is a separate matter: see what RTP is in slots.
- It does not replace the certification required in regulated markets. See casino game testing and certification.
Provably fair and certification, side by side
| Provably fair | Laboratory certification | |
|---|---|---|
| Who checks | The player, round by round | An accredited lab, before release |
| What is checked | That a result was not tampered with | The generator, the math and the rules |
| Where it is common | Crypto casinos and instant games | Regulated markets |
Where it came from
The method spread with cryptocurrency gambling sites, where players and operators often had no regulator between them. It is most visible on simple games, dice, crash, mines, plinko, where one number decides the round.
For slots
A slot result is richer than a single number, but the principle carries over when the game is built from outcomes fixed in advance: the verifiable value selects which outcome is played. This is one reason some platforms require every outcome of a game to exist before launch. See the Stake Engine Math SDK explained.
For a game creator
You do not implement the scheme yourself: the platform that hosts the game provides it. Your part is a game whose results can be replayed exactly from recorded data. For the generator behind the results, read what an RNG is in casino games.
Building a game for a provably fair platform?
Art, animation and code from one team. Custom slots from €4,000.
Get a quote