Skip to the notes
Wager Field NotesIndependent notebook · unofficial · not run by Stake
Sign up at Stake
Menu

Note 06 · Fairness

Stake provably fair: check a Plinko, Dice or Limbo result byte by byte

The in-house games publish their random-number recipe, so a finished bet can be recomputed by anyone. This checker does it in your browser and prints every intermediate step, so the origin of the result is on screen instead of hidden behind a green tick.

Two dice, a notebook and a pencil on a rock beside a canvas bag, lamp-lit
Taking these notes to Stake?Code for this notebook: WgvzCi4z · Any offer you meet there is the operator’s own, run under its current terms.
Go to Stake

The recipe in four steps

  1. Commit. Before you bet you see only a hash of the house’s seed, and you are free to set your own client seed.
  2. Bytes. For each bet, HMAC-SHA256 is run with the server seed as the key and client seed:nonce:round as the message. Each run gives 32 bytes; round 1, 2 and so on are only needed when a game uses more than eight numbers.
  3. Floats. Each group of four bytes is folded into a fraction from 0 up to 1: the first byte over 256, plus the second over 256², and so on.
  4. Game event. Each game turns floats into its own outcome. Plinko uses one float per row and goes right when the float is 0.5 or more.
“For each verifiable bet, a client seed, a server seed, a nonce and a cursor are used as the input parameters for the random number generation function. This function utilises the cryptographic hash function HMAC_SHA256 to generate bytes”
Source: stake.com · implementation (archived copy 2026-09-26) · read 2026-11-18
“Each set of 4 bytes are used to generate floats between 0 and 1 (4 bytes are used instead of one to ensure a higher level of precision when generating the float.)”
Source: stake.com · conversions (archived copy 2025-10-14) · read 2026-11-18
“Players can choose between 8 and 16 pins of play, which determines the number of game events required to generate a complete path from top to bottom. Since there are only two possible directions (left or right) the translation is done by multiplying each float by 2”
Source: stake.com · game events (archived copy 2025-07-19) · read 2026-11-18

A worked example, start to finish

These seeds are made up for this page (the server seed is the SHA-256 of a sentence of ours), so you can follow the arithmetic without an account. They are pre-filled in the checker below. Every number shown here is worked out from them when the site is built, with the same code the checker runs.

Example inputs
Server seed9966316dc8d9692e120ec7272245227a5182c3037924a47505880bdf04180b03
Its SHA-256 (the hash shown before betting)f5c9509209b88c1fbc5ab187c9c89a2185f33df23cc35dbfbf10718df550ff89
Client seed · noncefieldnotes-01 · 7

Round 0 gives 32 bytes, beginning 29 a7 84 81. As decimals those are 41, 167, 132 and 129, so the first float is:

41/256 + 167/256² + 132/256³ + 129/256⁴ = 0.1627123656

Plinko with 16 rows needs 16 floats, which is 64 bytes, so it takes rounds 0 and 1. The 16 floats give the path L R R R L R L L L L R R L L L L: 6 rights, so the ball lands in slot 6 counting from the left edge at 0. The same first float would make a Dice roll of 16.27 or a Limbo result of 6.08×.

Two rounds for Plinko is the operator's own count.
“Plinko (2 increments per game to cover possible 16 decisions)”
Source: stake.com · implementation (archived copy 2026-09-26) · read 2026-11-18

Worksheet: recompute one result

Web Crypto in your browser · nothing is sent

Dice and Limbo, briefly

Both need a single float. Dice multiplies it by 10,001 and divides by 100, which spreads results over 0.00 to 100.00. Limbo divides one by the float and scales by 0.99 in the published snippet, then rounds down to two decimals with a floor of 1×. The checker shows Dice cut, not rounded, to two decimals; if the game screen ever shows a value one hundredth higher, that rounding step is the place to look.

“In our version of dice, we cover a possible roll spread of 00.00 to 100.00, which has a range of 10,001 possible outcomes.”
Source: stake.com · game events (archived copy 2025-07-19) · read 2026-11-18
“const floatPoint = 1e8 / (float * 1e8) * houseEdge;”
Source: stake.com · game events (archived copy 2025-07-19) · read 2026-11-18

Limits of the check

  • It covers the operator’s own in-house titles, which is where the provably-fair pages apply.
  • It proves the outcome was fixed by seeds committed in advance. It says nothing about the payout table.
  • The algorithm pages we used are archived copies; if the live pages change, recheck there.
“The underlying concept of provable fairness is that players have the ability to prove and verify that their results are fair and unmanipulated.”
Source: stake.com · overview · read 2026-10-14
“To reveal the server seed from its hashed version, the seed must be rotated by the player, which triggers the replacement with a newly generated one.”
Source: stake.com · implementation (archived copy 2026-09-26) · read 2026-11-18

Related notes

  • Note 07: VIP & rakeback — the 15 thresholds turned into expected house take, and a rakeback calculator
  • Note 01: Review — a scorecard of 14 questions, each answered from the operator's own page or marked 'not published', with a chart of the split
  • Note 08: Limits & exclusion — a cooling-off clock that shows when a change takes effect

Open an account with this notebook’s code

These notes cover one operator and this site is no part of it. An account opened from the orange button is credited to the notebook’s code, WgvzCi4z, and that earns the publisher a fee. Adults only (18+). Money put on a bet may not come back, and nothing in this notebook predicts a profit.