Skip to main content
Audits
LIQD.com/Dice
LIQD: Dice Audit

Dice

Certified · Active

Independent verification, backed by open-source code.

PF-2026-LQ04Audited November 2026 · Framework 1.1 · Release v1.3.0November 2026 · Framework 1.1 · v1.3.0
AUDIT RESULTPassedPassed 22/22 · Hard fails 0 · Flags 0VERDICT: PROVABLY FAIR — Full Pass, as printed by npm test.
Live Bets Verified
5,936
Parity Rate
100%
Simulated Rounds
98M
Average RTP 99.0203% across 98 million simulated bets
Proven RTP
99.0000%
Before payout rounding, at every win chance in every mode
22 / 22Verification steps passed

Verification pipeline

Real bets. Independently reproduced.

Placed anonymously at LIQD.com. We rebuilt the game logic from scratch and matched all 5,936 recorded outcomes.

LIQD DICE$0.10 · Under 2.00
Bet #4keayz_WtnQF2rRy9bYElNonce 0 · Phase D
100 real bets · Phase DBet 1 of 100
✓ Exact match
89.93

The casino result, reproduced.

Casino outcome
89.93 · Loss
Our reproduction
89.93 · Loss
Recorded payout
$0.0000
Open source

Run this audit yourself

Open GitHub ↗

The repo is the credential. The public repository reproduces the offline audit suite against all 5,936 captured bets and the committed simulation results: npm test, or node test.js && node verify.js with nothing to install. Run npm run test:full to regenerate the simulation. Section 5’s live-service integrity tests are documented separately.

npm testCopy includes clone & installView reproduction commands ↓
Dice Audit Overview

This audit independently checks the Dice game on LIQD under the ProvablyFair.org Audit Framework 1.1. We placed 5,936 real bets on liqd.com from 7 to 10 November 2026, from an anonymous account we opened and funded ourselves, in every mode and at two stake sizes, with client seeds of our own. Then we recomputed every roll, every win or loss and every payout with our own implementation of the game’s algorithm, and LIQD’s own verifier agreed on every round.

Results at a glance

Audit Verdict

CheckResultEvidence
Overall StatusPassPROVABLY FAIR — Full Pass. All 22 checks passed with no hard fails, and all 5,936 live bets recompute exactly from their revealed seeds.
RTP VerifiedPassProven RTP of 99.0000% before payout rounding, at every win chance in every mode, so LIQD’s published 99% holds everywhere. Across the captured stake and band combinations, RTP after payout rounding ranges from 98.999992% to 99%.
Live ↔︎ Verifier ParityPass100%. Our own implementation reproduced all 5,936 bets exactly, every roll and every win or loss, and LIQD’s own verifier returned the same result for every round.
Commit-Reveal SystemPassAll 34 revealed server seeds match their published hashes, and every new seed matched the hash announced for it in advance. Our capture records show each hash was published before its bets.
Client SeedPassPlayer-controlled. Every seed pair ran under a client seed we set, five of them set as a player, and changing the client seed changes the roll on all 5,936 bets.
RNG AnalysisPassEach roll is one HMAC-SHA256 draw from the seeds and nonce only, and our own implementation, written from the specification, reproduces every one. The specified RNG gives all 10,000 rolls equal probability.
Payout LogicPassAll 5,936 bets settled correctly. Each win pays exactly 99 ÷ win chance, every payout is the exact amount rounded down to 8 decimals, and all 3,314 losses pay 0.
Anti-CircularityPassWe worked out the odds ourselves by counting winning rolls on the 10,000-point grid, never from a casino figure. Our count matches the win chance on all 3,189 bands played.
Fairness IntegrityPass34 integrity tests reported across 12 categories, run on LIQD’s pre-launch environment: 33 pass and 1 remediated, fixed by LIQD and re-tested. No test changed, replayed or injected an outcome.
DeterminismPassThe same server seed, client seed and nonce always give the same roll, and every result and payout follows from the roll, your band and your stake alone, on all 5,936 bets.
Overall StatusPass
PROVABLY FAIR — Full Pass. All 22 checks passed with no hard fails, and all 5,936 live bets recompute exactly from their revealed seeds.
RTP VerifiedPass
Proven RTP of 99.0000% before payout rounding, at every win chance in every mode, so LIQD’s published 99% holds everywhere. Across the captured stake and band combinations, RTP after payout rounding ranges from 98.999992% to 99%.
Live ↔︎ Verifier ParityPass
100%. Our own implementation reproduced all 5,936 bets exactly, every roll and every win or loss, and LIQD’s own verifier returned the same result for every round.
Commit-Reveal SystemPass
All 34 revealed server seeds match their published hashes, and every new seed matched the hash announced for it in advance. Our capture records show each hash was published before its bets.
Client SeedPass
Player-controlled. Every seed pair ran under a client seed we set, five of them set as a player, and changing the client seed changes the roll on all 5,936 bets.
RNG AnalysisPass
Each roll is one HMAC-SHA256 draw from the seeds and nonce only, and our own implementation, written from the specification, reproduces every one. The specified RNG gives all 10,000 rolls equal probability.
Payout LogicPass
All 5,936 bets settled correctly. Each win pays exactly 99 ÷ win chance, every payout is the exact amount rounded down to 8 decimals, and all 3,314 losses pay 0.
Anti-CircularityPass
We worked out the odds ourselves by counting winning rolls on the 10,000-point grid, never from a casino figure. Our count matches the win chance on all 3,189 bands played.
Fairness IntegrityPass
34 integrity tests reported across 12 categories, run on LIQD’s pre-launch environment: 33 pass and 1 remediated, fixed by LIQD and re-tested. No test changed, replayed or injected an outcome.
DeterminismPass
The same server seed, client seed and nonce always give the same roll, and every result and payout follows from the roll, your band and your stake alone, on all 5,936 bets.
Audit scope & reference

What Was Audited

✓ Audited

  • LIQD’s live Dice game on liqd.com, played 7 to 10 November 2026 in USDT, checked with release v1.3.0 of the audit package
  • Every roll can be reproduced from the server seed, client seed and nonce
  • LIQD commits to each server seed with a SHA-256 hash, and each rotation announces the hash of the next seed
  • Your client seed is under your control, and it changes the roll
  • Nonces count every bet from 0 in every seed pair, with no gaps or repeats
  • Each roll is one HMAC-SHA256 draw, and the specified RNG gives all 10,000 rolls equal probability
  • Under, Over and Inside win on a roll exactly on the lower bound and lose on the upper; Outside wins the complement, as LIQD’s own verifier confirms
  • Winning multipliers are exactly 99 ÷ win chance, and every win pays the exact amount, rounded down to 8 decimals
  • Proven RTP is 99.0000% before payout rounding on every band in every mode: a flat 1% house edge
  • LIQD’s published 99% RTP holds at all 9,899 modelled win-chance widths
  • Your bet amount does not change the roll or the edge
  • Players can independently verify every bet

What Audit Excludes

  • Solvency, fund custody & withdrawals
  • Licensing & regulatory compliance
  • Platform & infrastructure security
  • Third-party games outside the audit
  • Rakeback, rebates & promotions
  • Cross-account outcome consistency
  • KYC, AML & responsible gambling controls
What Audit Covers
2 columns
AreaDescription
Commit-Reveal SystemSHA-256 server seed hashing, pre-bet commitment, next-seed pre-commitment, reveal on rotation
Client Seed OriginPlayer-controlled seed submitted with each rotation, after the server commitment — our own random seeds in 29 epochs and 5 player-set seeds in Phase D
Seed HandlingClient seed control, nonce lifecycle, seed epoch rotation
RNG AnalysisOur own HMAC-SHA256 implementation, written from the specification; LIQD’s production verify endpoint as a second check; rejection sampling, bias bound, boundary semantics
Payout LogicQuotient multiplier 9900 / b, round-down 8-decimal settlement, loss settlement, wallet-field reconciliation, bet-size invariance (Phase C)
Live ParityIndependent roll and win-flag recomputation vs live game results across all five capture phases, plus LIQD’s own verify reply for every round
RTP ValidationInteger edge identity, literal grid enumeration, the RTP claim rule over all 9,899 modelled win-chance widths, simulated RTP (98 targets × 1M bets), cherry-pick test on the served-band return
Fairness IntegrityIntegrity tests on LIQD’s pre-launch environment — 34 across 12 categories, including race conditions, input validation, idempotency, authorization, outcome and payout fields, nonce and seed handling, information disclosure and the provably fair surface
What Audit Guarantees
  • Outcomes are deterministic and reproducible from the recorded inputs
  • Live game results match independent recomputation for the verified sample (5,936 / 5,936), and LIQD’s own verifier returns the same result for every round
  • Rolls are consistent with the uniform distribution expected from the rejection-sampled HMAC draw — 2,000,000 simulated draws and the 5,936 captured rolls both pass their uniformity screens
  • RTP is proven analytically: P(win) × multiplier = (b / 10,000) × (9900 / b) = 0.99 for every band, asserted in exact integers on all 5,936 captured bets
  • LIQD’s published 99% RTP is met by every one of the 9,899 modelled win-chance widths, each exactly 99.000000% before payout rounding
  • Mean simulated RTP of 99.0203% across 98 targets × 1,000,000 bets (over 2.00 to over 99.00) — 0.98 standard errors from the proven 99.0000%, with every target inside the 5·SE tolerance
  • The roll is fixed by the seed pair and nonce before the band is applied — which band you choose and how much you stake never change the number rolled
  • Client seed is a genuine, player-controlled input that materially influences results (500 / 500 bets under player-set seeds recompute; a changed client seed changes the roll on 5,936 / 5,936 bets)
  • The house edge is a flat 1.00% on every band in every mode before payout rounding; a win pays the exact amount rounded down to 8 decimals, never above it and never as much as 0.00000001 below it. Across the captured stake and band combinations, RTP after payout rounding ranges from 98.999992% to 99%
  • Every fairness integrity test passed or was remediated and re-verified — no test altered, replayed or injected an outcome, and the one finding never touched the provably fair layer

References

Dice — Game Rules7 sections▶

How LIQD Dice plays, exactly as verified by this audit — the interactive slider below is wired to the audited win rule and multiplier formula.

Game Rules

Dice rolls a single number from 0.00 to 99.99 — 10,000 equally likely two-decimal outcomes. Before you roll, you choose a band on that scale in one of four modes: under (from 0.00 up to a limit), over (from a limit up to 100), inside (between two limits) or outside (everything except an inside band). You win if the roll lands in your winning region. The region is half-open — a roll exactly on the lower bound wins, a roll exactly on the upper bound loses — and outside is the exact complement. The roll itself comes from one HMAC-SHA256 draw seeded by (serverSeed, clientSeed, nonce), fixed before your band or stake is applied; your choices set the odds and the price, never the number.

How to Play

1. Choose a mode — under, over, inside or outside — and set the band limits; the win chance is the width of the winning region in percentage points.
2. Set the stake — the multiplier is quoted immediately as 9900 / b, where b is the win chance in basis points (a 50% band pays 1.98×, a 1% band 99×).
3. Roll — the platform derives the roll from the committed server seed, your client seed and the current nonce, then applies your band to it.
4. Settle — a win credits stake × 9900 / b, computed exactly and rounded down at the 8th decimal; a loss pays 0. The nonce advances by 1.
5. Verify — after rotating your seed pair, recompute any roll from the revealed seed (Section 6 walks it).

Boundary note: Under, Over and Inside use a lower-inclusive, upper-exclusive band. Outside wins the complement: a roll exactly on the lower bound loses, while a roll exactly on the upper bound wins. LIQD’s own production verifier confirms both with the roll exactly on a bound (E17, E20; S4.7), and the rule is what makes the house edge exactly 1.00% on every band.
Win Conditions

Four modes, one rule — inBand = roll ≥ lower AND roll < upper, inverted for outside. Every example below is a real bet from the production capture, recomputed by this audit:

3 columns
ModeWinning regionExample
Under0.00 ≤ roll < upperUnder 98 · roll 76.84 → win, 1.0102× (bet JOaaqudL…)
Overlower ≤ roll < 100Over 50 · roll 3.99 → loss, payout 0 (bet 9DfhEtFe…, $10.00)
Insidelower ≤ roll < upperInside 42.79–77.79 · roll 66.94 → win, 2.8286× (bet Cp6pO0kM…)
Outsideroll < lower OR roll ≥ upperOutside 14.31–49.31 · roll 80.10 → win, 1.5231× (bet I8Q8SDGx…)
The win/loss label is not taken on trust: it is recomputed from the seed-derived roll for every one of the 5,936 rounds in the dataset (Step 6), and every credited amount is rebuilt from the band and stake alone (Step 20).
Risk vs Reward

Every band returns the same 99.0000% — the win chance changes the shape of the risk, never the fairness of the price:

  • Even money: a 50% band (under 50, over 50, inside 25–75, outside 25–75) pays 1.98×
  • Long shots: a 10% band pays 9.9×; a 2% band 49.5×; a 1% band 99× — the largest multiplier won in this capture
  • The tail: a 0.01% band (one grid point) pays 9900× — played live in Phase X (a loss) and priced at 9900× by LIQD’s verifier on four winning probes (E20, S4.7)
  • Variance scales with the multiplier, the edge does not: P(win) × multiplier = 0.99 on every band
Parameters
3 columns
ParameterValueNotes
Roll domain0.00 – 99.9910,000 grid points (RANGE = 10000), two decimals
Modesunder · over · inside · outsideAll four captured live — 1,151 / 1,387 / 1,148 / 2,250 bets
Win chance0.01% – 98% played12 win chances captured — 0.01% (9900×), and eleven from 1% (99×) to 98% (1.0102×) in all four modes; the RTP claim covers all 9,899 modelled win-chance widths of the price grid (S4.2)
House edge1.00% flatApplied once inside the multiplier — identical on every band
Multiplier9900 / bb = win chance in basis points; 1.0102× – 9900× captured
Seed epoch1 – 200 betsNonces from 0, then the pair rotates — 200 per Phase A epoch, 100 per Phase D epoch; the audit's cadence, not a platform limit
Settlement8-decimal, rounded downfloor8(stake × 9900 / b) — the exact amount, rounded down; reproduced with zero tolerance
Stakes captured$0.10 and $10.005,701 bets at $0.10, 235 at $10.00 (Phase C), in USDT
Seed Formats

The three verification inputs, exactly as they appear in LIQD's panel and the bet record:

4 columns
Seed TypeFormatExamplePurpose
Server seed32-char hex (16 bytes)3085a86bd812800c76ae7d81191955b2HMAC key (decoded); committed via SHA-256 of the string before play
Client seedfree-form stringaudit8f7ccfa4326cPlayer-editable entropy — mixed into every draw
Nonceinteger from 09The bet counter under the active pair
Two hashing domains: the commitment hashes the hex string (UTF-8); the HMAC keys the decoded bytes. Both conventions are verified in S1–S2.
Multiplier & Payout

The payout is a formula — no paytable file exists. The winning width in percentage points becomes basis points, and 9900 (10,000 less the 1% edge) is divided by it; the credit is that multiple of the stake, rounded down to 8 decimals:

W = inverted ? 100 − (upper − lower) : upper − lower
b = round(100 × W)
m = 9900 / b
credit = floor8(stake × m)
4 columns
BandWin chancebMultiplier
under 5050.00%50001.98
inside 25–75 · outside 25–7550.00%50001.98
under 98 (featured bet)98.00%98001.010204081632653
over 9010.00%10009.9
over 982.00%20049.5
over 991.00%10099
under 0.010.01%19900
The served multiplier field equals the binary64 quotient 9900 / b bit-for-bit on all 2,622 captured wins (Step 7). The bet response reports the exact payout, rounded down to 8 decimals: stake × 9900 / b (Step 8). In this capture 1,520 wins landed exactly on the product and 1,102 were rounded down by less than 0.00000001, none up.
Why Provably Fair Matters▶

Traditional online casinos require players to trust that games are fair. Provably fair systems eliminate that requirement — three properties, all verified in this audit, make trust unnecessary:

  • The casino commits to the inputs that determine a result before you play — the SHA-256 commitment locks the server seed while it is still secret
  • A source of randomness exists that the casino cannot predict — your client seed, editable after the commitment is published
  • Anyone can verify the outcome after the fact — the revealed seed plus public code reproduces every roll exactly
High-Level Overview8 sections▶

The whole system in one pass — from commitment to payout, with the capture design that tested it.

Checklist Reference

Commit-Reveal

2 columns
CheckWhat it proves
Server seed hash shown before playWith the hash shown first, the casino cannot change the roll after you bet
SHA-256 of the revealed seed matches the commitmentThe revealed seed is the one that was committed
Next epoch's hash pre-committed at rotationThe casino cannot mint a fresh seed in response to your play
One commitment per epoch, no mid-epoch switchingEvery bet is pinned to a single verified commitment

Seed System

2 columns
CheckWhat it proves
Client seed is player-editable after the commitment existsThe operator cannot pre-evaluate seeds against yours
Client seed changes the roll when substitutedYour seed genuinely enters every derivation
Nonces run contiguously from 0 in every epochNo skipped bet where a discarded outcome could hide

RNG & Parity

2 columns
CheckWhat it proves
Roll recomputes from (serverSeed, clientSeed, nonce)No hidden inputs influence the number rolled
Rejection sampling below maxFair = 4,294,960,000The specified draw gives each of the 10,000 grid points exactly equal probability
Half-open win rule reproduces 5,936 / 5,936 win flagsThe game settles under the half-open rule its own verifier returns at the bounds (E17, E20)

Payout & RTP

2 columns
CheckWhat it proves
Wins credit floor8(stake × 9900 / b) — the exact amount, rounded downThe advertised 1.00% edge is the real edge
100 · winCount · 9900 == 99 · 10,000 · b on every captured bet, as integersThe RTP is an identity, not a sampled estimate
Closed-form win count equals a literal 10,000-point tallyThe probability side cannot share an arithmetic slip with the formula

Integrity

2 columns
CheckWhat it proves
Losses pay exactly 0 with multiplier 0No round settles money against a losing roll
Identical engine at $0.10 and $10.00Stake size cannot reach the roll
Dataset SHA-256 pinned (a mismatch stops the suite); simulation and chart pins scored in Step 19The evidence itself is tamper-evident
High-Level Flow

One round of LIQD Dice, from commitment to settlement:

1. Commit — the server generates a 32-hex server seed and publishes SHA-256(utf8(seed)) as hashedServerSeed. You see only the hash.
2. Seed pair active — your client seed (platform default or your own) and a nonce starting at 0 pair with the committed seed.
3. Bet — you pick a mode, a band and a stake. The roll is already fully determined by (serverSeed, clientSeed, nonce).
4. Roll — one HMAC-SHA256 draw, reduced to 0.00–99.99, is compared with your band under the half-open rule; Outside wins the complement.
5. Settle — wins credit stake × 9900 / b, rounded down at the 8th decimal; losses pay 0. The nonce increments by 1.
6. Rotate & verify — rotation reveals the outgoing seed (and pre-commits the next). Check the hash, recompute any roll.

High-Level Flow — illustrated flow
Provably Fair Model

The model splits control of the randomness. The operator controls the server seed but must commit to it before play; the player controls the client seed and can change it after seeing the commitment; the nonce is a public counter. Because the roll is a pure function of those three inputs — and the band and stake enter only afterwards, as the rule and the price — neither side can steer an outcome without the other side's input, and everything needed to check the result is disclosed by design.

Commit-Reveal Model

Three phases, each independently verified by this audit:

Commit-Reveal Model — illustrated flow

Commit phase
The server generates a 32-hex seed and publishes SHA-256 of that string (UTF-8) as hashedServerSeed. The raw seed stays secret. Verified for all 34 epochs (Step 1).

Bet phase
Bets settle under the committed pair; the nonce increments from 0. The roll is fixed per (seed, clientSeed, nonce) before the band is applied. Verified by full recomputation (Step 5).

Reveal phase
Rotation reveals the outgoing seed and pre-commits the next epoch’s hash — the chain is consistent on 30 / 30 transitions inside the capture files, plus each file’s pre-capture link (Step 2).

Verify phase
Anyone re-hashes the reveal against the commitment and recomputes every roll it served — the panel, the ProvablyFair.org verifier, or the standalone scripts in S6 all work.

Player-Controlled Client Seed

The client seed is the mechanism that structurally contains server-seed cherry-picking — when it is unpredictable and set after the commitment — and this audit exercised the control live:

  • Editable at any time in the fairness panel — including immediately after a new commitment is published
  • Mixed into every HMAC message (clientSeed:nonce:cursor) — it mathematically cannot be ignored
  • Phase D played 500 rounds under 5 player-set pfaudit-prod-dice- seeds, each submitted after its commitment was shown — all recomputed exactly
  • Sensitivity: appending one character to the client seed changes the roll on 5,936 / 5,936 bets (Step 14)
Nonce Lifecycle

The nonce is the bet counter under an active pair. In this capture the audit rotated the pair after a fixed number of bets per phase — 200 in Phase A, 100 in Phase D, 118 and 117 in Phase C, 1 in Phase X: the nonce starts at 0 and increments by 1 per bet. A gap or reuse would be the fingerprint of a discarded outcome — the audit found neither, anywhere.

  • Contiguous from 0 in every one of the 34 epochs, each at its planned size
  • 0 gaps, 0 duplicates, 0 resets across 5,936 bets
  • Each seed record pins nonceStart / nonceEnd — the capture’s own record of the window it served
seed record · nonce window · Verified
"epoch": 0,"nonceStart": 0,"nonceEnd": 199,"hashedServerSeed": "99d78251a09a8c5ee083928d3ff835b1…"
Determinism Guarantee

Determinism is what turns a fairness claim into a checkable fact: the same inputs must always produce the same roll. LIQD's derivation is a pure function of three arguments — verified by reproducing every captured roll with an independent implementation, byte-identical on the two-decimal grid.

the pure function · Verified
diceRoll(serverSeed, clientSeed, nonce)  → 7684   // the roll in hundredths (76.84 on the 0.00–99.99 grid) — nothing else in, nothing else out
Phase Map

The capture is engineered — five phases, each isolating one claim:

3 columns
PhaseRoundsWhat it isolates
A5,000Ten win chances from 2% to 98% in five band types — under, over, inside, and outside placed low and high — 100 rounds per setting, $0.10
D500Client-seed influence — the Phase A settings under 5 player-set seeds, live
A+200The 99× setting — a 1% win chance in all four modes, 50 rounds each (the Phase A top-up)
C235Stake independence — over 50 at $10.00, 100× the $0.10 stake
X1The top of the price grid — under 0.01, a 0.01% win chance at 9900×
Why phases matter: a random sample proves averages, but a designed capture proves mechanisms. Each phase removes one degree of freedom that an unfair implementation would need — every mode at every win chance, the 99× and 9900× settings played, stake varied 100×, and five seeds set as a player.
Technical Glossary7 categories▶

Every term used in this report, defined the way the audit uses it.

Core Concepts
2 columns
TermDefinition
Provably FairA cryptographic scheme in which the game outcome can be independently verified by the player after the fact, using seeds committed to before the round. The player cannot alter the server seed; the server cannot alter it after committing to its hash; neither party can change the roll without detection.
Commit-RevealThe mechanism underlying provably fair. The server publishes hashedServerSeed (a commitment) before any bet, then reveals the plaintext serverSeed after the seed rotates. The auditor checks SHA-256(utf8(serverSeed)) == hashedServerSeed for every epoch. All 34 revealed seeds in this dataset passed.
House EdgeThe operator's cut. LIQD’s Dice page states Edge: 1.00% and RTP 99%. The effective edge is derived independently and is exactly 1.00% on every band, because the winning region holds exactly b of the 10,000 grid points and the multiplier is 9900 / b — the product is 0.99 as an integer identity. Settlement then rounds each win down at the 8th decimal, by less than 0.00000001.
RTP (Return to Player)1 − houseEdge. For LIQD Dice the theoretical RTP before payout rounding is a flat 99.0000% on every band in every mode — proven analytically (integer identity, Step 15), by literal enumeration (Step 13) and checked against 98M simulated bets across 98 targets. Live-bet RTP (104.86%) is informational only.
Anti-CircularityThe requirement that theoretical RTP and simulation expectations derive the win probability from the grid geometry alone (b / 10,000), never from an operator-supplied odds or win-chance field — so the RTP claim cannot validate itself.
RTP Claim RuleRTP-CLAIM 1.2.0, part of the audit method: the RTP a casino publishes — on the game page, fairness page, help page, bet panel, rules or game settings — must hold at every setting to within ±0.1 percentage points. A house-side miss ends the verdict as RTP FIGURE OVERSTATED. LIQD’s published 99% holds on all 9,899 modelled Dice win-chance widths.
Seed System
2 columns
TermDefinition
Server SeedA 32-character (16-byte) hexadecimal string generated by LIQD. Kept secret during betting, revealed after epoch rotation. Used as the HMAC key in its hex-decoded form: Buffer.from(serverSeed, 'hex').
Commitment / Server Seed HashSHA-256(utf8(serverSeed hex string)) — the text-hash convention: LIQD hashes the UTF-8 bytes of the 32-character hex string, not the 16 decoded bytes. Published before any bet under the pair. A revealed seed that fails this check would prove tampering. Distinct from the HMAC key, which uses the decoded bytes.
Client SeedA string controlled by the player (or generated by the platform), mixed into the HMAC message as ${clientSeed}:${nonce}:${cursor}. Changing it changes every roll under the same server seed. When the player sets an unpredictable seed after the server-seed commitment is published, it is the primary structural defence against server-seed cherry-picking; a predictable seed does not deliver that protection.
NonceAn incrementing integer identifying a bet's position within an epoch, from 0. Part of the HMAC message. Every epoch in this dataset has contiguous nonces from 0 — no gaps.
EpochThe bets under one (serverSeed, clientSeed) pair, nonces from 0 — 200 per epoch in Phase A, 100 in Phase D. At epoch end the seed rotates and the previous server seed is revealed. This dataset covers 34 epochs.
Cryptographic Functions
2 columns
TermDefinition
HMAC-SHA256Hash-based Message Authentication Code using SHA-256. Produces a 256-bit (32-byte) deterministic output from a key and message. Here it generates the single uniform integer behind each roll: the digest is scanned in 4-byte big-endian uint32 chunks, the first chunk below the modulo-bias ceiling is taken % 10000.
CursorThe third component of the HMAC message. Dice makes one draw per bet, so cursor = 0 for every roll. If all eight chunks of a digest were rejected — about 7 × 10⁻⁴⁷ per bet — the specification defines no further draw, and our implementation stops with an error; no captured bet comes close.
Modulo-Bias RejectionDiscarding uint32 values at or above maxFair = floor(2³² / 10000) × 10000 = 4,294,960,000 before taking % 10000, so the specified draw gives every grid point exactly equal probability. Without it the lowest 7,296 residues would be favoured by one part in 429,496.
Rolldraw / 100 — the accepted integer draw in [0, 10000) placed on the two-decimal scale 0.00 – 99.99. The served field is compared with the recomputed value byte-for-byte on that grid (Step 5).
Verification Terms
2 columns
TermDefinition
Basis Points (b)The winning width in hundredths of a percent — round(100 × W) — and, under the half-open rule, exactly the number of grid points that win. An auditor-derived quantity: the field does not appear in the capture.
Quoted Multiplier9900 / b — the value LIQD serves and pays. Reproduced bit-for-bit as a binary64 quotient on all 2,622 wins; the equivalent float form (100 / W) × 0.99 is the same rational but agrees bit-for-bit on only 1,651 of them, which is why the audit pins the quotient.
Round-Down Settlementfloor8(stake × 9900 / b) — the exact product of the decimal stake and the rational multiplier, rounded down at the 8th decimal. Reproduces all 5,936 credited amounts with zero tolerance; 1,520 wins land exactly on the product and 1,102 are rounded down by less than 0.00000001. A floor has no tie case.
Half-Open Band[lower, upper) — the lower bound wins, the upper bound loses; outside is the exact complement. Reproduces all 5,936 win flags and is pinned at the boundary by LIQD's production verify endpoint (E17, E20: 33 probes, 11 of them discriminating).
Game Mechanics
2 columns
TermDefinition
Band (params)The requested {lower, upper, inverted} — two-decimal bounds on the roll scale plus the inversion flag. The only game-specific inputs; there are no risk levels or variants. 3,189 distinct bands were captured.
ModeHow the audit classifies a band for reporting: outside if inverted, under if lower = 0, over if upper = 100, otherwise inside. All four are present at volume (1,151 / 1,387 / 1,148 / 2,250 bets).
Win ChanceThe continuous width of the winning region in percentage points, W = inverted ? 100 − (upper − lower) : upper − lower. Under the half-open rule the discrete probability b / 10,000 equals it exactly.
Audit Terms
2 columns
TermDefinition
Draw UniformityA simulation test: 2,000,000 draws binned into 100 cells against N/100, χ² with df = 99 from the exact regularized incomplete gamma. Two-sided at α/3 — the lower tail rejects a statistic too uniform to be a real 2,000,000-draw sample. χ² = 108.885, p = 0.2335.
Serial ScreenLag-1 autocorrelation (z = r₁ · √n) and the Wald-Wolfowitz runs test on the first 200,000 simulated rolls, each judged at α/3. z = 0.159 against the applied critical 2.9352; runs p = 0.6910.
Effective-Edge BandsNine named bands (under 50, over 50, under 10, over 90, inside 25–75, outside 25–75, over 98, over 99, under 1) simulated at 2,000,000 bets each; each simulated RTP must sit within 5 × SE + 0.0001 of 0.99 and reconstruct bit-for-bit from an integer win count.
98 Over-Mode TargetsThe main RTP simulation: every over-mode band from over 2.00 to over 99.00 (win chance 98% to 1%, 1.0102× to 99×), 1,000,000 bets each on our own seeds. Each target must sit within 5 × SE + 0.0001 of its theoretical RTP and reconstruct bit-for-bit from an integer win count; the mean over the 98 targets is the convergence chart in S4.
Bonferroni CorrectionThe three Pass 1 screens (uniformity, lag-1, runs) each run at α/3 = 3.333e-3 so the family has level α = 0.01.
Served-Band ReturnThe Pass 2 cherry-pick statistic: each of the 34 revealed seeds is replayed for 10,000 nonces with its recorded client seed, and the payout-weighted return of the bands LIQD actually served in the captured window (the epoch's captured nonces) is compared with its exact expectation and variance. A one-sided test at α = 0.01: a seed set chosen against the player would show a return deficit.
Exact Discrete NullThe reference distribution of the supplementary draw-uniformity screen in Pass 2: for a 50-draw window over 20 bins the statistic S = Σ hᵢ² takes only 832 attainable values, enumerated exactly from 181,274 occupancy partitions. No bootstrap and no asymptotic approximation — it replays identically on every run.
Cherry-Picking (Server-Seed)The residual risk in any beacon-free commit-reveal scheme: an operator with foreknowledge of the upcoming client seed could pre-evaluate candidate server seeds and commit to an unfavourable one. The structural defence is a client seed set after the commitment; the statistical check is the served-band return in Pass 2 (z = 0.164, p = 0.5651), which shows no return deficit.
Selective OrphaningA distinct residual channel: an operator observing a round server-side and orphaning or re-issuing an unfavourable result rather than surfacing it. In this capture the nonces run contiguously from 0 in all 34 epochs (Step 4); a signed server-side audit log closes the channel in general.
Hard FailAny FAIL on a scored step — a broken commitment or chain link, a roll, win-flag, multiplier or credit mismatch, an operator-side nonce gap, a population or artifact-integrity fault. A hard fail ends the verdict as NOT PROVABLY FAIR. None triggered: Passed 22/22, Hard fails 0, Flags 0.
Capture FlagA flag raised when a gap in the record comes from our capture script — for example, a retried request that skipped a nonce — rather than from the casino. It is disclosed with a limitation row and does not change the verdict; an operator-side gap is a hard fail. This audit has 0 capture flags.
Data Formats
2 columns
TermDefinition
winningAmountThe settle-response field holding the amount credited on a win or 0 on a loss, served as an 8-decimal string. The audit's payout evidence; verified against floor8(betAmount × 9900 / b) at zero tolerance, read from the decimal text, and reconciled with the wallet-denominated winningAmountWallet on all 5,936 bets (the capture records per-bet amounts, not running wallet balances).
roll, win, multiplierResponse values as served. roll is compared byte-for-byte on the two-decimal grid; multiplier is 9900 / b on wins and 0 on losses; win is re-derived from the roll and band.
verifierLIQD's own verify-endpoint reply stored with each round — the revealed seed, client seed, nonce and band sent, and the roll, win and multiplier returned. Equal to the served round on 5,936 / 5,936 (Step 6).
Phase A / D / A+ / C / XThe five capture phases. A: 5,000 bets over ten win chances in five band types. D: 500 bets under 5 player-set client seeds. A+: 200 bets at a 1% win chance (99×). C: 235 bets on over 50 at $10.00 (stake independence). X: 1 bet at a 0.01% win chance (9900×).
01

Seed, Nonce & Determinism

Can the casino change your outcome after you bet?

Every Dice roll comes from three inputs: a server seed from LIQD, a client seed you control, and a nonce that counts your bets. LIQD shows a SHA-256 hash of its server seed before the seed is used: a fingerprint that locks the seed in without revealing it. When you rotate your seed pair, the seed is revealed and anyone can check it against that hash. Our capture records show each hash was published before its bets, so the casino cannot change the roll after you bet.

Commit-Reveal Verification

34 / 34seeds verified

What we verified

  • All 34 revealed server seeds match the hash LIQD published for them, and our capture records show each was published before play
  • Each rotation also announces the hash of the next server seed, and all 34 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
  • You can set or change your client seed at any time in the Provably Fair panel
  • The nonce counts your bets from 0, with no gaps or repeats, in all 34 seed pairs
  • The roll is fixed by the seeds and nonce before your band or stake is applied
  • The same inputs always give the same roll, confirmed on all 5,936 bets
  • Your client seed really counts: changing it by one character changed the roll on all 5,936 bets

What this means for you

  • With the hash shown before you bet, the casino cannot change the roll afterwards
  • A client seed of your own adds randomness the casino cannot predict or plan around
  • Every bet has its own nonce, so no two bets share the same inputs
  • You can check any result yourself, with the public audit code or the ProvablyFair.org verifier
  • Results stay checkable months later: the revealed seeds and the algorithm are all you need
  • Because LIQD commits to its seed before you set or change your client seed, it cannot pick a server seed to work against you
34 / 34seeds verified
  • All 34 revealed server seeds match the hash LIQD published for them, and our capture records show each was published before play
  • Each rotation also announces the hash of the next server seed, and all 34 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
  • You can set or change your client seed at any time in the Provably Fair panel
  • The nonce counts your bets from 0, with no gaps or repeats, in all 34 seed pairs
  • The roll is fixed by the seeds and nonce before your band or stake is applied
  • The same inputs always give the same roll, confirmed on all 5,936 bets
  • Your client seed really counts: changing it by one character changed the roll on all 5,936 bets
HMAC-SHA256 Pipeline — seed inputs through one rejection-sampled draw to the 0.00–99.99 roll — illustrated flow
CheckResultEvidence
Seed hash integrityPassAll 34 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPassEvery new server seed matched the hash announced for it at the rotation before
One commitment per seed pairPassEvery bet in each of the 34 seed pairs carries that pair’s hash: no seed was swapped mid-pair
Nonce sequencingPassNonces run 0, 1, 2… in betting order in every seed pair, with no gaps or repeats
Client seed originPassEvery client seed was set by us after LIQD committed to its server seed: our own random seeds, and five set as a player
Client seed controlPassLIQD used the client seed we submitted on all 34 seed pairs, and the 500 bets under seeds set as a player all recompute
Client seed influencePassChanging the client seed by one character changes the roll on all 5,936 bets
Deterministic outputPassThe same server seed, client seed and nonce always give the same roll, on all 5,936 bets
Win-rule reproductionPassAll 5,936 wins and losses follow from the roll and your band, and LIQD’s own verifier returned the same roll and result for every round
Seed hash integrityPass
All 34 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPass
Every new server seed matched the hash announced for it at the rotation before
One commitment per seed pairPass
Every bet in each of the 34 seed pairs carries that pair’s hash: no seed was swapped mid-pair
Nonce sequencingPass
Nonces run 0, 1, 2… in betting order in every seed pair, with no gaps or repeats
Client seed originPass
Every client seed was set by us after LIQD committed to its server seed: our own random seeds, and five set as a player
Client seed controlPass
LIQD used the client seed we submitted on all 34 seed pairs, and the 500 bets under seeds set as a player all recompute
Client seed influencePass
Changing the client seed by one character changes the roll on all 5,936 bets
Deterministic outputPass
The same server seed, client seed and nonce always give the same roll, on all 5,936 bets
Win-rule reproductionPass
All 5,936 wins and losses follow from the roll and your band, and LIQD’s own verifier returned the same roll and result for every round
✓  Commit-reveal verified

All 34 revealed seeds match their published hashes, and every new seed matched the hash announced for it in advance. Nonces count every bet with no gaps, and the same inputs always give the same roll. With each hash published before its bets, as our capture records show, the casino cannot change your result after you bet.

How It Works — Seed, Nonce & Determinism7 sections
1.1Server Seed Commitment

Before any bet is placed under a seed pair, LIQD shows the SHA-256 hash of a secret 32-character hex server seed as hashedServerSeed. The commitment hashes the seed text as a UTF-8 string, not its 16 decoded bytes: SHA-256(utf8(serverSeed)). When the pair rotates, the server seed is revealed and anyone can recompute the hash. A match shows the revealed seed is the committed one: a substitute would need a second preimage of SHA-256, and would fail every recomputation that follows.

Server Seed Commitment — illustrated flow
src/rng.ts · commitHash · Verified
// §1.2: the published commitment is SHA-256 over the seed's ASCII characters,// NOT over the bytes the hex decodes to.export function commitHash(serverSeedHexString: string): string {  assertServerSeed(serverSeedHexString);  return sha256Buffer(Buffer.from(serverSeedHexString, "ascii"));}
Result: 34 / 34 revealed server seeds hash to their published commitment (Step 1). Zero mismatches.

Real Example from Live Data:

dice-prod-5936bets.json · seed record (epoch 0)
{  "epoch": 0,  "phase": "A",  …  "clientSeed": "audit8f7ccfa4326c",  "hashedServerSeed": "99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d",  "nextHashedServerSeed": "c8fce9a61f3ef154c364271d0f5a931ed0a9d27a9fdcb9fb2d74db62c0dc345a",  "serverSeed": "3085a86bd812800c76ae7d81191955b2",  "nonceStart": 0,  "nonceEnd": 199,  …}

Verification:

verify-seed.js · Verified
// verify-seed.js — check any revealed LIQD server seed against its commitmentconst { createHash } = require('node:crypto');const serverSeed = '3085a86bd812800c76ae7d81191955b2';            // revealed 32-hex seed (epoch 0)const committed  = '99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d';const recomputed = createHash('sha256').update(serverSeed, 'utf8').digest('hex');console.log(recomputed === committed ? 'MATCH — seed is the committed one' : 'MISMATCH');
1.2Next-Seed Pre-Commitment Chain

At every seed rotation, the nextHashedServerSeed LIQD pre-commits during an epoch must equal the hashedServerSeed that becomes active after the rotation, so the successor seed is fixed before the previous epoch ends. The capture is four files — 7 November, then three on 10 November — and Step 2 walks all 30 epoch transitions inside them and checks each link. It also checks the pre-capture record of every file: for the 7 November file, the seed active before the first audited bet (81da1fb5…) hashes to its own commitment (69ad8061…), and its pre-committed next hash is epoch 0’s hashedServerSeed (99d78251…); the other three files are anchored the same way. Between files the account’s seed pair kept rotating outside this dataset, so each file stands on its own anchor. LIQD’s own seeds panel shows the pre-committed next hash alongside the active one (the Seeds tab in S6 shows the panel). A hash chain shows the values are consistent and fixes their order; it does not carry a date. Our capture records show each commitment was published before the bets it covers.

tests/steps/commitment.ts · Step 2 · Verified
  // ── Step 2: Next-seed pre-commitment chain ──────────────────────────────────  const byEpoch = [...seeds].sort((a, b) => a.epoch - b.epoch);  const captures = Array.isArray(ctx.meta.captures) ? ctx.meta.captures : [];  let promoChecked = 0, promoFails = 0;  for (let i = 0; i + 1 < byEpoch.length; i++) {    if (byEpoch[i].capture !== byEpoch[i + 1].capture) continue;      // a file boundary: no in-dataset link    promoChecked++;    if (byEpoch[i].nextHashedServerSeed !== byEpoch[i + 1].hashedServerSeed) promoFails++;  }  const expectedTransitions = EXPECTED_SEEDS - EXPECTED_CAPTURES;  // …    const preCommitOk = commitHash(pre.revealedServerSeed) === pre.hashedServerSeed;    const preLinkOk = pre.nextHashedServerSeed === first.hashedServerSeed;    if (preCommitOk && preLinkOk) preOkCount++;  // …  const preOk = captures.length === EXPECTED_CAPTURES && preOkCount === EXPECTED_CAPTURES;   const s2 = step(2, 'Next-Seed Pre-Commitment Chain',    promoFails === 0 && promoChecked === expectedTransitions && preOk ? 'PASS' : 'FAIL',
Result: 30 / 30 next-seed transitions consistent inside the four capture files, plus 4 / 4 pre-capture links, each naming its file’s first commitment. The pre-committed next server seed hash matched the promoted active hash at every rotation boundary — the chain has no breaks.
1.3Hash Consistency Within an Epoch

Each bet record carries its epoch’s hashedServerSeed — the commitment LIQD served with the bet. Step 3 groups the 5,936 bets by epoch and confirms that every bet in each epoch carries the same commitment, and that the number of epochs seen equals the number of seed records. More than one distinct hash within a single epoch would indicate a mid-epoch seed substitution — a critical commit-reveal violation. What binds each bet to its seed is the recomputation: the bet’s hashedServerSeed matches its seed record, the record’s hash matches the reveal (Step 1), and the revealed seed reproduces every roll in the epoch (Step 5).

tests/steps/commitment.ts · Step 3 · Verified
  // ── Step 3: Hash consistency within epoch ────────────────────────────────────  const betsByEpoch = new Map<number, typeof bets>();  for (const b of bets) {    const arr = betsByEpoch.get(b.epoch) ?? [];    arr.push(b);    betsByEpoch.set(b.epoch, arr);  }  let epochsMultipleHashes = 0;  for (const [, epochBets] of betsByEpoch) {    const hashes = new Set(epochBets.map(b => b.hashedServerSeed));    if (hashes.size !== 1) epochsMultipleHashes++;  }  const s3CoverageOk = betsByEpoch.size === seeds.length;  const s3 = step(3, 'Hash Consistency Within Epoch',    epochsMultipleHashes === 0 && s3CoverageOk ? 'PASS' : 'FAIL',    `${betsByEpoch.size}/${seeds.length} epochs: all bets within each epoch share the same hashedServerSeed; ${epochsMultipleHashes} violations`,  );
Result: 34 / 34 epochs — hashedServerSeed constant across every bet within every epoch. Zero mid-epoch changes detected.
1.4Client Seed Origin & Control

Players have full control over their client seed through the LIQD fairness panel, allowing them to view, modify, or rotate it at any time — including after the server-seed commitment is already published. The client seed is an input to every HMAC-SHA256 computation — changing it produces a completely different roll. LIQD generates a default value, and the server commits to its seed before the client seed for that epoch is set, which structurally contains cherry-picking when that seed is unpredictable: an operator that cannot know the upcoming client seed cannot pre-evaluate candidate server seeds against it. In this capture every epoch ran under a client seed we submitted with the rotation that opened it, after its server-seed commitment had been shown: 29 epochs used our own random audit… seeds — 48 bits of fresh browser-CSPRNG material each — and the 5 Phase D epochs used player-set pfaudit-prod-dice- seeds. During capture the audit exercised this control directly:

  • Player-editable at any time via the fairness panel — no wager required to change it
  • Rotatable after the server-seed commitment is published — the operator commits blind
  • Mixed into every draw as the HMAC message clientSeed:nonce:cursor — never decorative
  • Phase D set 5 player-set pfaudit-prod-dice- seeds; LIQD served back each submitted seed, and all 500 rounds recompute under them (Step 14)
  • Sensitivity: appending a single character to the client seed changes the roll on 5,936 / 5,936 bets (Step 14)
Result: Client seeds are player-controlled and differ in every epoch — our own audit… seeds in Phases A, A+, C and X (e.g. audit8f7ccfa4326c in epoch 0, auditfc6a04215b7e in the 1% top-up, audit6d93604e032c in Phase C, auditd79f1ff52fcf in Phase X), plus the 5 player-set seeds of Phase D (e.g. pfaudit-prod-dice-d1-9e7a04f27b2a). Evidence: dice-prod-5936bets.json
1.5Nonce Incrementation

The nonce begins at 0 and increments by 1 for each bet under the same seed pair — one nonce per roll. The nonce resets to 0 when the player rotates their seed, starting a new epoch. In this audit we rotated at a fixed size per phase — 200 bets in Phases A and A+, 100 in Phase D, 118 and 117 in Phase C and 1 in Phase X, 34 epochs in all; epoch length is not enforced by the casino — players can rotate at any time. Step 4 audits every epoch for gaps, reuse, and resets: a skipped nonce is where a discarded unfavourable outcome would hide, so the sequence must be contiguous, and it must open at the post-rotation nonce LIQD served. The epoch size is bound to the plan in src/config.ts rather than read from the dataset header, so a withheld bet cannot be absorbed by shrinking the declared epoch. A gap caused by our own capture script — a retried request whose bet still recomputes — would be a capture flag: disclosed with a limitation row and verdict-neutral. A gap or repeat on the operator side is a hard fail. This capture has no gaps and 0 capture flags.

Nonce Incrementation — illustrated flow
tests/steps/commitment.ts · Step 4 · Verified
      const plan = EXPECTED_EPOCHS[epochNum];      if (!plan) {        hardFailures.push(`Epoch ${epochNum}: not in the audited plan (src/config.ts EXPECTED_EPOCHS)`);      } else {        if (epochBets.length !== plan.bets) {          hardFailures.push(`Epoch ${epochNum}: ${epochBets.length} bets != audited epoch size ${plan.bets} (src/config.ts)`);        }  // …    if (missing.length > 0) {      const ss = seedMap.get(hash);      let allVerify = ss !== undefined;      if (ss) {        for (const b of sorted) {          const served = Number(b.roll);          const local = diceRoll(ss, b.clientSeed, b.nonce) / SCALE;          if (!servedRollMatches(served, local)) { allVerify = false; break; }        }      }      if (allVerify) disclosedGaps.push(`epoch ${epochNum} (Phase ${phase}), nonce ${missing.join(',')} orphaned; all recorded bets verify`);      else hardFailures.push(`Epoch ${epochNum}: unverifiable nonce gap at ${missing.join(',')}`);    }  // …  if (hardFailures.length > 0) {    s4status = 'FAIL';    s4detail = `${hardFailures.length} violations: ${hardFailures.slice(0, 3).join('; ')}`;  } else if (disclosedGaps.length > 0) {    s4status = 'FLAG';    s4origin = 'capture';  // …
Result: 0 gaps, 0 duplicates and 0 capture flags across all 34 epochs. Nonces run contiguously from 0 in every epoch, each at its planned size — 5,936 bets in a complete, ordered ledger. Single client seed per epoch.
1.6Deterministic Mapping

The RNG algorithm is fully deterministic: given the same server seed, client seed and nonce, diceRoll always produces the exact same roll. The algorithm is a single HMAC-SHA256 draw at cursor 0 — the first 32-bit big-endian chunk below the rejection ceiling, reduced modulo 10,000 — returning the roll in hundredths (7684 for a roll of 76.84), which the suite divides by 100. No timing, no bet amount, no band, no UI state enters the derivation. Our implementation, written from the specification, reproduced all 5,936 captured roll values with a byte-identical comparison on the two-decimal grid. The bet record below is the featured bet used throughout this report — recompute it yourself with the snippet.

Deterministic Mapping — illustrated flow
src/rng.ts · diceRoll · Verified
// §2 Step 2: the dice roll is the draw over N = 10000 outcomes at cursor 0,// an integer in hundredths (0..9999 shown as 0.00..99.99).export function diceRoll(serverSeed: string, clientSeed: string, nonce: number): number {  return generateProvablyFairNumber(serverSeed, clientSeed, nonce, 0, 10000);}
Result: All 5,936 bets with revealed seeds: the single-draw HMAC recompute matches roll byte-identically (Step 5). Zero mismatches, zero skipped. No external entropy is mixed into the Dice RNG.

Real Bet Verified:

dice-prod-5936bets.json · bet JOaaqudLC5… (epoch 0, nonce 9) · Verified
{  …  "epoch": 0,  "phase": "A",  "id": "JOaaqudLC5XcE2aFNic0w",  "params": { "lower": 0, "upper": 98, "inverted": false },  "nonce": 9,  "clientSeed": "audit8f7ccfa4326c",  …  "roll": 76.84,  "win": true,  "multiplier": 1.010204081632653,  "result": "won",  "betAmount": "0.10000000",  "winningAmount": "0.10102040",  …}

Verification:

verify-dice.js · Verified
// verify-dice.js — recompute a LIQD Dice roll from its seedsconst { createHmac } = require('node:crypto');function draw(seed, client, nonce) {  const digest = createHmac('sha256', Buffer.from(seed, 'hex'))    .update(`${client}:${nonce}:0`).digest();  const maxFair = Math.floor(0x1_0000_0000 / 10000) * 10000;   // 4,294,960,000  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % 10000;  }  throw new Error('all eight chunks rejected (not specified; about 7e-47 per bet)');}const roll = draw('3085a86bd812800c76ae7d81191955b2', 'audit8f7ccfa4326c', 9) / 100;console.log(roll);                       // → 76.84console.log(roll >= 0 && roll < 98);     // → true  (under 98 — the lower bound is in, the upper is out)
1.7Win-Rule Reproduction & Client Seed Influence

Determinism covers the number; Step 6 covers what LIQD did with it. For every bet the recomputed roll is passed through the half-open rule LIQD’s production verifier returns at the bounds (E17, E20) — inBand = roll ≥ lower AND roll < upper, inverted for outside — and the result must equal the served win flag: 5,936 / 5,936 agree, across all four modes. Step 6 also scores LIQD’s own verify endpoint: after each epoch’s seed was revealed, every round’s inputs were sent to it, and its stored reply returns the served roll, win and multiplier on 5,936 / 5,936. To confirm the client seed is a genuine input to the HMAC-SHA256 computation, Step 14 recomputes all 500 Phase D bets under their player-set seeds (500 / 500 reproduce) and then tests sensitivity on every bet: appending one character to the recorded client seed and re-deriving changes the roll on 5,936 / 5,936 bets, where the 10,000-point grid predicts 5,935.4. Because every one of the 5,936 rolls requires its recorded seed to reproduce, and a chance collision of two different seeds on the same roll has probability 1 in 10,000, the seed is demonstrably load-bearing.

tests/steps/determinism.ts · Step 6 · Verified
  // ── Step 6: Win-rule reproduction ────────────────────────────────────────────  // The recomputed roll under the published band rule must reproduce the served win flag.  let winChecked = 0, winFails = 0;  let vReplies = 0, vRequestOk = 0, vServedOk = 0, vLocalOk = 0;  for (const b of bets) {    const ss = seedMap.get(b.hashedServerSeed);    if (!ss) continue;    const local = diceRoll(ss, b.clientSeed, b.nonce) / SCALE;    const localWin = diceWin(local, b.params);    if (localWin !== !!b.win) winFails++;    winChecked++;    const v = b.verifier;    if (!v || v.status !== 200 || !v.outcome || !v.request) continue;    vReplies++;    // …    if (v.outcome.roll === b.roll && v.outcome.win === b.win && v.outcome.multiplier === b.multiplier) vServedOk++;    if (servedRollMatches(Number(v.outcome.roll), local) && v.outcome.win === localWin) vLocalOk++;  }  const verifierOk = vReplies === bets.length && vRequestOk === bets.length && vServedOk === bets.length && vLocalOk === bets.length;  const s6 = step(6, 'Win-Rule Reproduction',    winFails === 0 && winChecked === bets.length && verifierOk ? 'PASS' : 'FAIL',
Result: 5,936 / 5,936 served win flags reproduced by the half-open rule on the recomputed roll, and 5,936 / 5,936 LIQD verify replies equal the served round (Step 6); 500 / 500 player-set-seed bets recompute and a changed client seed changes the roll on 5,936 / 5,936 bets (Step 14). Client seed is a genuine, material input.
Technical Evidence & Verification5 sections
1.8Evidence Coverage Summary7 checks
3 columns
Verification AreaCoverageResult
Seed hash integrity (Step 1)34 / 34 revealed seeds hash-verifiedPass
Next-seed pre-commitment chain (Step 2)30 / 30 in-file transitions + 4 / 4 pre-capture linksPass
Hash consistency (Step 3)34 / 34 epochs, every betPass
Nonce audit (Step 4)0 gaps, 0 duplicates across 34 epochs, each at its planned size; 0 capture flagsPass
Roll recomputation (Step 5)5,936 / 5,936 — byte-identical on the two-decimal grid, with our own implementationPass
Win-rule reproduction (Step 6)5,936 / 5,936 served win flags under the half-open rule; 5,936 / 5,936 LIQD verify replies equalPass
Client seed influence (Step 14)500 / 500 Phase D bets recompute; a changed client seed changes 5,936 / 5,936 rollsPass
1.9Code References7 source files
2 columns
FilePurpose
tests/verify.ts22-step verification pipeline (Steps 1–6 cover S1)
tests/steps/commitment.tsSteps 1–4: Commit-reveal integrity, the per-file pre-capture links and the nonce audit
tests/steps/determinism.tsSteps 5–6: Roll recomputation, win-rule reproduction and LIQD’s stored verify replies
tests/steps/phase-d.tsStep 14: Client-seed control — the submitted seed served back, player-set seeds, sensitivity on every bet
src/rng.tsHMAC-SHA256 single draw (commitHash, generateProvablyFairNumber, diceRoll) — written from docs/ALGORITHM.md
src/loader.tsDataset loading + SHA-256 hash guard
src/config.tsThe production plan — every epoch’s size, phase and capture file (EXPECTED_PHASES) — that Steps 4, 11 and 12 bind the population to
1.10Datasets UsedSource artifacts
Primary: data/dice-prod-5936bets.json
2 columns
PropertyValue
SourceLive Dice game data from liqd.com in production — 5,936 real bets across 5 phases, USDT, with LIQD’s own verify reply stored for every round
Capture environmentProduction site liqd.com · one anonymous account, opened and funded by ProvablyFair.org · four capture files
Total Records5,936 bets across 34 epochs (200 per Phase A epoch, 100 per Phase D epoch)
Captured7 to 10 November 2026 (09:45 UTC on 7 November to 19:00 UTC on 10 November)
SHA-25641ea55fcadd903768be3a92725f2100fe2e794ab300d6842ce946124ea7d5042

Fields used: serverSeed, hashedServerSeed, nextHashedServerSeed, clientSeed, nonce, params (lower, upper, inverted), roll, win, multiplier, betAmount, winningAmount, stakeWallet, winningAmountWallet, verifier

src/loader.ts recomputes the SHA-256 above and aborts the suite before any step runs on a mismatch. Every served value is kept as served — amounts as the 8-decimal strings LIQD returns — and the dataset records where each field came from (meta.conversion). The capture checker’s printout of each of the four raw capture files ships as evidence (E16, E18, E19, E21). Every computational claim downstream of the dataset is reproducible from the file itself.

1.11Verified Invariants10 invariants
2 columns
InvariantResult
SHA-256(utf8(serverSeed)) = hashedServerSeed for all 34 revealed seedsPass
Next-seed pre-commitment chain intact for all 30 in-file transitions, plus the pre-capture link of each of the four capture filesPass
hashedServerSeed constant within epoch for all 34 epochs — no mid-epoch seed switchingPass
Zero nonce gaps within any epoch (contiguous from 0)Pass
Zero nonce duplicates within any epochPass
Every epoch holds exactly its planned number of bets (34 / 34 — 200, 100, 118, 117 or 1), bound to the code constant, not the dataset headerPass
Same inputs produce the same roll, byte-identical on the two-decimal grid, for all 5,936 betsPass
Recomputed roll reproduces the served win flag under the half-open rule for all 5,936 betsPass
Every epoch opens at the post-rotation nonce LIQD served (nonceStart 0) — 34 / 34 epochsPass
Player-set client seeds honoured: 500 / 500 Phase D bets recompute; a changed seed changes the roll on 5,936 / 5,936 betsPass
1.12Reproduction InstructionsRun locally

Clone the repository, install dependencies, and run the verification suite:

reproduce-s1.sh · 5 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dice && git checkout v1.3.0npm cinpm run verify# Expected output: Steps 1–6 all PASS
Steps 1–6 cover all Seed, Nonce & Determinism checks. Expected output:

  [PASS] Step 1 — Seed Hash Integrity
  [PASS] Step 2 — Next-Seed Pre-Commitment Chain
  [PASS] Step 3 — Hash Consistency Within Epoch
  [PASS] Step 4 — Nonce Audit
  [PASS] Step 5 — Roll Recomputation & Draw Bias Bound
  [PASS] Step 6 — Win-Rule Reproduction
02

RNG & Entropy Model

Is the randomness genuinely random, or could it be rigged?

Each roll is computed from your seeds and the nonce with HMAC-SHA256, a standard cryptographic function, and lands on a number from 0.00 to 99.99. Nothing else goes in: no clock, no hidden server state, no extra randomness. The specified RNG gives all 10,000 rolls equal probability: a draw that would favour some numbers is thrown away and drawn again. Our own implementation, written from the specification without LIQD’s code, reproduces all 5,936 live rolls.

Cryptographic Randomness Verification

5,936 / 5,936captured rolls reproduced

What we verified

  • Each roll is one HMAC-SHA256 draw over the client seed and nonce, keyed by the server seed
  • Only the disclosed inputs affect the roll: no timestamps, no hidden server state, no extra randomness
  • The specified RNG gives all 10,000 rolls equal probability: a draw that would favour some numbers is discarded
  • Our own implementation, written from the specification without LIQD’s code, reproduces all 5,936 live rolls
  • In 138 million simulated rolls, the draws spread evenly, show no link from one roll to the next, and every target and band tested returns what the math predicts
  • Your client seed is a real input: changing it changed the roll on all 5,936 bets, and the 500 bets under seeds set as a player recompute

What this means for you

  • Each roll is generated fairly and cannot be skewed
  • Every number from 0.00 to 99.99 has exactly the same chance: no number is favoured
  • No hidden randomness or server-side tricks influence the roll
  • Consecutive rolls are independent: past results don’t affect future ones
  • The algorithm depends only on seeds you can verify
5,936 / 5,936captured rolls reproduced
  • Each roll is one HMAC-SHA256 draw over the client seed and nonce, keyed by the server seed
  • Only the disclosed inputs affect the roll: no timestamps, no hidden server state, no extra randomness
  • The specified RNG gives all 10,000 rolls equal probability: a draw that would favour some numbers is discarded
  • Our own implementation, written from the specification without LIQD’s code, reproduces all 5,936 live rolls
  • In 138 million simulated rolls, the draws spread evenly, show no link from one roll to the next, and every target and band tested returns what the math predicts
  • Your client seed is a real input: changing it changed the roll on all 5,936 bets, and the 500 bets under seeds set as a player recompute
RNG Pipeline — HMAC-SHA256 → uint32 → rejection sampling → mod 10,000 → roll — illustrated flow
CheckResultEvidence
RNG derived only from disclosed inputsPassOne HMAC-SHA256 draw per bet, from the server seed, client seed and nonce, with no hidden randomness
No hidden inputsPassNo timestamps, outside services or server-side state: every roll recomputes from the three disclosed inputs alone
Our own implementationPassWritten from the specification by someone who never opened LIQD’s code, it reproduces all 5,936 live rolls exactly
LIQD verifier cross-checkPassLIQD’s own verifier returned the same roll and result for all 5,936 rounds and agreed on every boundary case we tried: a second check, not the source
Draw biasPassEvery roll value gets exactly the same share of the possible draws, so no number is favoured
Seed encodingPassThe server seed is used as bytes for the draw and as text for its hash, and all 5,936 rolls match that way
Serial independencePassNo sign of a link between one roll and the next across 200,000 simulated rolls
Client seed influencePassChanging the client seed changed the roll on all 5,936 bets, and the 500 bets under seeds set as a player recompute
RNG derived only from disclosed inputsPass
One HMAC-SHA256 draw per bet, from the server seed, client seed and nonce, with no hidden randomness
No hidden inputsPass
No timestamps, outside services or server-side state: every roll recomputes from the three disclosed inputs alone
Our own implementationPass
Written from the specification by someone who never opened LIQD’s code, it reproduces all 5,936 live rolls exactly
LIQD verifier cross-checkPass
LIQD’s own verifier returned the same roll and result for all 5,936 rounds and agreed on every boundary case we tried: a second check, not the source
Draw biasPass
Every roll value gets exactly the same share of the possible draws, so no number is favoured
Seed encodingPass
The server seed is used as bytes for the draw and as text for its hash, and all 5,936 rolls match that way
Serial independencePass
No sign of a link between one roll and the next across 200,000 simulated rolls
Client seed influencePass
Changing the client seed changed the roll on all 5,936 bets, and the 500 bets under seeds set as a player recompute
✓  Unbiased and Cryptographically Sound

Every roll is computed only from the server seed, client seed and nonce, and our own implementation, written from the specification, reproduces every live roll. The specified RNG gives all 10,000 rolls equal probability, and 200,000 simulated rolls show no sign of a link between one roll and the next. The client seed is a real input: changing one character changed the roll on every bet we captured.

How It Works — RNG & Entropy Model7 sections
2.1RNG Function Implementation

Each Dice bet makes exactly one draw. An HMAC-SHA256 digest is computed with the hex-decoded server seed as key and clientSeed:nonce:cursor as the message, where cursor is 0. The 32-byte digest is scanned in up to eight 4-byte big-endian chunks; the first chunk below the maxFair ceiling is reduced % 10000 to give an integer draw in [0, 10000), and dividing by 100 places it on the two-decimal roll scale 0.00 – 99.99. If all eight chunks were rejected — about 7 × 10⁻⁴⁷ per bet — the specification defines no further draw, so our implementation stops with an error; no captured draw needed even a second chunk. The band and stake never enter this function — they are applied to the roll afterwards.

2 columns
ComponentDetail
Hash functionHMAC-SHA256 (32-byte digest)
Keyhex_decode(serverSeed) — 16 raw bytes (distinct from the commitment domain, which hashes the seed text)
MessageclientSeed:nonce:cursor — UTF-8, literal colons, no padding; cursor = 0
Extraction4-byte big-endian chunks → readUInt32BE → uint32, up to 8 per digest
Rejectionchunk < maxFair where maxFair = floor(2³² / 10000) × 10000 = 4,294,960,000
Reductionuint32 % 10000 → integer draw in [0, 10000)
Scalingdraw / 100 → roll on the 0.00 – 99.99 grid
Exhaustion pathAll 8 chunks rejected → no further draw defined; our implementation stops with an error (≈ 7 × 10⁻⁴⁷ per bet, never reached)
OutputOne roll per bet — the band is applied to it afterwards
src/rng.ts · generateProvablyFairNumber · Verified
// §2 Step 2: walk the 32-byte digest in eight 4-byte big-endian chunks; the// first chunk below LIMIT gives the draw as chunk mod range. If all eight are// rejected the spec has no settled continuation (O2), so we throw rather than// invent one.export function generateProvablyFairNumber(  serverSeed: string,  clientSeed: string,  nonce: number,  cursor: number,  range: number,): number {  const limit = maxFairFor(range);  const digest = hmacDigest(serverSeed, clientSeed, nonce, cursor);  for (let i = 0; i + 4 <= digest.length; i += 4) {    const v = digest.readUInt32BE(i);    if (v < limit) return v % range;  }  throw new Error("all 32-bit chunks of the digest were rejected (spec O2: continuation unspecified)");}
Result: Our implementation matches all 5,936 live bets with zero roll mismatches (Step 5). It was written from a specification (docs/ALGORITHM.md) by an implementer who never opened LIQD’s code, its client bundle or any port of it, and the specification’s 128 vectors and property checks pass (tests/dice/rngSpecTests.ts). LIQD’s own production verify endpoint is used only as a second check — its stored reply returns the served roll for all 5,936 rounds, and it agrees on all 33 boundary probes (E17, E20).
2.2Entropy Sources

All randomness derives exclusively from the deterministic HMAC-SHA256 function combining three cleanly separated inputs — each visible in the fairness panel or the bet record:

Entropy Sources — illustrated flow
3 columns
SourceControlled ByPurpose
Server SeedCasinoBase randomness — the HMAC key, committed via SHA-256 hash of the seed text before betting
Client SeedPlayerPlayer-contributed entropy — mixed into every HMAC message
NonceSystemUniqueness per bet (counting from 0 within each epoch, audited gap-free)
CursorSystemFixed at 0 — one draw per bet. An index, not an entropy source
No mixed entropy sources detected. Run the same inputs multiple times — results are always identical. Timing, bet amount, band, balance, and session state are all absent from the derivation. 5,936/5,936 confirmed.

How we know: 5,936/5,936 bets were recomputed using only the three declared inputs. If any hidden entropy source existed, recomputation would fail. It does not.

Verified absent: No timestamps, no Math.random(), no external APIs, no server-side mutable state, and no external beacon (no drand round, block hash, or VRF). Only: HMAC-SHA256(hexDecode(serverSeed), clientSeed:nonce:0). Because no external entropy is used, cherry-pick containment is structural rather than cryptographic — the commitment plus the player-controlled client seed carry the fairness; S4 covers exactly what that means and how it is checked.

2.3Modulo Bias Analysis

The draw is chunk % 10000. Modulo bias occurs because 2^32 is not evenly divisible by 10,000 — the 32-bit range holds 429,496 complete cycles of 10,000 plus a remainder of 7,296 values, so without a guard the residues 0–7,295 would each be reachable one extra time. The algorithm eliminates this bias entirely via rejection sampling: a ceiling maxFair = floor(2^32 / 10000) × 10000 ensures only unbiased chunks are used. Any chunk ≥ maxFair is discarded and the next 4-byte chunk of the same digest is tried:

range                = 10,000
2^32                 = 4,294,967,296
floor(2^32 / 10000)  =       429,496
maxFair = 429,496 × 10,000 = 4,294,960,000
dead values          = 2^32 − maxFair = 7,296
P(chunk rejected)    = 7,296 / 2^32      ≈ 1.70e-6
P(all 8 chunks rejected) = (7,296 / 2^32)^8 ≈ 6.9e-47
draws in this capture    = 5,936 (one per bet)
expected chunk rejections ≈ 5,936 × 1.70e-6 ≈ 0.010
observed                  = 0  (every captured roll came from the first chunk)
Result: Zero modulo bias in the specified draw: rejection sampling via the maxFair ceiling gives every grid point exactly equal probability, and our implementation’s rejection branch is exercised by a unit vector and the Pass 2 replay. No captured production roll exercised the rejection branch, so its behaviour on LIQD’s server is taken from the published specification.

Below maxFair, each of the 10,000 residues owns exactly 429,496 values — perfectly uniform. The 7,296 values at the top of the 32-bit space are discarded. Step 5 computes this bound from the same maxFairFor(10000) the draw applies (src/bias.ts), so the figures describe the code that produced the rolls, and it fails the audit if the accepted window is not a whole number of ranges. Our implementation’s rejection branch is exercised by a constructed unit vector (tests/dice/rngTests.ts: first chunk ≥ maxFair is skipped, second chunk taken) and by the Pass 2 replay, which reaches one cell whose first chunk falls in the rejected tail (epoch 8, nonce 6366 — a modelled continuation beyond the captured nonces); across the 5,936 captured draws every roll came from the first chunk, matching the ≈ 0.010 expectation.

2.4RNG Isolation

Each bet uses a unique nonce in the HMAC message (clientSeed:nonce:0), ensuring per-bet outputs are cryptographically independent. HMAC-SHA256 is a pseudorandom function — knowing one roll gives no usable information about any other roll under the same seed pair. There is no shared state between bets or between epochs, and there is no second draw inside a bet for the band to interact with: the roll is produced first, in isolation, and the band is applied to it afterwards.

RNG Isolation — illustrated flow
Result: RNG isolation confirmed. No state leakage between bets or epochs. Each HMAC call is independently keyed and messaged.

Evidence: The diceRoll implementation in 1.6 confirms this — it is a pure function with no class state, no external calls, and no cross-bet memory. It takes exactly three arguments (serverSeed, clientSeed, nonce) — no wager, no band, no timestamp, no account identifier — and returns a number. Same inputs always produce the same output; if any hidden input influenced the roll, the reference implementation (which lacks that input) could not reproduce 5,936 / 5,936 rounds. The strongest cross-phase evidence: Phase C repeats the game at $10.00 (100× the $0.10 stake) and Phase D swaps in five player-set client seeds — both recompute under the identical three-argument function.

2.5Monte Carlo Simulation (138M Rolls)

A 138,000,000-roll Monte Carlo simulation checks the algorithm’s distribution at scale. Its seed pairs are our own — derived from a pinned master seed as HMAC(SIM_MASTER_SEED, counter), independent of LIQD’s seeds and rotated every 50 rolls — so the whole experiment replays byte for byte: npm run test:full regenerates the committed artifact exactly. Pass 1 has four parts: 2,000,000 draws binned into 100 cells for uniformity (with the first 200,000 rolls screened for serial structure), 98 over-mode targets at 1,000,000 bets each (over 2.00 to over 99.00, win chance 98% to 1%), nine named bands at 2,000,000 bets each across all four modes, and a 20,000,000-bet run on under 50 (1.98×) sampled at seven checkpoints. Step 16 scores the committed artifact deterministically — every derived field, standard error and win count is recomputed from the stored statistics and must match exactly.

2 columns
MetricValue
Rolls138,000,000 — 2M uniformity draws + 98 targets × 1M bets + 9 bands × 2M bets + 20M under-50 bets
SeedsOur own, from the pinned master seed — replayable byte for byte
Draw uniformity (χ², 100 bins, df = 99)χ² = 108.885, p = 0.2335 — two-sided pass at α/3 (2,000,000 draws)
Serial screen (first 200,000 rolls)lag-1 z = 0.159 < 2.9352; runs test p = 0.6910 ≥ 3.333e-3
98 over-mode targets (1M each)98 / 98 within 5·SE + 1e-4 of 0.99; mean 99.0203%, 0.98·SE from 99.0000%; largest deviation 3.08·SE (over 56.00)
Effective-edge bands (9 × 2M)9 / 9 within 5·SE + 1e-4 of 0.99; largest deviation 2.12·SE (over 90)
Under-50 run (20M)99.0476% vs the proven 99.0000% — 2.15·SE, inside the 5·SE tolerance
src/config.ts · simulation parameters · Verified
export const SIM_UNIFORMITY_DRAWS = 2_000_000;export const SIM_SERIAL_DRAWS = 200_000;export const SIM_EDGE_BETS = 2_000_000;// …export const SIM_RTP_BETS = 20_000_000;/** The sample sizes the convergence series must contain, in order. */export const SIM_RTP_MARKS: readonly number[] = [1_000, 10_000, 100_000, 1_000_000, 5_000_000, 10_000_000, SIM_RTP_BETS];// …export const SIM_TARGET_BETS = 1_000_000;/** Per-target sample sizes at which the cross-target mean RTP is recorded, in order; the last is SIM_TARGET_BETS. */export const SIM_TARGET_MARKS: readonly number[] = [10_000, 50_000, 100_000, 500_000, SIM_TARGET_BETS];// …export const SIM_MASTER_SEED = 'a11d17e5c0ffee5ea1ed0c5b1b7ea5e5d1ce5eed5a1710add1ce5eed10addba5';// …export const SIM_TARGETS: readonly { label: string; params: DiceParams }[] = Array.from(  { length: 98 },  (_, i) => ({ label: `over ${i + 2}.00`, params: { lower: i + 2, upper: 100, inverted: false } }),);
Result: 138M rolls simulated. Uniformity and serial independence pass at the Bonferroni-corrected level; all 98 targets and all nine effective-edge bands sit inside their 5·SE tolerance, and the 98-target mean lands 0.98 standard errors from the 99.0000% identity. The results are consistent with a uniform draw across the 10,000-point grid (Step 16).

All four families pass. The three statistical screens (uniformity, lag-1, runs) are each judged at α/3 = 3.333e-3 so the family has level α = 0.01; the uniformity screen is two-sided, rejecting a statistic too uniform to be a real 2,000,000-draw sample as well as one that is non-uniform. The 98 targets and the nine effective-edge rows must each sit within 5 × SE + 0.0001 of 0.99, and each row’s simulated RTP must be exactly the return that some integer win count produces under the producer’s own accumulation — a published number that no integer count can reach fails the step.

Methodology: the roll is a single uniform outcome per bet, so a 100-cell chi-squared against N/100 is the correct uniformity test. Every target’s client seed and first server seed are re-derived from the master seed at its fixed position in the seed stream, and the 98-target mean is recomputed at each of its five marks (10K, 50K, 100K, 500K and 1M bets per target). The under-50 series stores the integer win count, RTP and standard error at each checkpoint; Step 16 recomputes every standard error and confirms the win counts (493 / 5,046 / 50,371 / 499,779 / 2,501,269 / 5,002,354 / 10,004,806) are cumulatively consistent and reconstruct bit-for-bit to the published values.

2.6Serial Independence

Serial independence ensures consecutive rolls are not correlated — a high roll on one bet does not make the next more or less likely to be high. Two tests were applied to the first 200,000 rolls of the Pass 1 uniformity stream, each judged at the Bonferroni-corrected α/3 = 3.333e-3 (the third screen in the family is uniformity itself):

Lag-1 autocorrelation: Pearson correlation between consecutive rolls, r₁ = 0.000355, standardised as z = r₁ · √n = 0.159. The critical value is the two-sided normal quantile at α/3, 2.9352; the artifact stores the same value and Step 16 checks they agree. z clears it comfortably.

Wald-Wolfowitz runs test: Tests whether the sequence of above/below-50 outcomes has the expected number of runs. z = −0.398, two-sided p = 0.6910 — re-derived from the stored cell counts (99,912 runs, n₁ = 100,103 of 200,000) rather than read; clear at α/3.

src/stats.ts · lag1Autocorrelation · Verified
export function lag1Autocorrelation(series: number[]): number {  const n = series.length;  let mean = 0;  for (let i = 0; i < n; i++) mean += series[i];  mean /= n;  let num = 0, den = 0;  for (let i = 0; i < n - 1; i++) num += (series[i] - mean) * (series[i + 1] - mean);  for (let i = 0; i < n; i++) den += (series[i] - mean) ** 2;  return den === 0 ? 0 : num / den;}
Result: Both serial screens clear at α/3: lag-1 z = 0.159 against 2.9352, runs p = 0.6910. The screens find no sign of serial dependence (Step 16).
2.7Worked Example — Full RNG Trace

Real bet from dataset — bet JOaaqudLC5XcE2aFNic0w (Phase A, epoch 0), nonce 9, under 98. Verified from dice-prod-5936bets.json. One HMAC digest, eight candidate chunks — the first is below the ceiling, so it is the draw:

serverSeed = 3085a86bd812800c76ae7d81191955b2
clientSeed = audit8f7ccfa4326c
nonce      = 9
cursor     = 0
message    = audit8f7ccfa4326c:9:0
digest     = 0227b8f4a2868a7df388b2431204df236ef73adf635599eedbe030ce63562c4a
maxFair    = 4,294,960,000
5 columns
chunkhexuint32< maxFair?draw (% 10000)
00227b8f436,157,684yes — taken7684 → roll 76.84
1a2868a7d2,726,726,269(not needed)—
2f388b2434,085,822,019(not needed)—
763562c4a1,666,591,818(not needed)—
Parity verified: Bet JOaaqudL… — the roll matches the single-draw HMAC recomputation exactly. 36,157,684 % 10,000 = 7,684, and 7,684 / 100 = 76.84, exactly as the live game recorded and as LIQD’s own verify endpoint returned. Against the band [0, 98) the roll wins — the featured bet’s payout is traced in S3.8.
Live Game76.84
Verifier76.84
Technical Evidence & Verification5 sections
2.8Evidence Coverage Summary10 checks
3 columns
Verification AreaCoverageResult
Our implementation (Step 5)5,936 / 5,936 bets — written from the specification; its 128 specification checks passPass
LIQD verifier cross-check5,936 / 5,936 stored verify replies equal the served round; 33 / 33 boundary probes (E17, E20) agreePass
Key encoding (hex vs UTF-8)Confirmed via recomputation — HMAC keys the decoded bytes, commitment hashes the textPass
Modulo bias analysisRejection ceiling 4,294,960,000; bias 0 from the draw’s own bound; 0 rejected chunks in 5,936 draws; branch exercised by a unit vector and the Pass 2 replayPass
External entropy non-participation (Step 5)5,936 / 5,936 reproduced from disclosed inputs alonePass
Draw uniformity (Step 16)χ² = 108.885, df = 99, p = 0.2335 over 2,000,000 draws — two-sided pass at α/3Pass
Serial independence (Step 16)lag-1 z = 0.159 < 2.9352; runs p = 0.6910 (200,000 rolls)Pass
Effective-edge bands (Step 16)9 / 9 bands within 5·SE + 1e-4 of 0.99 at 2,000,000 bets eachPass
Live-sample serial screen (Step 22, informational)The 5,936 captured rolls in order: lag-1 z = 1.186, runs p = 0.0966 — no serial dependencePass
Client seed influence (Step 14)500 / 500 Phase D bets + a changed seed changes 5,936 / 5,936 rollsPass
2.9Code References10 source files
2 columns
FilePurpose
src/rng.tsHMAC-SHA256 single draw (commitHash, generateProvablyFairNumber, diceRoll) — written from docs/ALGORITHM.md
docs/ALGORITHM.mdThe specification the RNG was written from — inputs, commitment, derivation, win rule, settlement and the production source of each
src/bias.tsThe draw-bias bound, computed from the same maxFairFor the draw applies (Step 5)
src/simulate.tsMonte Carlo simulation (138M rolls in Pass 1, then the Pass 2 replay of the 34 casino seeds), deterministic from the pinned master seed, and chart rendering
src/stats.tsChi-squared (exact regularized incomplete gamma), lag-1 autocorrelation, Wald-Wolfowitz runs test, AS 241 normal quantile, exact binomial tail
src/sim-checks.tsInteger win-count recovery, convergence-series validation, the seven scored statistical screens and their nominal levels
tests/steps/determinism.tsSteps 5–6: Roll recomputation, draw-bias bound, win-rule reproduction and LIQD’s stored verify replies
tests/steps/simulation.tsSteps 16–17: artifact binding and statistic reconciliation for Pass 1; Pass 2 re-derivation from the dataset’s own seeds
tests/dice/rngSpecTests.tsThe specification’s 128 vectors and property checks
tests/dice/rngTests.ts18 unit tests — production rounds of every phase from roll to credit, the rejection branch, the commitment convention, client-seed sensitivity, LIQD’s verifier replies at the bounds (E17), the 59,998-band edge identity
2.10Verified Invariants12 invariants
2 columns
InvariantResult
HMAC-SHA256 output matches live game for all 5,936 betsPass
Key is hex-decoded (16 bytes, not UTF-8) — wrong encoding produces wrong rollsPass
Message format is clientSeed:nonce:cursor with cursor 0 — literal colons, no paddingPass
Chunks scanned big-endian, 4 bytes, first accepted winsPass
Rejection sampling eliminates modulo bias — the draw’s own bound is 10,000 × 429,496, so every residue owns exactly 429,496 valuesPass
Zero rejected chunks across all 5,936 captured draws on a direct count (expected ≈ 0.010); rejection branch exercised by a unit vector and the Pass 2 replayPass
No external entropy sources required for roll computationPass
Draw distribution is consistent with uniform across the 10,000-point grid (χ² p = 0.2335, 2,000,000 draws, two-sided)Pass
Lag-1 z < 2.9352 and runs p ≥ 3.333e-3 on 200,000 consecutive rollsPass
Nine effective-edge bands within 5·SE + 1e-4 of 0.99, each reconstructing bit-for-bit from an integer win countPass
98 / 98 over-mode targets within 5·SE + 1e-4; the 98-target mean lands 0.98·SE from the 99.0000% identity; the 20M under-50 run lands 2.15·SE, inside the 5·SE tolerancePass
Client seed change produces a different roll on 5,936 / 5,936 bets; 500 / 500 player-set-seed bets recomputePass
2.11Datasets UsedSource artifacts
Simulation: outputs/simulation-results.json — 138M rolls (Pass 1: uniformity, serial, 98 over-mode targets, nine edge bands, the under-50 run) + the 34 casino seeds replayed for 10,000 nonces each (Pass 2)
Primary dataset: data/dice-prod-5936bets.json — 5,936 live bets for roll recomputation (Step 5)
Simulation output: outputs/simulation-results.json — Pass 1 (2M-draw uniformity + serial, 98 targets × 1M, 9 bands × 2M, 20M under-50 run) + Pass 2 (served-band return over 34 seeds × 10,000 nonces; 50 + 50-draw windows against an exact discrete null) · SHA-256 c6698388eb242683…
Verification output: outputs/verification-results.json — the 22 steps, including Step 16’s screen-by-screen reconciliation and the nominal allowance accounting
Convergence chart: outputs/rtp-convergence.html — the 98-target mean series, rendered from the saved series by src/chart.ts · SHA-256 6b7b6bb7c474a49b… (pinned and checked by Step 19)
Reference vectors: tests/dice/rngSpecTests.ts (the specification’s 128 checks) and tests/dice/rngTests.ts — 18 known-input unit tests: production rounds of every phase, the rejection branch, the commitment, client-seed sensitivity, LIQD’s verifier replies at the bounds (E17) and the exact edge identity over 59,998 bands
2.12Reproduction InstructionsRun locally

Clone the repository, install dependencies, and regenerate the simulation before verifying:

reproduce-s2.sh · 5 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dice && git checkout v1.3.0npm cinpm run test:full   # regenerates the 138M-roll simulation from its pinned master seed, then verifiescat outputs/simulation-results.json
S2-related steps:

  [PASS] Step 5 — Roll Recomputation & Draw Bias Bound
  [PASS] Step 6 — Win-Rule Reproduction
  [PASS] Step 14 — Client-Seed Control
  [PASS] Step 16 — Simulation — Pass 1 (RNG + Edge)
  [PASS] Step 22 — Live-Sample Serial Independence (informational)

The regenerated outputs/simulation-results.json and outputs/rtp-convergence.html are byte-identical to the committed files (SHA-256 c6698388… and 6b7b6bb7…).
03

Verifier Parity

Does the live game actually follow its own rules?

For every one of the 5,936 bets, we recomputed the roll from the revealed seeds and compared it with what the live game served, to the last decimal. We also re-derived every win or loss from your band, and checked every payout: your stake times 99 ÷ win chance, rounded down to 8 decimals. LIQD’s own verifier was asked about every round too. A single mismatch would break the fairness guarantee. There were none.

Live ↔︎ Verifier Parity

5,936 / 5,936bets matched

What we verified

  • Every bet recomputed from its seeds: the roll itself matched exactly, not just the payout
  • All 2,622 wins paid stake × 99 ÷ win chance, rounded down to 8 decimals, and all 3,314 losses paid 0
  • Every win or loss matches your band applied to the roll: no mislabelled results
  • LIQD’s own verifier returned the same roll, result and multiplier for all 5,936 rounds
  • Your bet amount plays no part in the roll: it depends only on the seeds and nonce
  • Every part of our run recomputed exactly: every mode and win chance, the seeds set as a player, the 99× and 9900× settings and the $10 stake

What this means for you

  • Our recomputation gets the exact roll the live game served, on every bet
  • Every bet you play can be independently recomputed by anyone
  • No hidden logic changes outcomes based on how much you bet or which band you choose
  • The live game we tested follows its algorithm exactly
5,936 / 5,936bets matched
  • Every bet recomputed from its seeds: the roll itself matched exactly, not just the payout
  • All 2,622 wins paid stake × 99 ÷ win chance, rounded down to 8 decimals, and all 3,314 losses paid 0
  • Every win or loss matches your band applied to the roll: no mislabelled results
  • LIQD’s own verifier returned the same roll, result and multiplier for all 5,936 rounds
  • Your bet amount plays no part in the roll: it depends only on the seeds and nonce
  • Every part of our run recomputed exactly: every mode and win chance, the seeds set as a player, the 99× and 9900× settings and the $10 stake
Parity Verification Flow — seeds → recompute → compare → exact match — illustrated flow
5,936Live Bets Tested
100%Parity Rate
$0.10 & $10Bet Sizes Tested
0Mismatches
CheckResultEvidence
Roll recomputationPassAll 5,936 rolls match exactly, to the last decimal
Win-rule reproductionPassAll 5,936 wins and losses follow from the roll and your band, outside bands included
LIQD verify repliesPassLIQD’s own verifier, asked about every round, returned the same roll, result and multiplier on all 5,936
Multiplier derivationPassEvery winning multiplier is exactly 99 ÷ win chance, on all 2,622 wins
Payout arithmeticPassEvery payout is stake × multiplier, rounded down to 8 decimals and never up, at both stakes; losses pay exactly 0
Wallet fields in bet repliesPassThe wallet-denominated stake and payout fields match the game’s settlement fields on all 5,936 bets
Bet-size independencePassThe bet amount is not part of the roll: all 235 bets at $10 recompute exactly
Mode coveragePassAll four modes (under, over, inside and outside) played, and every part of our run complete at its planned count
Roll recomputationPass
All 5,936 rolls match exactly, to the last decimal
Win-rule reproductionPass
All 5,936 wins and losses follow from the roll and your band, outside bands included
LIQD verify repliesPass
LIQD’s own verifier, asked about every round, returned the same roll, result and multiplier on all 5,936
Multiplier derivationPass
Every winning multiplier is exactly 99 ÷ win chance, on all 2,622 wins
Payout arithmeticPass
Every payout is stake × multiplier, rounded down to 8 decimals and never up, at both stakes; losses pay exactly 0
Wallet fields in bet repliesPass
The wallet-denominated stake and payout fields match the game’s settlement fields on all 5,936 bets
Bet-size independencePass
The bet amount is not part of the roll: all 235 bets at $10 recompute exactly
Mode coveragePass
All four modes (under, over, inside and outside) played, and every part of our run complete at its planned count
✓  Live game and verifier fully aligned

All 5,936 bets matched our recomputation exactly: rolls, results, multipliers and payouts, in all four modes and at both stakes. Every payout follows the published formula, rounded down to 8 decimals, and LIQD’s own verifier returned the same result for every round.

How It Works — Verifier Parity8 sections
3.1Why Parity Matters

If the verifier produces results that differ from the live game, players cannot trust the verification — the entire provably fair system becomes meaningless. Commit-reveal shows the seed didn’t change; parity shows the game the player experienced is the game the seed dictates. For every captured round the audit rebuilds the roll from raw inputs with our own code, re-derives the win flag from the band, and recomputes the credit from the quotient multiplier and the round-down settlement — then compares all three against what LIQD’s bet replies report. 100% parity is required: a single mismatch anywhere in 5,936 rounds would indicate a bug in the verification logic, manipulation in the live game, or an inconsistent RNG implementation.

Why Parity Matters — illustrated flow
3.2Five-Phase Collection Design

Data was collected on liqd.com in production across five structured phases, each designed to test a specific fairness property. The phases are complementary — together they cover every mode at every win chance, player-set client seeds, the 99× and 9900× settings, and bet-size invariance.

5 columns
PhaseBetsConfigBet AmountPurpose
A — Win-chance coverage5,000Ten win chances (2% to 98%) in five band types — under, over, inside, and outside placed low and high (epochs 0–24, 200 bets each)$0.10Verify the roll, win rule and multiplier formula in every mode at every setting — 100 rounds per setting
D — Player-set client seeds500The Phase A settings under 5 player-set pfaudit-prod-dice- seeds (epochs 25–29, 100 bets each)$0.10Confirms seed control is player-side and the input is consumed
A+ — 99× top-up2001% win chance (99×) in the four modes, 50 each (epoch 30)$0.10The highest-multiplier setting with a captured win
C — Stake equivalence235over 50 (1.98×) (epochs 31–32)$10.00Confirm bet amount is not an RNG input (100× the $0.10 stake)
X — 9900× setting1under 0.01 (0.01% win chance, 9900×) (epoch 33)$0.10The top of the price grid, accepted and settled live
Total: 5,936 bets across 34 seed epochs — phase counts, epoch sizes and mode coverage verified by Steps 11 and 12 against constants in code, not the dataset header. Total wagered: $2,920.10 ($500.00 Phase A + $50.00 Phase D + $20.00 Phase A+ + $2,350.00 Phase C + $0.10 Phase X).
3.3Roll Recomputation (Step 5)

For every bet, the audit independently computes the roll as diceRoll(serverSeed, clientSeed, nonce) / 100 with the epoch’s revealed server seed and compares it to the server-reported roll. The comparison is strict: the served value must be on the two-decimal grid, inside the roll domain, and equal to the recomputed value — no tolerance. The computation uses one HMAC-SHA256 draw with the hex-decoded server seed as key, rejection-sampled below 4,294,960,000 and reduced modulo 10,000.

Roll Recomputation (Step 5) — illustrated flow
tests/steps/determinism.ts · Step 5 · Verified
  let checked = 0, mismatches = 0;  let sample = '';  for (const b of bets) {    const ss = seedMap.get(b.hashedServerSeed);    if (!ss) continue;    const local = diceRoll(ss, b.clientSeed, b.nonce) / SCALE;    const served = Number(b.roll);    // Finiteness guard: a non-numeric served roll makes    // `Math.abs(local - NaN) > 1e-9` false, silently passing; reject it explicitly.    if (!servedRollMatches(served, local)) { mismatches++; if (!sample) sample = `epoch ${b.epoch} nonce ${b.nonce}: local ${local} vs served ${b.roll}`; }    checked++;  }  const rollsOk = mismatches === 0 && checked === bets.length;
Result: 5,936/5,936 bets verified, 0 skipped. Zero roll mismatches — including every 99× and 9900× round and every Phase D player-set-seed round. Every computed roll matches roll in the dataset.
3.4Multiplier Derivation + Credit Arithmetic (Steps 7–8)

For each of the 2,622 winning bets, Step 7 rebuilds the multiplier from the band alone: the winning width in basis points, b = round(100 × W), and the quotient 9900 / b. The served multiplier must equal that quotient bit-for-bit as a binary64 — not within a tolerance. It does on all 2,622 wins; the algebraically identical float form (100 / W) × 0.99 agrees bit-for-bit on only 1,651 of them, which is why the audit pins the integer-basis-point quotient as the served formula. b is our derivation — the field does not appear in the capture; the served value matching the quotient on every win is the evidence for the form. Step 8 then replays the money: winningAmount must equal floor8(stake × multiplier) — the exact product, rounded down to 8 decimals, computed in integer 1e-8 units from the served decimal text — with zero tolerance, and a loss must credit exactly 0. All 5,936 reconcile, at both stakes. Against the raw un-rounded product (decimal stake × the exact rational 9900 / b, the operator’s own number system rather than binary64) the settlement lands exactly on the product on 1,520 wins and rounds the player down on 1,102 — the 35%, 65% and 98% win chances at $0.10, where the product is not on the 8-decimal grid — and never up. Each rounding is less than one 0.00000001 unit, at most 8.16e-9 USDT, and across the whole capture they total 5.79e-6 USDT. This is the rule LIQD stated on 30 September 2026: payouts use exact decimal maths, then round down to 8 decimals.

Multiplier Derivation + Credit Arithmetic (Steps 7–8) — illustrated flow
2 columns
MetricCount
Wins where multiplier === 9900 / basisPoints bit-for-bit2,622 / 2,622
Wins where the float closed form (100 / W) × 0.99 also matches bit-for-bit1,651 / 2,622 (same rational, different binary64)
Bets where winningAmount equals floor8(stake × multiplier) exactly5,936 / 5,936
Wins exactly on / rounded down from / above the raw product1,520 / 1,102 / 0
Max |credit − stake × mult| · total across the capture8.16e-9 USDT · −5.79e-6 USDT
Wins at $0.10 · at $10.002,496 (1,394 exact, 1,102 rounded down) · 126 (all exact, $19.80 each)
tests/steps/payouts.ts · Step 7 + src/config.ts · floor8CreditUnitsServed · Verified
  const numeratorIntegral = Number.isInteger(PAYOUT_NUMERATOR);  let mChecked = 0, mFails = 0, maxDev = 0, closedFormAgrees = 0;  for (const b of bets) {    if (!b.win) continue;    const bp = payoutBasisPoints(b.params);                           // integer basis points (auditor-derived)    const served = PAYOUT_NUMERATOR / bp;                             // operator's exact multiplier    const dev = Math.abs(Number(b.multiplier) - served);    if (dev > maxDev) maxDev = dev;    if (Number(b.multiplier) !== served) mFails++;                    // bit-exact pin, not tolerance    // The float closed form is the SAME rational and a DIFFERENT binary64 on many bands. Counted, so    // the report does not call the two forms "bit-exact" equal.    if (Number(b.multiplier) === quotedMultiplier(b.params)) closedFormAgrees++;    mChecked++;  } /** The same floor on the served multiplier's decimal text: floor8(stake × multiplier). */export function floor8CreditUnitsServed(stake: number | string, multiplier: number | string): bigint {  const [sn, sd] = decimalFraction(stake);  const [mn, md] = decimalFraction(multiplier);  if (sn < 0n || mn < 0n) throw new Error(`floor8CreditUnitsServed: negative input ${stake} × ${multiplier}`);  return (sn * mn * UNITS_PER_WHOLE) / (sd * md);}
Result: All 2,622 wins: served multiplier is the binary64 quotient 9900 / b, bit-exact (Step 7). All 5,936 bets: credited amount is the exact product rounded down to 8 decimals, zero tolerance, losses exactly 0 (Step 8). Zero payout errors.
3.5Loss Settlement & Wallet Fields (Steps 9–10)

Step 9 checks every losing bet in isolation: winningAmount must be exactly 0 and multiplier exactly 0 — 3,314 / 3,314 conform, with no rounding band to hide a stray credit in. Step 10 reads the wallet-denominated settle-response fields, as LIQD’s bet reply serves them: these are settlement-response fields, and the audit reads every payout from the reply, not from a balance change. winningAmountWallet must equal the same round-down settlement of stakeWallet × multiplier, and both wallet fields must equal the game’s settlement fields (winningAmount, betAmount) — 5,936 / 5,936, 0 missing, 0 divergent. Every captured band is also priced inside the plan’s span, win chance 0.01% to 98% (1.0102× to 9900×).

3 columns
ScopeCoverageVerified
Losses — winningAmount == 0 and multiplier == 03,314 rounds3,314 / 3,314
Wallet credit — winningAmountWallet == floor8(stakeWallet × multiplier)5,936 rounds5,936 / 5,936 (0 missing)
Wallet fields == settlement fields (stake and payout agree)5,936 rounds5,936 / 5,936 (0 divergent)
Captured bands priced within the plan’s span, 1.0102× – 9900×5,936 rounds0 out of range
Result: 3,314 losses pay exactly zero with a zero multiplier (Step 9); the wallet-denominated settle fields reconcile with the formula and the game’s settlement fields on all 5,936 bets (Step 10).
3.6Settlement Determinism (Step 20)

Steps 7 and 8 check the served multiplier and the credit against it. Step 20 removes the served multiplier from the picture entirely: for every bet, the outcome and the credited amount are rebuilt from (roll, band, stake) alone — win flag from the half-open rule, multiplier as the integer-basis-point quotient 9900 / b, credit as floor8(stake × 9900 / b) in exact integers — and must match the served settlement with zero tolerance. In a legitimate game nothing else can move the money: no hidden fee, no per-account adjustment, no stake-dependent formula. All 5,936 rounds conform, across all four modes, 2,622 wins and 3,314 losses.

tests/steps/standardization.ts · Step 20 + src/config.ts · floor8CreditUnits · Verified
    let chk = 0, bad = 0;    const modesSeen = new Set<string>(); let wins = 0, losses = 0;    const fails: string[] = [];    for (const b of bets) {      chk++;      modesSeen.add(bandMode(b.params));      const win = diceWin(Number(b.roll), b.params);      if (win) wins++; else losses++;      const expected = win ? floor8CreditUnits(b.betAmount, b.params) : 0n;      const credited = amountUnits(b.winningAmount);      // win flag must match the roll/band rule AND the credit must be the determined amount      if (win !== !!b.win || credited !== expected) {        bad++; if (fails.length < 3) fails.push(`epoch ${b.epoch} nonce ${b.nonce}: credited ${b.winningAmount} vs determined ${expected} units`);      }    }    const coverOk = modesSeen.size === 4 && wins > 0 && losses > 0; export function floor8CreditUnits(stake: number | string, p: DiceParams): bigint {  const bps = payoutBasisPoints(p);  if (bps <= 0) throw new Error(`floor8CreditUnits: band with no win chance: ${JSON.stringify(p)}`);  if (!Number.isInteger(PAYOUT_NUMERATOR)) throw new Error('floor8CreditUnits: PAYOUT_NUMERATOR is not an integer');  const [sn, sd] = decimalFraction(stake);  if (sn < 0n) throw new Error(`floor8CreditUnits: negative stake ${stake}`);  // stake × PAYOUT_NUMERATOR / bps, in 1e-8 units, rounded down: floor(sn·N·1e8 / (sd·bps))  return (sn * BigInt(PAYOUT_NUMERATOR) * UNITS_PER_WHOLE) / (sd * BigInt(bps));}
Result: 5,936 / 5,936 settlements are fully determined by (roll, band, stake) — 0 mismatches; coverage: all four modes, 2,622 wins and 3,314 losses (Step 20).
3.7Phase C — Bet-Size Invariance (Step 18)

Phase C placed 235 bets at $10.00 on over 50 (1.98×) — 100× the $0.10 stake used in every other phase. All 235 rolls were recomputed byte-identically from revealed seeds (0 mismatches). The structural point: diceRoll takes no wager argument, so the roll cannot depend on stake, and the effective edge for the band is 1.0000% at every stake. The only place betAmount appears is the settlement: every Phase C win was credited floor8($10.00 × 1.98) = $19.80, and the same band at $0.10 in the other phases (110 rounds, 51 wins) was credited $0.198 by the same rule — exactly one hundredth, with the same served multiplier.

Result: Phase C: 235/235 rolls recomputed correctly at $10.00; all 126 wins credit exactly $19.80 and all 109 losses pay 0 (Step 18). Bet amount is not an input to the RNG.
Variance context: Phase C's 235-bet sample at over 50 produced 126 wins against the 117.5 expected — $2,494.80 returned on $2,350.00 staked. At N=235 this is small-sample luck and structurally irrelevant: the claim verified here is roll invariance, not RTP. The 99.0000% RTP is proven analytically in S4.
3.8Worked Example — Full Parity Verification

Real bet from Phase A — bet JOaaqudLC5XcE2aFNic0w (epoch 0), nonce 9, under 98 at $0.10. Verified from dice-prod-5936bets.json — LIQD’s own verify endpoint returned the same roll, win and multiplier for it:

serverSeed = 3085a86bd812800c76ae7d81191955b2
clientSeed = audit8f7ccfa4326c
nonce      = 9
band       = [0, 98), not inverted  (under 98)
betAmount  = $0.10
recorded   = roll 76.84 · win true · multiplier 1.010204081632653 · winningAmount 0.10102040
commitment = 99d78251a09a8c5ee083928d3ff835b1…
3 columns
StepProcessOutput
1Recompute the commitment — SHA-256(utf8(serverSeed))Matches the pre-published hash
2Run diceRoll(serverSeed, clientSeed, 9) / 10076.84 — equals the recorded roll
3Apply the half-open band [0, 98)In band — the won label is correct
4Derive the multiplier 9900 / 98001.010204081632653 — the served field, bit-for-bit
5Round-down settlement of 0.10 × 9900 / 98000.1010204081632653… rounded down → 0.10102040, the credited winningAmount, verbatim
HMAC-SHA256 recomputation + formula · Verified
commitHash(serverSeed)                    → matches the published commitment ✓diceRoll(seed, client, 9)                 → 7684 → roll 76.84  (chunk 0x0227b8f4 = 36,157,684 % 10,000 = 7,684) ✓0 ≤ 76.84 < 98                            → in band → won ✓b = round(100 × 98) = 9800                → multiplier = 9900 / 9800 = 1.010204081632653 (bit-exact) ✓0.10 × 9900 / 9800 = 0.1010204081632653… → rounded down to 8 decimals → 0.10102040 ✓
Parity verified: Bet JOaaqudL… — commitment, roll, win label, quotient multiplier and credited payout all match exactly between the live game and our recomputation. This example exercises Steps 1, 5, 6, 7, 8 and 20 end-to-end; it is one of the 1,102 credits rounded down — by 0.0000000082 USDT, the largest rounding in the capture, shared by every 98% win at $0.10 — and the same bet used for the RNG trace in S2.
Live Game$0.10102040
Our recomputation$0.10102040
Technical Evidence & Verification5 sections
3.9Evidence Coverage Summary12 checks
3 columns
Verification AreaCoverageResult
Roll recomputation (Step 5)5,936 / 5,936 rounds — byte-identical on the two-decimal gridPass
Win-rule reproduction (Step 6)5,936 / 5,936 served win flags under the half-open rule; 5,936 / 5,936 LIQD verify replies equalPass
Multiplier derivation (Step 7)2,622 / 2,622 wins — 9900 / b bit-exactPass
Credit arithmetic (Step 8)5,936 / 5,936 — round-down 8-decimal settlement at zero tolerance, both stakesPass
Loss settlement (Step 9)3,314 / 3,314 losses pay exactly zeroPass
Wallet fields & odds bounds (Step 10)5,936 / 5,936 wallet fields reconcile; 0 bands outside the plan’s span, 1.0102×–9900×Pass
Dataset integrity & population (Step 11)SHA-256 pin match; 5,936 bets · 34 seeds · 34 / 34 epochs at their planned size, bound to code constantsPass
Phase & mode coverage (Step 12)A 5,000 · D 500 · A+ 200 · C 235 · X 1; all four modes at every Phase A win chance (44 / 44 classes ≥ 50 rounds); both stakesPass
Phase D client-seed variation (Step 14)500 bets, 5 player-set client seeds — 500 / 500 matchPass
Phase C bet-size invariance (Step 18)235 / 235 at $10.00Pass
Settlement determinism (Step 20)5,936 / 5,936 rebuilt from (roll, band, stake) alonePass
Multiplier monotonicity (Step 21)12 captured win-chance points and all 9,899 grid points strictly decreasing, 0 inversions; span 1.0102×–9900×Pass
3.10Code References6 source files
2 columns
FilePurpose
tests/steps/determinism.tsSteps 5–6: Roll recomputation, win-rule reproduction and LIQD’s stored verify replies
tests/steps/payouts.tsSteps 7–10: Multiplier derivation, credit arithmetic, loss settlement, wallet fields and odds bounds
tests/steps/dataset.tsSteps 11–12: Dataset integrity and phase / mode coverage — population bound to src/config.ts
tests/steps/phase-d.tsStep 14: Client-seed control — player-set seeds, the submitted seed served back, sensitivity on every bet
tests/steps/standardization.tsSteps 18, 20, 21: Bet-size invariance, settlement determinism, multiplier monotonicity
src/config.tspayoutBasisPoints, quotedMultiplier, diceWin, floor8CreditUnits, floor8CreditUnitsServed, creditResidualSign — the formulas every payout is replayed against
3.11Datasets UsedSource artifacts
Primary dataset: data/dice-prod-5936bets.json — 5,936 live bets across Phases A, D, A+, C and X (34 epochs, four capture files), one hash-pinned dataset
Verify replies: The verifier field of every round — LIQD’s production verify endpoint reply to the round’s revealed inputs, stored with the round (no separate file)
Game config: Quotient formula 9900 / round(100 × W), the half-open win rule and the round-down settlement in src/config.ts — algebraic, not a lookup table
Derived figures: outputs/report-figures.json — the settlement residual counts, settled-RTP span, boundary hit counts, per-phase aggregates and verifier parity quoted in this report, reconciled field-for-field by Step 19
Verification output: outputs/verification-results.json — Steps 5–12, 14, 18, 20–21
3.12Verified Invariants13 invariants
2 columns
InvariantResult
Computed roll matches the served roll byte-identically for all 5,936 betsPass
Half-open rule on the recomputed roll reproduces the served win flag for all 5,936 betsPass
LIQD’s verify reply equals the served roll, win and multiplier for all 5,936 betsPass
multiplier === 9900 / basisPoints (binary64 quotient) for all 2,622 winsPass
winningAmount == floor8(stake × multiplier) for all 5,936 bets, zero tolerance — never above the exact productPass
winningAmount == 0 and multiplier == 0 for all 3,314 lossesPass
Wallet-denominated settle fields equal the game’s settlement fields on all 5,936 betsPass
Credit is fully determined by (roll, band, stake) — no served multiplier needed — for all 5,936 betsPass
Phase C ($10.00) rolls derive from the identical three-argument function as $0.10 bets, and its credit is exactly 100× the same band’s at $0.10Pass
No hidden inputs beyond (serverSeed, clientSeed, nonce) — stakes present are exactly {$0.10, $10.00}Pass
All four modes present at volume; 3,189 distinct bands; 12 distinct win-chance valuesPass
Phase D: 500/500 rolls verified across 5 player-set client seedsPass
Multiplier strictly decreasing in win chance across the 12 captured points and all 9,899 grid points, spanning 1.0102×–9900×Pass
3.13Reproduction InstructionsRun locally

Clone the repository, install dependencies, and run the verification suite:

reproduce-s3.sh · 5 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dice && git checkout v1.3.0npm cinpm run verify# Expected output: Steps 5, 6, 7, 8, 9, 10, 11, 12, 14, 18, 20, 21 all PASS
S3-related steps:

  [PASS] Step 5 — Roll Recomputation & Draw Bias Bound
  [PASS] Step 6 — Win-Rule Reproduction
  [PASS] Step 7 — Multiplier Derivation
  [PASS] Step 8 — Credit Arithmetic
  [PASS] Step 9 — Loss Settlement
  [PASS] Step 10 — Wallet Credit & Odds Bounds
  [PASS] Step 11 — Dataset Integrity
  [PASS] Step 12 — Phase & Mode Coverage
  [PASS] Step 14 — Client-Seed Control
  [PASS] Step 18 — Bet-Size Invariance (Phase C)
  [PASS] Step 20 — Settlement Determinism
  [PASS] Step 21 — Multiplier Monotonicity & Range
04

RTP & Payout Logic

Is the house edge what the casino claims?

LIQD publishes a 99% RTP: a flat 1% house edge on every Dice bet. We checked it without taking any casino figure on trust; that is what anti-circularity means. Your band wins on exactly its share of the 10,000 possible rolls and pays 99 ÷ win chance, so win chance × multiplier is exactly 99% before payout rounding at all 9,899 modelled win-chance widths, in every mode. We also ran 98 million simulated bets, and tested whether LIQD picked its seeds against players. We found no sign of it.

Return to Player Verification

99.0000%theoretical RTP

What we verified

  • The house edge is a flat 1% at every win chance, in every mode and at every bet size
  • We worked out the odds ourselves from the 10,000 possible rolls, never from a casino figure, and checked them on all 5,936 bets
  • LIQD’s published 99% holds at all 9,899 modelled win-chance widths, from 0.01% to 98.99%
  • The multiplier is exactly 99 ÷ win chance on all 2,622 wins, and rounding payouts down at the 8th decimal costs less than 0.00000001 per win
  • The top of the range pays as advertised: the 0.01% setting quotes 9900×, and the 1% setting paid exactly 99× on both wins we captured
  • 98 million simulated bets across 98 targets average 99.0203%, within normal variation of 99%
  • No sign that LIQD chose seeds against players: the bands played under all 34 revealed seeds returned in line with their odds

What this means for you

  • The house edge on Dice is a flat 1%, whichever mode, band or bet size you choose
  • The 99% LIQD advertises is what every setting actually returns
  • The RTP proof is derived independently, without trusting the casino
  • The casino’s seeds show no sign of being chosen against the player
  • Your bet amount doesn’t affect the number rolled
  • Your payout is your stake times the multiplier, rounded down only at the 8th decimal
99.0000%theoretical RTP
  • The house edge is a flat 1% at every win chance, in every mode and at every bet size
  • We worked out the odds ourselves from the 10,000 possible rolls, never from a casino figure, and checked them on all 5,936 bets
  • LIQD’s published 99% holds at all 9,899 modelled win-chance widths, from 0.01% to 98.99%
  • The multiplier is exactly 99 ÷ win chance on all 2,622 wins, and rounding payouts down at the 8th decimal costs less than 0.00000001 per win
  • The top of the range pays as advertised: the 0.01% setting quotes 9900×, and the 1% setting paid exactly 99× on both wins we captured
  • 98 million simulated bets across 98 targets average 99.0203%, within normal variation of 99%
  • No sign that LIQD chose seeds against players: the bands played under all 34 revealed seeds returned in line with their odds
INDEPENDENT DERIVATION
(winning rolls ÷ 10,000) × (99 ÷ win chance %)= 99.0000%
Winning rolls counted on the 10,000-roll grid for every band, never read from LIQD · Multiplier 99 ÷ win chance %, exact · All 9,899 modelled win-chance widths (0.01%–98.99%), every mode · Checked in exact whole numbers on all 5,936 bets

Theoretical RTP before payout rounding. Across the captured stake and band combinations, RTP after payout rounding ranges from 98.999992% to 99%.

99.0000%Theoretical RTP before payout rounding (every band, every mode — exact integer identity)
99.0203%Simulated (98 targets × 1M bets)
1.00%House Edge (flat)
9,899 / 9,899Modelled widths meet LIQD’s published 99%
CheckResultEvidence
Anti-circularityPassWe counted the winning rolls ourselves for every band, using no casino data: the count matches the win chance on all 3,189 bands played
House edge auditPassA flat 1% house edge in every mode, checked in exact whole-number arithmetic on all 5,936 bets, with no tolerance
RTP claimPassLIQD’s Dice page states 99% RTP (a 1% edge), and all 9,899 modelled win-chance widths return exactly that before payout rounding
Settlement roundingPassEvery payout is the exact amount rounded down at the 8th decimal, as LIQD states, so no bet ever returns more than 99%
Simulated RTPPass98 million simulated bets across 98 targets average 99.0203%, within normal variation of 99%, and every target passes
Cherry-pick testPassReplaying the bands played under all 34 revealed seeds shows no shortfall beyond normal variation: no sign of seeds chosen against players
Bet-size invariancePassThe bet amount is not part of the roll: all 235 bets at $10 recompute exactly
Multiplier formulaPassEvery win paid exactly 99 ÷ win chance, and the multiplier falls steadily as the win chance rises, from 9900× at 0.01% to 1.0102× at 98%
Anti-circularityPass
We counted the winning rolls ourselves for every band, using no casino data: the count matches the win chance on all 3,189 bands played
House edge auditPass
A flat 1% house edge in every mode, checked in exact whole-number arithmetic on all 5,936 bets, with no tolerance
RTP claimPass
LIQD’s Dice page states 99% RTP (a 1% edge), and all 9,899 modelled win-chance widths return exactly that before payout rounding
Settlement roundingPass
Every payout is the exact amount rounded down at the 8th decimal, as LIQD states, so no bet ever returns more than 99%
Simulated RTPPass
98 million simulated bets across 98 targets average 99.0203%, within normal variation of 99%, and every target passes
Cherry-pick testPass
Replaying the bands played under all 34 revealed seeds shows no shortfall beyond normal variation: no sign of seeds chosen against players
Bet-size invariancePass
The bet amount is not part of the roll: all 235 bets at $10 recompute exactly
Multiplier formulaPass
Every win paid exactly 99 ÷ win chance, and the multiplier falls steadily as the win chance rises, from 9900× at 0.01% to 1.0102× at 98%
✓  RTP Behaves as Advertised

The 99% RTP comes from simple counting. A band with a given win chance wins on exactly that share of the 10,000 possible rolls and pays 99 ÷ win chance, so the theoretical RTP before payout rounding is exactly 99% at every one of the 9,899 modelled win-chance widths, and LIQD’s published 99% holds at each. 98 million simulated bets agree, and we found no sign of seed selection. Across the captured stake and band combinations, RTP after payout rounding ranges from 98.999992% to 99%: rounding down at the 8th decimal costs less than 0.00000001 per win.

How It Works — RTP & Payout Logic8 sections
4.1Anti-Circularity Proof (Steps 13, 15)

The anti-circularity proof establishes the 99.0000% RTP from first principles without using any casino-supplied probability data. Dice's proof is an algebraic identity rather than a summation — the win probability and the payout multiplier both contain the band's basis-point count b, which cancels exactly. Step 13 derives the win probability from grid arithmetic only, proves the check is falsifiable with a negative control (a deliberately corrupted roll must be rejected by the same predicate Step 5 uses), and anchors the closed-form win count with a counting leg — every one of the 10,000 grid points is passed through the win rule and tallied for each of the 3,189 distinct captured bands, a method in which a scaling or rounding slip is inexpressible. Step 15 then asserts the identity itself in exact integers on every captured bet:

Anti-Circularity Proof (Steps 13, 15) — illustrated flow
3 columns
ComponentFormulaSource
Win probabilityb / 10,000 — b winning grid points under the half-open ruleGrid arithmetic — computed by the audit
Counting anchorLiteral tally: apply diceWin to every draw 0…9999 and count3,189 distinct captured bands — 0 mismatches against the closed form, no tolerance
Quoted multiplier9900 / b — (1 − 0.01) × 10,000 over the basis pointsClosed form — validated bit-exact against every captured win (Step 7)
RTP(b / 10,000) × (9900 / b) = 9900 / 10,000 = 0.99The product — b cancels
Integer form100 · winCount · 9900 === 99 · 10,000 · b (winCount = the literal tally, b = the priced basis points)Asserted with === on 5,936 / 5,936 bets (Step 15) and over 59,998 bands in the unit suite
5 columns
BandWin chance (b / 10,000)Multiplier (9900 / b)P(win) × MultiplierRTP
under 505000 / 10000 = 0.5000001.980000000.99000099.0000%
over 901000 / 10000 = 0.1000009.900000000.99000099.0000%
inside 25–755000 / 10000 = 0.5000001.980000000.99000099.0000%
outside 25–755000 / 10000 = 0.5000001.980000000.99000099.0000%
under 98 (featured bet)9800 / 10000 = 0.9800001.01020408…0.99000099.0000%
over 99100 / 10000 = 0.01000099.000000000.99000099.0000%
under 0.011 / 10000 = 0.0001009900.000000000.99000099.0000%
Result: Every band: RTP = 99.0000% exactly, by cancellation — no summation, no convergence. The counting anchor matches the closed-form win count with integer equality on all 3,189 captured bands, the negative control rejects a corrupted roll (Step 13), and the integer identity holds with === on 5,936 / 5,936 bets (Step 15). Theoretical RTP proof is non-circular and closed-form.

Anti-Circularity Verification:

tests/steps/anti-circularity.ts · Step 13 · Verified
/** * Step 13: Anti-Circularity — the verifier's independence from operator data. * The theoretical quantities (win probability, multiplier, edge) are pure arithmetic over * the roll grid and band geometry — they never read an operator payout/odds field. To prove * the check is falsifiable (not a vacuous PASS), we run a NEGATIVE CONTROL: corrupt one * recomputed roll and confirm the determinism logic would reject it. */ /** * Literal tally over the 10,000-point grid: apply the win rule to every draw and count. * This is the genuinely arithmetic-error-immune anchor — it cannot share a scaling or * rounding mistake with the closed form, because it never scales a bound at all. */function enumCount(p: DiceParams): number {  let c = 0;  for (let d = 0; d < RANGE; d++) if (diceWin(d / SCALE, p)) c++;  return c;}

Why this proof is non-circular: P(win) = b / 10,000 comes from counting grid points, and 9900 / b is the quoted multiplier — LIQD’s 99% return divided by the win chance. They are reciprocals up to 0.99 — they cancel exactly, no summation, no approximation, no "converges to". The identity holds by inspection for every band with b ≥ 1, which is why the 99.0000% RTP is preserved on every mode and every width, from a 98.99% band to the single-grid-point 9900× setting. LIQD’s production verifier confirms the half-open rule at the bounds (E17, E20); no captured bet landed exactly on one, so the verifier, not a settled bet, is the evidence there. What the identity depends on is the half-open rule — with an inclusive upper bound a band would win on b + 1 points and the edge would shrink as the band narrows, reaching a player-favourable 198% at the 0.01% extreme. That rule is what LIQD’s production verifier returns when a roll lands exactly on a bound (E17, S4.7), and every one of the 5,936 settled win flags agrees with it. What the audit adds is evidence that LIQD’s implementation honours the algebra on every captured bet — the quotient really is the multiplier LIQD serves and settles at (Steps 7, 8, 20) — and that the probability side is derived without touching a single operator-supplied number.

4.2RTP Claim Rule (Step 15)

The RTP claim rule (RTP-CLAIM 1.2.0) is part of the audit method: the RTP a casino publishes must hold at every setting the game offers. A published figure counts wherever a player can find it — on the game page, the fairness page, the help page, the bet panel, the rules, or in the game settings the site loads. Each setting’s RTP is computed exactly, as a rational number, from the grid and the multiplier formula — never from the casino’s figure — and must sit within ±0.1 percentage points of the claim. A setting below that band on the house side is a miss: the verdict then reads RTP FIGURE OVERSTATED, even when every draw check passes. A setting above the claim never fails. The rule is scored on Step 15, the step that derives the effective edge.

2 columns
ItemDetail
Claim99% RTP — a flat 1.00% house edge
Where LIQD publishes itThe Dice game page, liqd.com/originals/dice: header "Edge: 1.00%", stats panel "RTP 99%" and "House Edge 1%", page text "every setting in Dice returns 99%" — read logged out on 1 October 2026 (evidence/rtp-page-labels-2026-10-01.json)
Settings tested9,899 — every band width priced above 1×, win chance 0.01% to 98.99% in basis points (multiplier 9900 / b from 1.0001× to 9900×); the capture played 0.01% to 98%
MethodExact rational: b / 10,000 winning draws × the quoted multiplier 9900 / b
Band±0.1 percentage points (house side fails, player side never fails)
True minimum · maximum99.000000% · 99.000000%
Worst gap0.000000 pp
Settings beyond the band0 on the house side · 0 on the player side
Scored onStep 15 (profile check DICE-19)
ResultPass — the claim holds at every setting
6 columns
Setting (win chance)MultiplierExact RTPRTPGapResult
0.01% (b = 1)9900×99/10099.000000%0.000000 ppPass
1.00% (b = 100)99×99/10099.000000%0.000000 ppPass
2.00% (b = 200)49.5×99/10099.000000%0.000000 ppPass
10.00% (b = 1,000)9.9×99/10099.000000%0.000000 ppPass
50.00% (b = 5,000)1.98×99/10099.000000%0.000000 ppPass
65.00% (b = 6,500)1.5231×99/10099.000000%0.000000 ppPass
98.00% (b = 9,800)1.0102×99/10099.000000%0.000000 ppPass
98.99% (b = 9,899)1.0001×99/10099.000000%0.000000 ppPass
All 9,899 modelled widths9900 / b99/10099.000000%0.000000 ppPass — 9,899 / 9,899
Result: Pass — LIQD’s published 99% is met exactly by all 9,899 modelled win-chance widths, before payout rounding: the true minimum and maximum are both 99.000000%, so the worst gap is 0.000000 pp against the ±0.1 pp band (Step 15). The full per-setting table ships as outputs/rtp-claim-table.json, pinned by SHA-256 and re-derived on every run.
4.3House Edge & Settlement Rounding (Step 15)

Step 15 scores the effective edge on every one of the 5,936 captured bets — not a sample of configurations — computing 1 − P(win) × quotedMultiplier from first principles and asserting the underlying identity in exact integers: 100 · winCount · 9900 === 99 · 10,000 · basisPoints, with no tolerance. It holds on 5,936 / 5,936 bets, with 0 player-favourable bands, and by mode the edge is 1.000% flat (under 1,151 bets · over 1,387 · inside 1,148 · outside 2,250 — exactly 1.000% in each). The float form of the same quantity strays from 0.01 by at most 6.99e-15 across the capture and 5.06e-13 at an over 99.99 band (upper 100 − lower 99.99 in binary64), which is exactly why the assertion is integral rather than a float comparison. The step also confirms the roll ceiling (max captured roll 99.99), that the 0.01% setting is priced 9900× at a 1.0000% edge (the one Phase X round), that the 1% setting pays exactly 99× (both of its captured wins), and that every captured multiplier sits inside the planned span of 1.0102× to 9900×.

The only money-side approximation anywhere in the pipeline is settlement rounding at the 8th decimal — and it only ever rounds down. Across the 5,936 captured bets the RTP a player actually receives after that rounding spans 98.999992% – 99.000000%: exactly 99% on 4,286 bets, just below it on 1,650 (the 35%, 65% and 98% win chances at $0.10, where the exact payout runs past 8 decimals), never above it, and never at or above 100%. Across the 2,622 winning payments the credit landed exactly on the product 1,520 times and was rounded down 1,102 times, never up — at most 8.16e-9 USDT on a single win and 5.79e-6 USDT across the whole capture. These figures are computed by committed code (src/report-figures.ts) into outputs/report-figures.json and reconciled field-for-field by Step 19 on every run.

Result: Effective edge = 1.00% flat — the integer identity holds on every captured bet and every mode (Step 15, 5,936 / 5,936; Steps 7, 8 and 20 prove the served multiplier and credit honour it on every win).
Settlement rounding: One stage at 1e-8 — the exact amount stake × 9900 / b, rounded down to 8 decimals, the rule LIQD stated on 30 September 2026. Player-visible only in the 8th decimal: at most 8.16e-9 USDT per win, and 1,520 of the 2,622 wins needed no rounding at all. A floor has no tie case, so no rounding-mode choice is involved.
4.4Simulation Pass 1 — Our Own Seeds (Step 16)

Section 4.1 proves RTP = 99.0000% mathematically. Does the algorithm deliver that at scale? To find out, we simulated 98 target bands at 1,000,000 bets each — every over-mode band from over 2.00 (98% win chance, 1.0102×) to over 99.00 (1%, 99×), the span of win chances the capture played apart from its single 9900× round — with our own implementation and our own seeds, derived from a pinned master seed, rotated every 50 rolls, and replayable byte for byte. If the simulated payouts sit within tolerance of 99.0000%, the implementation matches the math. Pass 1 is scored as follows. The three statistical screens — uniformity, lag-1 and runs — are each judged at α/3, so together they hold a family-wise level of α = 0.01; the 98 targets, the nine effective-edge bands, the 98-target mean and the under-50 run’s final point must each sit within 5·SE + 1e-4 of 99.0000%:

Simulation Pass 1 — Our Own Seeds (Step 16) — illustrated flow

98 over-mode targets: over 2.00 to over 99.00 at 1,000,000 bets each — 98,000,000 bets. 98 / 98 within 5·SE + 1e-4 of theory (68 within 1·SE, 95 within 2·SE, 97 within 3·SE; largest over 56.00 at 3.08·SE); 51 above theory, 46 below, 1 exactly on it. Their mean is 99.0203% at 1M bets per target, 0.98·SE from 99.0000% — the chart above. Every target’s seeds are re-derived from the master seed and every simulated RTP reconstructed bit-for-bit from an integer win count.

Draw uniformity: 2,000,000 draws over 100 bins (χ², df = 99, exact incomplete-gamma p). Two-sided at α/3 — χ² = 108.885, p = 0.2335; the lower tail would reject a statistic too uniform to be a real sample of that size.

Serial screen: Lag-1 autocorrelation and the Wald-Wolfowitz runs test on the first 200,000 rolls. z = 0.159 against the applied critical 2.9352; runs p = 0.6910 — both clear at α/3.

Effective-edge bands: Nine canonical bands at 2,000,000 bets each — the table below. 9 / 9 within 5·SE + 1e-4 of 0.99, band set identical to SIM_EDGE_BANDS, every derived field re-derived and every simulated RTP reconstructed bit-for-bit from an integer win count.

Under-50 run: 20,000,000 bets on under 50 (1.98×) sampled at seven pinned marks; final 99.0476% vs 99.00%, Δ = 2.15·SE. All seven standard errors recomputed exactly; the seven win counts (493 … 10,004,806) cumulatively consistent and reconstructing bit-for-bit to the published RTPs.

4 columns
BandTheoretical RTPSimulated RTP (2M)Deviation
under 50 (1.98×)99.0000%98.998%0.03·SE
over 50 (1.98×)99.0000%98.930%1.00·SE
under 10 (9.9×)99.0000%98.896%0.50·SE
over 90 (9.9×)99.0000%99.446%2.12·SE
inside 25–75 (1.98×)99.0000%99.068%0.97·SE
outside 25–75 (1.98×)99.0000%99.113%1.61·SE
over 98 (49.5×)99.0000%98.597%0.82·SE
over 99 (99×)99.0000%98.950%0.07·SE
under 1 (99×)99.0000%99.480%0.69·SE
src/simulate.ts · Pass 1 seeds and the 98-target loop · Verified
const SIM_MASTER_KEY = Buffer.from(SIM_MASTER_SEED, 'hex');let simSeedCounter = 0;const randSeed = (): string =>  createHmac('sha256', SIM_MASTER_KEY).update(String(simSeedCounter++)).digest().subarray(0, 16).toString('hex');// …  const targetRows = SIM_TARGETS.map(({ label, params: p }) => {    const m = quotedMultiplier(p);    const seedCounterFirst = simSeedCounter;    // Exactly the band loop above: s = randSeed(), c = randSeed(), a fresh server seed every 50 bets.    let wn = 0, wi = 0, k = 0;    let s = randSeed(); const c = randSeed();    let firstServerSeed = '';    const marks: { n: number; wins: number; rtp: number; se: number }[] = [];    for (let i = 0; i < SIM_TARGET_BETS; i++) {      if (i % 50 === 0) { s = randSeed(); if (i === 0) firstServerSeed = s; }      const roll = drawFrom(s, c, i % 50) / SCALE;      if (diceWin(roll, p)) { wn += m; wi++; }      if (k < SIM_TARGET_MARKS.length && i + 1 === SIM_TARGET_MARKS[k]) {        const at = i + 1, r = wn / at;        marks.push({ n: at, wins: wi, rtp: r, se: convergenceSE(at, r, wi, m) });        k++;      }    }  // …  const targetPoints = SIM_TARGET_MARKS.map((nAt, j) => ({ n: nAt, ...crossTargetPoint(targetRows.map((r) => r.marks[j])) }));
Result: 138M rolls. 98 / 98 targets and 9 / 9 bands within 5·SE + 1e-4 of the 99.0000% identity; the 98-target mean lands at 99.0203%, 0.98·SE from theory, and the under-50 run at 99.0476%, 2.15·SE. Uniformity p = 0.2335 two-sided and both serial screens clear — 0 failures at the Bonferroni-corrected level. The simulated payouts are consistent with the 99.0000% identity (Step 16).

What is a Monte Carlo simulation? Instead of proving fairness with algebra alone, we simulate millions of game rounds. Each round derives a roll from scratch using the same HMAC-SHA256 pipeline as the live game, applies a band, and records whether the bet won and what it paid. We then compare the aggregate return to the theoretical 99.0000%. If they match within tolerance, the math holds in practice — not just on paper.

How the artifact is scored, not believed: Step 16 does not read the simulation’s own pass flags. It recomputes the χ² p-value from the stored statistic, re-derives the lag-1 z from the correlation and the runs z from the stored cell counts, re-derives every target’s and effective-edge row’s multiplier, win probability, theoretical RTP and standard error from the band and the pinned depth, and checks the integer win count behind every published RTP — a published number that no integer win count could produce fails the step (a mutation that sets over 98 to 0.99000495, implying 40,000.2 wins, is caught exactly this way). Because the seeds come from a pinned master seed, npm run test:full regenerates the whole 138M-roll experiment and reproduces the committed artifact byte for byte.

Reading the deviations: Each band is an independent 2,000,000-bet experiment at that band’s own variance, which grows with the multiplier (a 99× band’s return moves by 0.005 pp per win). The largest gap in standard errors is over 90 at 2.12σ; the largest in percentage points is under 1 at +0.48 pp, only 0.69σ for that band. With nine independent bands one beyond 2σ is expected behaviour, not signal — the scored gate is the 5·SE + 1e-4 tolerance and the integer-count reconstruction. On the captured bets the deterministic edge is 1.000% in every mode (Step 15).
4.5Cherry-Pick Test — Pass 2 (Step 17)

Could the casino have chosen server seeds that pay players less? Pass 2 takes every server seed LIQD actually used — all 34 revealed seeds — and replays each one for 10,000 nonces with the epoch’s recorded client seed. The load-bearing statistic is the served-band return: the payout-weighted return of the bands LIQD actually served in the captured window (each epoch’s own nonces, 0 up to its size of 200, 100, 118, 117 or 1), standardised by its exact expectation and variance — each band’s exact lattice win probability times its multiplier. A seed set chosen against the player would show up as a return deficit in the window the player saw, so the test is one-sided at α = 0.01. Step 17 re-derives every per-epoch row from the revealed seeds and compares it with the artifact exactly. A supplementary screen checks each seed’s draws for unusual non-uniformity against an exact discrete null.

Primary defence — structural: The client seed is player-editable and rotatable after the server-seed commitment is published. An operator that cannot predict your seed cannot pre-evaluate candidates against it — the foreknowledge channel is removed by design, and Phase D exercised the rotation live.

Statistical check: The served-band return test above — a direct check on the money, backing the structural defence.

2 columns
TestDetail
Seeds tested34 — every revealed server seed in the capture, keyed by its own epoch
Replay depth10,000 nonces per seed — the captured window is the epoch’s own nonces (5,936 cells in all), the rest is the reference
StatisticPayout-weighted return of the served bands, standardised by its exact per-bet mean and variance; one-sided normal tail
Resultz = 0.164, one-sided p = 0.5651 against α = 0.01 — no return deficit (17 epochs below, 1 equal, 16 above expectation)
Detection powerA per-bet return deficit of 14.629 pp or more is detected at 80% power
Supplementary screen50-draw windows over 20 bins against an exact discrete null (832 values from 181,274 partitions): 2 flags vs 1.49 expected, P(X ≥ 2) = 0.4424 — consistent with chance; rejection would need 6 flags
Pooled real-roll uniformityAll 5,936 captured rolls, 100 bins: χ² = 104.50, df = 99, p = 0.3333 — recomputed from the dataset, informational
tests/steps/simulation.ts · Step 17 (served-band return) · Verified
      // The early window IS this epoch's captured nonce range: its planned size in src/config.ts.      const W2 = expectedEpochSize(epochBets[0].epoch);  // …      for (let nn = 0; nn < SIM_PASS2_NONCES; nn++) {        const band = served[nn % W2];        const mult = quotedMultiplier(band);        const p = discreteWinProbability(band);                       // EXACT lattice win-probability        const roll = diceRoll(serverSeed, clientSeed, nn) / SCALE;        const won = diceWin(roll, band);        const ret = won ? mult : 0;        const eRet = p * mult, vRet = p * (1 - p) * mult * mult;        if (nn < W2) { eR += ret; eE += eRet; eV += vRet; earlyCells.push({ band, won }); }        else         { rR += ret; rE += eRet; rV += vRet; }      }  // …    const sbAggZ = sbTotalEarlyVar > 0 ? (sbTotalEarlyReturn - sbTotalEarlyExpected) / Math.sqrt(sbTotalEarlyVar) : 0;    const sbAggP = normalLowerTailP(sbAggZ);  // …    const sbCherryClean = sbAggP >= SIM_PASS2_ALPHA;                   // HARD_FAIL on a cherry-pick signal
Result: PASS. The bands LIQD served on its 34 seeds returned what their exact odds predict: z = 0.164, p = 0.5651 against α = 0.01, every per-epoch row re-derived from the revealed seeds with 0 mismatches. The supplementary screen finds 2 flags against 1.49 expected (P = 0.4424), and the 5,936 captured rolls pool to a uniform χ² (p = 0.3333). The test finds no sign of seed selection (Step 17).
Why is this included? Cherry-pick testing is a standard part of our audit methodology. Commit-reveal constrains what happens after a commitment, not which seed gets committed. LIQD lets players set or rotate the client seed after the server-seed commitment is published, so cherry-picking is structurally contained for a player who sets an unpredictable seed. Pass 2 adds a statistical check on the money itself, and it replays identically on every run (validated on Node 22).
4.6Bet-Size Invariance (Step 18)

Phase C placed 235 bets at $10.00 on over 50 — the 1.98× band, 100× the $0.10 stake used in every other phase. All 235 rolls were recomputed byte-identically from revealed seeds using the same single-draw HMAC-SHA256 path, and every $10.00 win credited exactly $19.80 — the same rule that credits $0.198 on the same band at $0.10. Bet amount is not an input to the RNG and does not affect the roll distribution or the edge.

3 columns
MetricPhases A, D, A+, X ($0.10)Phase C ($10.00)
Rounds5,701235
Roll recomputation parity5,701 / 5,701235 / 235
Served multiplier = 9900 / b2,496 / 2,496 wins126 / 126 wins (1.98× on over 50)
Credit per winstake × 9900 / b, rounded down to 8 dp — every win reproduced (Steps 8, 20)$19.80000000 — exactly $10.00 × 1.98, no rounding needed
The same band, over 50110 rounds, 51 wins, each credited $0.19800000235 rounds, 126 wins, each credited $19.80000000 — exactly 100×
Effective edge1.0000% on every captured bet1.0000%
Wager argument in diceRollnone — the function has no stake parameternone — same function, same code path
Result: Equivalence proven deterministically. Same RNG, same multiplier formula, same roll distribution regardless of bet amount — 235 / 235 Phase C rounds recompute, and every credit is exactly 100× the same band’s at $0.10 (Step 18).
4.7Informational Items (Not Scored)

These items are reported for transparency but are not scored audit steps. They provide context on the empirical RTP observed during data collection, on the evidence behind the boundary rule, and on fields outside the scored surface. At the per-phase sample sizes in this audit, empirical RTP is not a meaningful measure of fairness — the identity in 4.1 is the authoritative evidence.

3 columns
ItemValueContext
Live capture RTP104.86%$3,062.01 returned on $2,920.10 wagered — variance illustration only; Phase C’s 126 wins at $10.00 alone returned $2,494.80 on $2,350.00 staked
Return by phaseA 99.57% · D 99.15% · A+ 99.00% · C 106.16% · X 0%$497.83 on $500.00 · $49.58 on $50.00 · $19.80 on $20.00 · $2,494.80 on $2,350.00 · $0 on $0.10 — informational
Live win rate44.17% (2,622 / 5,936)Mixed win chances across 3,189 bands — informational
Roll range0.00 – 99.99, mean 50.172Ceiling 99.99 confirmed on every bet; both extremes observed
Live-sample serial screen (Step 22)lag-1 z = 1.186 · runs p = 0.0966The 5,936 captured rolls in capture order: 2,905 runs vs 2,969.0 expected — no serial dependence; reported, never scored
Boundary evidence (E17)23 production verify-endpoint probes, 9 November 2026Rolls exactly on a band bound, on seeds revealed in this capture: a roll on the lower bound wins, a roll on the upper bound loses, outside the exact complement — half-open confirmed in all four modes; the 11 probes that discriminate between the candidate rules all follow half-open
9900× evidence (E20)10 production verify-endpoint probes, 10 November 2026Bands one basis point wide (0.01%) around a known roll: the 4 winning probes are priced 9900×, the 6 misses pay 0
The 9900× setting live (Phase X)1 round, under 0.01 at $0.10Accepted and settled on 10 November 2026 at the 9900× price — a loss, roll 63.94, multiplier 0
Boundary hits in the capture0 lower-bound hits, 0 upper-bound hits4,547 bets had a reachable upper bound (expected hits 0.45); none landed on one, so the E17 verifier probes settle the rule
Settlement residualmax 8.16e-9 USDT · total 5.79e-6 USDTAlways down at the 8th decimal, as LIQD states — 1,102 wins rounded down, 1,520 exact, 0 up
Capture-side self-check fieldslocalRoll, localWin, verified, commitVerified, chainLinkOkCapture annotations, not audit findings — scored verification derives every result from the recorded inputs and ignores them
4.8Worked Example — Payout Verification

Real bet from the Phase A+ top-up — bet iMgu6U7RKoct0VAxgLffJ (epoch 30), nonce 83, outside 0.50–99.50 at $0.10. Verified from dice-prod-5936bets.json — one of the two 99× wins in the capture, and the inverted mode at work:

serverSeed = f12e4515cea57104b9e04178548d8c20
clientSeed = auditfc6a04215b7e
nonce      = 83
band       = [0.5, 99.5), inverted  (outside 0.50–99.50)
betAmount  = $0.10
recorded   = roll 0.45 · win true · multiplier 99 · winningAmount 9.90000000

Step 1 — Roll computation: HMAC-SHA256(seed, "auditfc6a04215b7e:83:0") → first chunk 0xa33772ad = 2,738,320,045 < maxFair → % 10000 = 45 → roll 0.45 — matches the record.

Step 2 — Win check: 0.45 < 0.5 → outside the inner band [0.5, 99.5) → the inverted band wins → the round is legitimately won. LIQD’s verify reply for the round says the same.

Step 3 — Multiplier derivation: W = 100 − (99.5 − 0.5) = 1 → b = 100 (draws 0–49 and 9950–9999) → 9900 / 100 = 99 exactly; the served multiplier is 99.

Step 4 — Payout: 0.10 × 9900 / 100 = 9.9 exactly — nothing past the 8th decimal, nothing to round → $9.90000000, the credited winningAmount, verbatim from the record.

3 columns
StepProcessOutput
1Recompute the roll from seeds0.45 — byte-identical
2Apply the inverted band, outside [0.5, 99.5)Below the inner band — won confirmed
3Quotient multiplier 9900 / 10099
4Round-down settlement of 0.10 × 99$9.90 credited, exactly
5RTP identity at this band(100 / 10,000) × 99 = 0.9900 — the flat edge, exactly
RTP proof for outside 0.50–99.50 · Verified
winCount(outside 0.50–99.50) = grid points 0 … 49 and 9950 … 9999 = 100   →  P(win) = 100 / 10,000 = 0.01quotedMultiplier             = 9900 / 100                                =  99RTP = P(win) × multiplier    = 0.01 × 99    = 0.9900   →  99.0000%   (b cancels; only the edge remains)
Parity verified: Bet iMgu6U7R… — roll, the inverted win condition, quotient multiplier and payout all match. RTP for the 1% setting = 99.0000% proven from grid arithmetic, independent of any casino data. The A+ top-up’s 200 bets at 1% produced 2 such wins against 2 expected.
Live Game$9.90
Our recomputation$9.90
Technical Evidence & Verification5 sections
4.9Evidence Coverage Summary9 checks
3 columns
Verification AreaCoverageResult
Anti-circularity (Step 13)3,189 distinct bands — closed-form win count == literal 10,000-point tally, 0 mismatches; negative control rejects a corrupted rollPass
House edge audit (Step 15)5,936 / 5,936 bets — integer identity 100 · winCount · 9900 === 99 · 10,000 · b; 0 player-favourable bands; all four modes at 1.000%Pass
RTP claim rule (Step 15)9,899 / 9,899 modelled widths at exactly 99.000000%; worst gap 0.000000 pp against ±0.1 ppPass
Multiplier & credit reconciliation (Steps 7, 8)2,622 wins bit-exact 9900 / b; 5,936 credits rounded down to 8 dp at zero tolerancePass
Simulation Pass 1 (Step 16)138M rolls — 98 / 98 targets, mean 99.0203% at 0.98·SE; uniformity p = 0.2335, serial clear, 9 / 9 bandsPass
Simulation Pass 2 (Step 17)Served-band return over 34 seeds × 10,000 nonces: z = 0.164, p = 0.5651; supplementary screen 2 flags vs 1.49 (P = 0.4424)Pass
Bet-size invariance (Step 18)235 / 235 Phase C at $10.00Pass
Artifact & figure integrity (Step 19)Dataset, simulation and chart pins match; report figures reconcile field-for-field; 4,160 numeric values inside domains derived from src/config.tsPass
Multiplier monotonicity (Step 21)12 captured win-chance points and all 9,899 grid points, 0 inversions; captured span 1.0102×–9900×Pass
4.10Code References13 source files
2 columns
FilePurpose
tests/steps/anti-circularity.tsStep 13: Negative control + literal grid enumeration anchor
tests/steps/boundary.tsStep 15: The boundary rule against LIQD’s production verifier probes (E17, E20), roll range, the 9900× and 99× settings, and the exact integer edge identity on every bet
src/rtp-claim.tsThe RTP claim rule, RTP-CLAIM 1.2.0 — every package carries the same file byte for byte
src/rtp-settings.tsThe 9,899-width exact RTP table and the claim it is held to (LIQD’s published 99%)
tests/steps/payouts.tsSteps 7–10: Multiplier derivation, credit arithmetic, loss settlement, wallet fields and odds bounds
tests/steps/simulation.tsSteps 16–17: Simulation integrity and the cherry-pick test (served-band return, exact-null screen)
tests/steps/standardization.tsSteps 18–21: Bet-size invariance, artifact and value-domain integrity, settlement determinism, multiplier monotonicity
tests/steps/statistical.tsInformational items — live RTP in total and per phase, per-mode edge, roll range, win rate, odds limits
src/simulate.tsMonte Carlo simulation (138M rolls, two-pass), deterministic from the pinned master seed — Pass 1 screens, 98 targets, edge bands and the under-50 run, Pass 2 served-band return and exact-null screen
src/exact-chi2.tsExact discrete null for the Pass 2 supplementary screen — 181,274 partitions, 832 support values, achieved α and the derived flag rate
src/stats.tschiSquaredTest, lag1Autocorrelation, runsTest, inverseCriticalZ (AS 241), binomialTailP
src/config.tspayoutBasisPoints, quotedMultiplier, discreteWinCount, diceWin, effectiveEdgeIsExact, theoreticalRTP, floor8CreditUnits — closed-form formulas
src/report-figures.tsDerived-figure artifact (outputs/report-figures.json) — the producing artifact for the settled-RTP span, residual counts, boundary hit counts, cherry-pick test figures, per-phase aggregates and verifier parity, reconciled by Step 19
4.11Datasets UsedSource artifacts
Simulation output: outputs/simulation-results.json — Pass 1 (2M-draw uniformity + serial, 98 targets × 1M, 9 bands × 2M, 20M under-50 run) + Pass 2 (served-band return over 34 seeds × 10,000 nonces; exact-null screen) · SHA-256 c6698388eb242683…
RTP claim table: outputs/rtp-claim-table.json — all 9,899 modelled widths with exact RTP, gap and outcome · SHA-256 4c1c589c87cc3351…, pinned in src/rtp-settings.ts
Derived figures: outputs/report-figures.json — settled-RTP span, settlement residual, boundary hit counts, cherry-pick test figures, per-phase aggregates, verifier parity and live aggregates, re-derived field-for-field by Step 19 on every run
Game config: Quotient formula 9900 / round(100 × W), the half-open win rule and the round-down settlement in src/config.ts — algebraic, not a lookup table
Primary dataset: data/dice-prod-5936bets.json — payout reconciliation, Phase C bet-size invariance, Pass 2 seeds and empirical-RTP context
Convergence chart: outputs/rtp-convergence.html — the mean simulated RTP of the 98 targets at five marks (10K to 1M bets per target) with its ±5·SE band, rendered by src/chart.ts and pinned by SHA-256 6b7b6bb7c474a49b…; the final point, 99.0203%, sits 0.98·SE from 99.0000%, inside the band
Session evidence: evidence/E17-prod-verify-boundary-probes-2026-11-09.json (23 boundary probes of LIQD’s production verify endpoint, 9 November 2026), evidence/E20-prod-verify-9900x-probes-2026-11-10.json (10 probes at the 9900× setting, 10 November 2026) and evidence/rtp-page-labels-2026-10-01.json (the RTP figures on LIQD’s game page, 1 October 2026)
4.12Verified Invariants14 invariants
2 columns
InvariantResult
(b / 10,000) × (9900 / b) = 0.9900 for every band (non-circular)Pass
100 · winCount · 9900 === 99 · 10,000 · basisPoints as integers on all 5,936 bets, including the 9900× settingPass
LIQD’s published 99% is met by all 9,899 modelled widths — worst gap 0.000000 pp against ±0.1 ppPass
Closed-form win count equals a literal 10,000-point tally on all 3,189 distinct captured bandsPass
Negative control: a corrupted roll is rejected by the Step 5 predicate (the check is falsifiable)Pass
Flat 1.00% house edge — the quotient multiplier is served bit-exact on all 2,622 wins; losses pay exactly 0 (3,314 / 3,314)Pass
Settled RTP after rounding down at the 8th decimal spans 98.999992%–99% across all 5,936 captured bets — never above 99%, never at or above 100%Pass
Draw uniformity χ² p = 0.2335 over 2,000,000 draws, two-sided at α/3Pass
Lag-1 z = 0.159 < 2.9352 and runs p = 0.6910 ≥ α/3 on 200,000 rollsPass
9 / 9 effective-edge bands within 5·SE + 1e-4 of 0.99, each reconstructing from an integer win countPass
98 / 98 targets within 5·SE + 1e-4; 98-target mean 99.0203%, 0.98·SE from 99.0000% at 1,000,000 bets per target; 490 / 490 target marks and 5 / 5 mean points reconciledPass
Under-50 run 99.0476% within 2.15·SE of 99.0000% at 20,000,000 bets; 7 / 7 standard errors and win counts reconciledPass
No return deficit on the bands served across 34 casino seeds (Pass 2 — z = 0.164, p = 0.5651; 0 row mismatches)Pass
Phase C ($10.00) rolls derive from the same three-argument function as $0.10 bets; bet amount absent from RNG input by constructionPass
4.13Reproduction InstructionsRun locally

Clone the repository, install dependencies, and regenerate the simulation before verifying:

reproduce-s4.sh · 6 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dice && git checkout v1.3.0npm cinpm run test:full   # regenerates the simulation from its pinned master seed, then verifieshead -40 outputs/rtp-claim-table.jsoncat outputs/simulation-results.json outputs/report-figures.json
S4-related steps and the RTP claim rule, as printed:

  [PASS] Step 7 — Multiplier Derivation
  [PASS] Step 8 — Credit Arithmetic
  [PASS] Step 13 — Anti-Circularity (Negative Control + Enumeration Anchor)
  [PASS] Step 15 — Boundary Rule, Roll Range & Effective Edge
  [PASS] Step 16 — Simulation — Pass 1 (RNG + Edge)
  [PASS] Step 17 — Simulation — Pass 2 (Cherry-Pick)
  [PASS] Step 18 — Bet-Size Invariance (Phase C)
  [PASS] Step 19 — Artifact Hash + Value-Domain Integrity
  [PASS] Step 21 — Multiplier Monotonicity & Range

  rtp-claim: ENFORCED — PASS
  rtp-claim:   band ±0.10 pp · 9,899 settings · true min 99.000000% (win chance 0.01%) · true max 99.000000% (win chance 0.01%)
  rtp-claim:   house side beyond band: 0 · player-favourable beyond band: 0 · worst win chance 0.01% at 0.000000 pp
  rtp-claim:   outcome PASS · minimal fix: none — the claim holds for every setting it states a figure for
  rtp-claim:   committed table outputs/rtp-claim-table.json: equals this run; sha256 4c1c589c87cc3351… matches the pin

Final 98-target mean RTP in the committed artifact: 0.9902026676413088 against 0.9899999999999987 (the binary64 mean of the 98 theoretical RTPs; 0.99 exactly in rationals). The simulation is deterministic: npm run test:full regenerates outputs/simulation-results.json and outputs/rtp-convergence.html byte for byte, and the verdict is scored against the committed, SHA-256-pinned artifact. The chart above plots the committed 98-target mean series.
05

Fairness Integrity Testing

Does the implementation maintain fairness under non-standard conditions?

Sections 1–4 show the game is mathematically fair. Section 5 tests whether the game holds up under pressure on LIQD’s pre-launch environment: bets sent at the same moment, replayed requests, invalid inputs and requests made for another player’s account. It reports 34 integrity tests across 12 categories. 33 passed, and one was remediated: under extreme load the server sent generic errors instead of proper busy responses, which LIQD fixed and we re-tested. No test changed, replayed or injected an outcome.

Fairness Integrity Testing

33pass1remediated

What we verified

  • Parallel bets: can bets sent at the same moment, or a seed change during a bet, alter an outcome or pay twice?
  • Replays: can a nonce be forced, skipped or reused, or one bet be settled twice?
  • Seeds: can the active server seed be read early, or an unusual client seed break the game?
  • Other players: can anyone act on another player’s account, or after logging out?
  • Payouts: can a roll, multiplier or payout be injected, or the payout cap be bypassed?
  • Limits: can invalid bands, win chances, stakes or currencies get through?

What this means for you

  • No test let anyone change, replay or inject an outcome
  • Once a bet is placed, its roll cannot be changed or replayed
  • Each bet gets its own nonce from the server, under a seed committed in advance
  • Your bets are tied to your session: no other account can act on them
  • The one issue found, generic errors under extreme load, was fixed by LIQD and re-tested
33pass1remediated
  • Parallel bets: can bets sent at the same moment, or a seed change during a bet, alter an outcome or pay twice?
  • Replays: can a nonce be forced, skipped or reused, or one bet be settled twice?
  • Seeds: can the active server seed be read early, or an unusual client seed break the game?
  • Other players: can anyone act on another player’s account, or after logging out?
  • Payouts: can a roll, multiplier or payout be injected, or the payout cap be bypassed?
  • Limits: can invalid bands, win chances, stakes or currencies get through?
5 / 5Race Conditions
5 / 5Input Validation
3 / 3Atomic Balance / Idempotency
2 / 2Broken Authorization
4 / 4Max-win Bypass
4 / 4Nonce Manipulation
4 / 4RNG / PF Verification
1 / 1RNG / Information Leak
1 / 1Entropy / PF Verification
1 / 1Precision / Payout
1 / 1Event Replay
3 / 3Adversarial Seeds

Category Coverage

Race Conditions5/5
Input Validation5/5
Atomic Balance / Idempotency3/3
Broken Authorization2/2
Max-win Bypass4/4
Nonce Manipulation4/4
RNG / PF Verification4/4
RNG / Information Leak1/1
Entropy / PF Verification1/1
Precision / Payout1/1
Event Replay1/1
Adversarial Seeds3/3
CheckResultEvidence
Nonce integrityPassThe server assigns every nonce: forced, skipped, reused or oversized nonces are refused, and the count rises by one per bet
Seed integrityPassThe active server seed is never shown before rotation, rotations during live bets never reused a seed, and unusual client seeds are handled
Outcome determinismPassLive rounds recompute to the same roll and result, and a live sample of rolls spreads evenly
Round & player isolationPassOther players’ identifiers and logged-out sessions are rejected, and identical parallel bets settle once each
Payout integrityPassInjected rolls, payouts and multipliers are rejected, and the 50,000 USDC payout cap refuses bets over it
Overload handlingRemediatedExtreme bursts drew some generic errors (Low); after LIQD’s fix, overload gets proper busy replies and no refused request uses up a nonce
Nonce integrityPass
The server assigns every nonce: forced, skipped, reused or oversized nonces are refused, and the count rises by one per bet
Seed integrityPass
The active server seed is never shown before rotation, rotations during live bets never reused a seed, and unusual client seeds are handled
Outcome determinismPass
Live rounds recompute to the same roll and result, and a live sample of rolls spreads evenly
Round & player isolationPass
Other players’ identifiers and logged-out sessions are rejected, and identical parallel bets settle once each
Payout integrityPass
Injected rolls, payouts and multipliers are rejected, and the 50,000 USDC payout cap refuses bets over it
Overload handlingRemediated
Extreme bursts drew some generic errors (Low); after LIQD’s fix, overload gets proper busy replies and no refused request uses up a nonce
✓  34 of 34 Pass or Remediated

34 integrity tests reported: 33 pass and 1 remediated (overload handling, fixed by LIQD and re-tested). No test changed, replayed or injected an outcome. Test procedures and payloads stay private by policy, as 5.5 explains.

How It Works — Fairness Integrity Testing2 sections
5.1Framework Overview

Testing follows the ProvablyFair.org Fairness Integrity Framework — a structured methodology derived from real, historically observed failures in provably fair systems. Cryptographic verification (S1–S3) shows the game computed every captured roll from its disclosed inputs; fairness-integrity testing asks whether the surface around that computation holds up under non-standard use — seeds swapped, rounds replayed, parameters injected, settlements raced. These tests ran against LIQD’s running service on its pre-launch environment (qa.liqd.com), not against a dataset. This section covers 34 tests across 12 categories. Each card below gives the control assessed, the broad testing approach, the observed result, its impact and any limitation.

3 columns
CategoryTestsWhat It Catches
Race Conditions5Parallel bets racing placement, settlement or seed rotation, and how the service handles extreme bursts
Input Validation5Malformed, wrong-type or out-of-range bands, win chances, stakes, content types and currencies
Atomic Balance / Idempotency3Double debits, orphaned debits and unsafe retry behaviour after a timeout or disconnect
Broken Authorization2Acting on another account, or after the session has ended
Max-win Bypass4Client-supplied outcome, payout or win-region fields, and the stake and potential-payout limits
Nonce Manipulation4Reused, skipped, zero, negative or oversized nonces supplied by the client
RNG / PF Verification4Roll distribution and the multiplier curve, commitment and reveal, and independent recomputation of live rounds
RNG / Information Leak1Disclosure of the active server seed, or of hidden game state, before it is due
Entropy / PF Verification1Server-seed rotation behaviour: fresh seeds, a new commitment and the nonce reset
Precision / Payout1Settlement arithmetic and wallet reconciliation over many rounds
Event Replay1Duplicate or replayed requests settling more or less than once
Adversarial Seeds3Unusual client seeds: length, character sets, Unicode forms and rapid rotation
5.2Severity Framework & Hard Fail Criteria

Two scales apply in this section. The audit framework decides whether a result can pass at all — any test that lets money settle against a tampered or unverifiable outcome is an automatic hard fail. The integrity matrix records each test’s status — Pass, Remediated, Warning or Fail — and each finding is graded Critical, High, Medium or Low. On this page: one Remediated test, graded Low — overload handling under extreme bursts, fixed by LIQD and re-verified.

3 columns
StatusMeaningAction
PassThe service handled the scenario correctly: the control heldNone — recorded with its result
RemediatedA failed control that LIQD has since fixed, re-tested by ProvablyFair.org on the current buildRecorded with the fix and its re-test
WarningA security or availability defect that leaves fairness, outcomes and player funds intactReported to LIQD privately; published once fixed and re-tested, or as open if its fix deadline passes
FailA defect affecting fairness, outcomes or player fundsBlocks certification until fixed and re-tested
2 columns
ConditionConsequence
A substituted server seed is accepted against a published commitmentHard fail
A revealed seed fails its commitment and play continuesHard fail
Any settled round's roll cannot be reproduced from disclosed inputsHard fail
A credited payout deviates from the quotient multiplier and settlement ruleHard fail
Nonce reuse or gaps that could conceal discarded outcomesHard fail
Hard fail criteria: These conditions are absolute — a single occurrence fails the game regardless of every other result. None of them occurred in testing: no test altered, replayed or injected an outcome, and the one finding never touched the provably fair layer.

34 tests · 33 pass · 1 remediated

Race Conditions5/5
LIQD-DICE-RACE-004LowRemediated

Overload handling under extreme bursts

Control assessed
Overload is answered with structured busy or rate-limit responses — never a generic server error — with no duplicate nonce and no internal detail in error bodies.
Testing approach
Bursts of parallel bets from one account at increasing volume; status codes, error bodies and nonces checked.
Observed result
Before the fix, the largest burst drew a handful of generic server errors, though accepted nonces stayed unique and no error body disclosed internal detail. After LIQD’s fix, re-tested on 23 September 2026: overload is answered with structured busy and rate-limit responses carrying retry guidance; accepted nonces are unique and consecutive, so no refused request consumed one.
Impact
Low · robustness — accepted nonces stayed unique and no error disclosed internal detail. Fixed by LIQD and re-verified.
Limitations
The test checked status codes, error bodies and nonces.
LIQD-DICE-EXTRA-001Pass

Seed rotation racing live bets

Control assessed
A rotation racing bets cannot reveal a seed early or inconsistently, or bring a revealed seed back into use.
Testing approach
Seventy rotations fired against bets in flight; each revealed seed checked against its pre-race commitment.
Observed result
All 70 rotations succeeded; each revealed seed matched its pre-race commitment, and none reappeared as a later active seed.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-RACE-001Pass

Nonce uniqueness under parallel bets

Control assessed
Every accepted bet gets its own server-assigned nonce in sequence, and each roll is bound to that nonce, even under parallel load.
Testing approach
Bursts of parallel bets from one account; nonces and response order, and each roll’s binding to its nonce, compared.
Observed result
All 55 bets received unique nonces with no server error; in a follow-up burst of ten, nonces ascended in arrival order and every roll matched its nonce.
Impact
None — no nonce was shared or skipped.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-RACE-002Pass

Identical bets in parallel, at scale

Control assessed
Each accepted bet settles exactly once, and the balance equals the sum of all settled rounds.
Testing approach
Fifteen identical bets sent in parallel; round IDs and balance reconciled.
Observed result
All 15 settled once, as distinct rounds; the balance change matched their summed outcome exactly.
Impact
None — no lost or duplicated settlement.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-RACE-003Pass

High-stake parallel over-commit

Control assessed
Parallel high-stake bets cannot overdraw the balance, settle twice or leave a phantom round.
Testing approach
Parallel bets whose combined stake exceeds the balance, with a control bet; wallet and bet history reconciled.
Observed result
All 12 settled rounds, the control included, reconciled to the wallet and the bet history: no over-commit, no negative balance, no payout mismatch, no lost or phantom round.
Impact
None — settlement stayed consistent under parallel placement.
Limitations
None specific to this test; the general scope is in 5.5.
Input Validation5/5
LIQD-DICE-PARAM-001Pass

Band limits and strict input types

Control assessed
Win chance stays within the offered 0.01%–98% envelope; invalid bands and wrong-type values are refused.
Testing approach
Valid bands at the limits, out-of-range bands and wrong-type values, each with a control.
Observed result
Valid bands settled; all five out-of-range cases and all three wrong-type cases were rejected. Boundary checks confirmed the 0.01%–98% envelope.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-PARAM-002Pass

Stake precision, zero and invalid types

Control assessed
Invalid stakes are refused, and zero is accepted only as the explicit free-play value.
Testing approach
Minimum-stake and free-play controls, then sub-precision, null, negative, oversized and wrong-type stakes.
Observed result
Both controls settled; every invalid stake was rejected, and no non-zero stake was silently turned into zero.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-PARAM-003Pass

Extreme win chance and band edges

Control assessed
Out-of-range bounds are refused, and every band is half-open: the lower bound wins, the upper bound loses, and inverted bands take the complement.
Testing approach
Bounds just inside and outside the range, and boundary checks of the win rule.
Observed result
The out-of-range bound was rejected and the in-range one accepted; the accepted round verified. Boundary checks confirmed the half-open rule: a 50.00 roll loses on 0–50 and wins on 50–100.
Impact
None — the control held.
Limitations
The upper-bound rule is confirmed by LIQD’s verifier (Section 4); no captured live roll landed exactly on an upper bound.
LIQD-DICE-PARAM-004Pass

Content-type variations around validation

Control assessed
Changing how the request body is encoded cannot let an invalid band settle.
Testing approach
Invalid bands sent under each alternative content type.
Observed result
Both invalid bands were rejected under every content type; no malformed request produced a settled round.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-TOKEN-001Pass

Currency identifier manipulation

Control assessed
A client-supplied currency identifier cannot redirect or alter the stake.
Testing approach
Bets carrying six altered currency identifiers, with a control bet.
Observed result
All six were rejected without a server error; only the control settled, in the expected wallet.
Impact
None — the stake stayed in the account’s own currency.
Limitations
None specific to this test; the general scope is in 5.5.
Atomic Balance / Idempotency3/3
LIQD-DICE-IDEMP-001Pass

Same-key retry after a timeout

Control assessed
A retry with the same key returns the original round — no second debit or credit, and no change of parameters.
Testing approach
Bets sent with very short client timeouts, then retried with the same key; one retry also changed the bet’s parameters.
Observed result
All 20 retries returned their original round; all 11 timed-out bets had settled once, server-side, and the wallet reconciled. The retry with changed parameters still returned the original round, unchanged.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-IDEMP-002Pass

Orphaned-debit check at scale

Control assessed
Every debit belongs to a settled round.
Testing approach
Twenty consecutive bets; the balance reconciled against their outcomes.
Observed result
All 20 settled, and the balance change matched their summed outcome exactly.
Impact
None — no unexplained debit.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-IDEMP-003Pass

Disconnect while a bet is processed

Control assessed
A client disconnect mid-bet leaves no missing or duplicated debit.
Testing approach
Bets abandoned by the client at different moments; rounds and balance reconciled.
Observed result
The abandoned bet still settled once, server-side; all four rounds were accounted for and the balance matched their net outcome.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Broken Authorization2/2
LIQD-DICE-AUTH-001Pass

Foreign and malformed user identifiers

Control assessed
A user identifier supplied in the request is refused; bets stay bound to the caller’s own session.
Testing approach
Bets sent with foreign and malformed user identifiers in the request, alongside control bets; the caller’s balance reconciled.
Observed result
All 13 injected identifiers were rejected without a server error; the two control bets account for the caller’s entire balance change.
Impact
None — no injected identifier was accepted.
Limitations
Covers the caller’s balance, from one authenticated account.
LIQD-DICE-AUTH-003Pass

Session reuse after logout

Control assessed
A session ends at logout: its cookie cannot place another bet.
Testing approach
A control bet, a logout, then a bet attempted with the old session.
Observed result
The control bet settled and the logout completed; the reused session was rejected and no bet was placed.
Impact
None — the session was invalidated server-side.
Limitations
None specific to this test; the general scope is in 5.5.
Max-win Bypass4/4
LIQD-DICE-INJECT-001Pass

Single outcome field injected

Control assessed
No client-supplied roll, payout, result or multiplier value can control settlement.
Testing approach
Bets each carrying one injected outcome field, with two control bets.
Observed result
All four injected fields were rejected; the two controls account for the entire nonce advance and balance change.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-INJECT-002Pass

Win-region and nested-parameter injection

Control assessed
No injected field changes the winning region or a bet’s effective parameters.
Testing approach
Variants carrying alias and nested parameter fields, with two control bets.
Observed result
All six altered variants were rejected; both controls settled against their declared bands, with matching recorded parameters.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-MAXWIN-001Pass

Potential-payout cap at bet time

Control assessed
A bet whose potential payout exceeds the 50,000 USDC cap is refused when it is placed.
Testing approach
Stakes just inside and just outside the cap at the top multiplier, plus invalid stake values.
Observed result
The stake inside the cap settled and the one just over it was refused; invalid stakes were rejected.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-MAXWIN-002Pass

Several outcome fields injected at once

Control assessed
Outcome fields supplied by the client cannot steer settlement or consume a nonce.
Testing approach
One bet carrying several injected outcome fields together, with a control bet.
Observed result
The combined injection was rejected at validation; only the control consumed a nonce and moved the balance.
Impact
None — settlement stayed server-computed.
Limitations
None specific to this test; the general scope is in 5.5.
Nonce Manipulation4/4
LIQD-DICE-NONCE-001Pass

Reused nonce

Control assessed
The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
Testing approach
Bets carrying a reused nonce.
Observed result
Every injected nonce was rejected without a server error; only the two controls consumed nonces or changed the balance.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-NONCE-002Pass

Skipped-ahead nonce

Control assessed
The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
Testing approach
Bets carrying a skipped-ahead nonce.
Observed result
Every injected nonce was rejected without a server error; only the two controls consumed nonces or changed the balance.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-NONCE-003Pass

Zero and negative nonces

Control assessed
The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
Testing approach
Bets carrying zero and negative nonces.
Observed result
Every injected nonce was rejected without a server error; only the two controls consumed nonces or changed the balance.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-NONCE-004Pass

Overflow-sized nonces

Control assessed
The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
Testing approach
Bets carrying overflow-sized nonces.
Observed result
Every injected nonce was rejected without a server error; only the two controls consumed nonces or changed the balance.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
RNG / PF Verification4/4
LIQD-DICE-EXTRA-002Pass

Independent roll and outcome check

Control assessed
Live results can be reproduced independently from the revealed inputs.
Testing approach
Five live rounds recomputed with our own implementation after the reveal.
Observed result
All five rounds matched: the same roll and the same band result. The same derivation reproduces every captured roll and win flag in Sections 1–4.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-FAIR-001Pass

Roll distribution and multiplier curve

Control assessed
Rolls are uniform with no band asymmetry, and the multiplier is 99 / win chance, for 99% RTP before settlement rounding.
Testing approach
A 2,000-roll live sample tested for uniformity and band symmetry; multipliers compared with the formula.
Observed result
The sample passed the uniformity test and showed no band asymmetry; both 50% bands paid 1.98×.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-PF-001Pass

Provably-fair data and commit / reveal

Control assessed
Each bet carries every provably-fair field a player needs, and a revealed seed matches its earlier commitment.
Testing approach
Bets checked field by field, then the seed rotated and revealed.
Observed result
All required fields were present, and the revealed seed matched its commitment.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-PF-002Pass

Nonce sequence within a seed period

Control assessed
The nonce advances by exactly one per bet while the commitment stays unchanged.
Testing approach
Ten consecutive bets on one server seed, then a reveal.
Observed result
The nonce advanced from 0 to 10 with no gap while the commitment stayed unchanged.
Impact
None — the sequence was complete and the commitment fixed.
Limitations
None specific to this test; the general scope is in 5.5.
RNG / Information Leak1/1
LIQD-DICE-DISCLOSE-001Pass

Active server-seed disclosure

Control assessed
The active server seed stays secret until rotation; only then is it revealed.
Testing approach
The responses around a bet checked for the active seed before rotation; a rotation then served as the positive control.
Observed result
No response checked exposed the active seed; after rotation, the revealed seed matched its commitment.
Impact
None — the seed stayed secret until it was due.
Limitations
Covers the seed period tested.
Entropy / PF Verification1/1
LIQD-DICE-ENTROPY-004Pass

Nonce reset after seed rotation

Control assessed
Rotating the seed changes the commitment and restarts the nonce at 0.
Testing approach
Bets, a rotation, then further bets.
Observed result
The nonce reset from 2 to 0, the commitment changed, and both follow-up bets settled normally.
Impact
None — rotation behaved as specified.
Limitations
None specific to this test; the general scope is in 5.5.
Precision / Payout1/1
LIQD-DICE-PREC-001Pass

Payout consistency at scale

Control assessed
Every payout follows the game’s settlement rule, and the wallet reconciles over the run.
Testing approach
Two hundred consecutive rounds; each payout and the aggregate balance change checked.
Observed result
All 200 rounds settled with no payout mismatch; the balance change matched the summed outcome exactly.
Impact
None — settlement arithmetic held.
Limitations
Rounding versus flooring is settled by the captured credits checked in Sections 3–4, which match the round-down rule.
Event Replay1/1
LIQD-DICE-REPLAY-001Pass

Duplicate identical bets sent together

Control assessed
Two identical requests sent at the same moment settle as two distinct rounds — none lost, none settled twice.
Testing approach
A pair of identical bet requests sent in parallel; rounds and balance reconciled.
Observed result
Both requests settled as distinct rounds, and the balance moved by exactly their net outcome.
Impact
None — each request settled exactly once.
Limitations
None specific to this test; the general scope is in 5.5.
Adversarial Seeds3/3
LIQD-DICE-SEED-001Pass

Client-seed length and character sets

Control assessed
Client seeds have a consistent length limit, and no accepted seed disrupts the game.
Testing approach
Client seeds of increasing length and unusual character sets, each followed by a bet.
Observed result
Seeds up to 255 characters were accepted and every longer seed rejected; betting worked after every accepted change.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-SEED-002Pass

Unicode forms of one seed

Control assessed
Composed and decomposed Unicode forms of the same seed are both usable and handled consistently.
Testing approach
The same visible seed submitted in both forms, each followed by a bet.
Observed result
Both forms were accepted, each kept as entered, and the following bets settled.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-DICE-SEED-003Pass

Rapid seed rotation

Control assessed
Each bet uses the seed set by the rotation immediately before it.
Testing approach
Back-to-back rotations, each followed by a bet.
Observed result
Every bet used the seed set just before it; no stale or mixed-up seed appeared.
Impact
None — each bet bound to the current seed.
Limitations
None specific to this test; the general scope is in 5.5.
Technical Evidence & Verification4 sections
5.3Coverage Summary12 categories

Coverage by category — 34 tests: 33 pass, 1 remediated.

3 columns
CategoryTestsResult
Race Conditions54 pass · 1 remediated (RACE-004)
Input Validation5All pass
Atomic Balance / Idempotency3All pass
Broken Authorization2All pass
Max-win Bypass4All pass
Nonce Manipulation4All pass
RNG / PF Verification4All pass
RNG / Information Leak1All pass
Entropy / PF Verification1All pass
Precision / Payout1All pass
Event Replay1All pass
Adversarial Seeds3All pass
Method: Every test ran against LIQD’s running service on its pre-launch environment; remediations were re-tested on LIQD’s current build. Sections 1–4 verify the captured production rounds offline — independent derivation, commitment and chain checks, nonce continuity and credit arithmetic — while Section 5 tests the live service around them. Per-test procedures, payloads and captures are retained under the engagement record and are not published — see 5.5.
5.4Findings & Remediation1 record

1 finding from 1 test, remediated and re-verified. Each test’s card in the matrix above gives its control, approach, result, impact and limitations.

3 columns
TestsFindingStatus
RACE-004Extreme bursts drew some generic server errors instead of structured overload responses. Fixed by LIQD and re-verified.Remediated · Low
5.5Scope & LimitationsScope note
What is published here is coverage, not method. Each test in this section appears with its identifier and category, the control it assessed, the broad testing approach, the observed result, its impact and any limitation; a finding also carries its severity, where graded, and its remediation state. Request payloads, preconditions, step sequences, endpoints, timings and response captures are withheld: they show how to repeat a test, and add nothing a reader needs to judge its result. The full record is retained and is available to LIQD and to regulators on request.
Coverage published, method withheld: The classes of issue tested are standard and publicly documented. What would help someone repeat a test — volumes, timings, settings and request sequences — stays in the engagement record.
Coordinated disclosure: A finding that affects fairness, outcomes or player funds blocks certification, whichever level of testing found it. A security or availability finding that doesn’t is reported to LIQD privately and published here once fixed and re-tested, or as open if its fix deadline passes.
Point-in-time, per build: Each result is scoped to the build tested; the overload fix was re-tested on 23 September 2026.
Scope: The tests target the provably fair surface and the money path around it — seeds, rounds, placement and settlement. Wallet custody, account management and infrastructure hardening are outside their scope.
Test environment: Every test ran against LIQD’s pre-launch environment (qa.liqd.com), not the public site.
5.6Evidence & Disclosure

Live-surface record: Section 5 tests LIQD’s running service, so unlike Sections 1–4 it does not reproduce from the audit repository. The published record is the test cards above.

Retained under the engagement record: Per-test procedures, request and response captures, re-test captures, run timestamps and build identifiers — available to LIQD and to regulators on request.

Section 5 coverage · published on this page
Integrity tests reported .............. 34Categories ............................ 12Pass .................................. 33Remediated ............................ 1Findings reported ..................... 1 · 1 remediatedProcedures and payloads ............... withheld (5.5)
Why the runner is not published: The tests run against LIQD’s real-money service, here its pre-launch environment. A published runner, with its payloads, would let anyone repeat them against LIQD, or against another operator built the same way; coverage and results are published instead.
06

Player Verification

Can a player verify their own bets without trusting anyone?

Every Dice outcome can be independently reproduced from publicly disclosed inputs. No hidden variables, no private backend data. If the revealed seed matches the hash you saw before betting, and your computed roll matches the game result, the bet was provably fair. This section walks you through it: with LIQD’s own Provably Fair panel, the independent ProvablyFair.org verifier, or a few lines of code you run yourself.

Independent Result Verification

4 Stepsto verify any bet

Key principles

  • Every Dice outcome can be independently reproduced
  • No hidden variables and no private backend data
  • If the revealed seed matches the hash you saw before betting and your computed roll matches the game, the bet was provably fair
  • Most players can verify directly in LIQD’s Provably Fair panel

What you need

  • Server Seed — revealed after seed rotation (casino entropy)
  • Client Seed — your player-controlled seed
  • Nonce — the bet number in your seed pair, from 0
  • Band — the mode and limits you played (under · over · inside · outside)
4 Stepsto verify any bet
  • Every Dice outcome can be independently reproduced
  • No hidden variables and no private backend data
  • If the revealed seed matches the hash you saw before betting and your computed roll matches the game, the bet was provably fair
  • Most players can verify directly in LIQD’s Provably Fair panel
From Bet to Independent Verification — 4-step flow — illustrated flow
Server SeedRevealed after rotation
Client SeedPlayer-controlled input
NonceRecorded bet sequence
Bandthe mode and limits you played (under · over · inside · outside)
  1. 1

    Place a Dice Bet

    Pick a mode and set your band on the slider, then roll a number from 0.00 to 99.99. The number comes from the seeds and nonce alone: your mode, band and stake decide the odds and the payout, never the number rolled.

  2. 2

    Open the Provably Fair Panel and Rotate the Seed

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed and your bet count. Rotating ends the seed pair and reveals the server seed. Check it first: the SHA-256 hash of the revealed seed must equal the hash you saw before betting. Across this audit’s 34 seed pairs, it always did.

  3. 3

    Enter the Seeds in the Verify Tab

    The Verify tab recomputes any roll from a server seed, client seed, nonce and band. Enter the revealed server seed, your client seed, the bet’s nonce and the band you played: the mode, From and To.

  4. 4

    Recompute & Confirm

    Press Verify, or enter the same inputs in the ProvablyFair.org verifier. If the hash check in step 2 passed, the recomputed roll matches your bet and your band gives the same win or loss, the bet was provably fair. The ProvablyFair.org verifier also checks the multiplier and the payout; the scripts under Manual Verification do the same offline.

Visual Walkthroughstep-by-step
6.1Step 1: Place a Dice Bet

Pick a mode with the game-mode switch, set your band on the slider and roll. The platform computes the roll from (serverSeed, clientSeed, nonce) before the band is applied — the bet below rolls under 49.50, a 49.50% win chance at 2.00×.

LIQD Dice on liqd.com — a $1.00 roll under 49.50 (2.00×, 49.50% win chance) that came up 13.17, a win paying $2.00; the 58.61 before it was the pair’s first roll (nonce 0).

LIQD Dice on liqd.com — a $1.00 roll under 49.50 (2.00×, 49.50% win chance) that came up 13.17, a win paying $2.00; the 58.61 before it was the pair’s first roll (nonce 0).

6.2Step 2: Open the Provably Fair Panel and Rotate the Seed

The panel has two tabs, Seeds and Verify. The Seeds tab holds your active pair and its commitment, with the next server-seed hash already published underneath it. Rotation ends the epoch: the outgoing server seed is revealed for verification, and the pre-committed next pair is promoted to active. That pre-commitment is the chain the audit’s Step 2 checks across all 30 links inside the capture files, plus each file’s pre-capture link.

Active Server Seed (Hashed) — the commitment for the current epoch; the plaintext is revealed when you rotate and must hash to this value.

Active Client Seed — your player-controlled entropy input, editable via the Next Client Seed field before rotation.

Total bets made with pair — the bet counter under the active pair, which locates each round's nonce within the epoch.

The Seeds tab before rotating — Active Server Seed (Hashed) bf7c353e…14d717 after 2 bets, and the next server seed’s hash already published. The seed revealed by the rotation, c18398a8…8ec7ab, hashes to bf7c353e…14d717.

The Seeds tab before rotating — Active Server Seed (Hashed) bf7c353e…14d717 after 2 bets, and the next server seed’s hash already published. The seed revealed by the rotation, c18398a8…8ec7ab, hashes to bf7c353e…14d717.

6.3Step 3: Enter the Seeds in the Verify Tab

The Verify tab takes the four inputs — client seed, server seed, nonce, and the band (mode plus from / to) — and recomputes a roll on demand. Enter the server seed revealed in step 2, your client seed, the bet’s nonce and the band you played. Everything this audit checks cryptographically, the panel lets you check by hand.

The Verify tab filled in for that roll — client seed, the server seed revealed in step 2, nonce 1 and the Under band from 0.00 to 49.50.

The Verify tab filled in for that roll — client seed, the server seed revealed in step 2, nonce 1 and the Under band from 0.00 to 49.50.

6.4Step 4: Recompute & Confirm

Press Verify. The tab recomputes the roll from the three seed inputs and applies the half-open rule to your band — so you can check both the number rolled and the win or loss it produced. A match shows the roll is the one the committed seed produces. The scripts in the Manual Verification section below do the same with nothing but Node.js or Python, pre-loaded with the featured bet from this report — and they also check the credit.

The result: “Rolled 13.17: win at 2.00x”. Our scripts in 6.8–6.9 reproduce it exactly: roll 13.17, a win under 49.50, $2.00 credited on the $1.00 stake.

The result: “Rolled 13.17: win at 2.00x”. Our scripts in 6.8–6.9 reproduce it exactly: roll 13.17, a win under 49.50, $2.00 credited on the $1.00 stake.

Manual Verification (Advanced)6 sections
6.5Why Manual Verification Matters

Hosted verifiers — including ours — are conveniences. The guarantee only becomes unconditional when you can reproduce a round with tools nobody else controls. The algorithm below is small enough to audit by eye and run anywhere: if the revealed seed matches the hash you saw before betting and your recomputation matches the round you played, no one in the chain — casino, auditor, or tool host — changed it after you bet.

6.6How the Algorithm Works (Plain English)

Four moving parts, in the order they act:

  • Commit — before you play, LIQD publishes SHA-256 of the server seed (hashed as the 32-character hex string). The seed itself stays secret until rotation.
  • Draw — one call to HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:0); the first 4-byte chunk below 4,294,960,000 is taken modulo 10,000 and divided by 100 — that is the roll, 0.00 to 99.99.
  • Judge — the roll wins if it lies in [lower, upper) — the lower bound counts, the upper does not — or, for outside, if it does not.
  • Pay — a win credits stake × 9900 / b, where b is the winning width in basis points: the exact amount, rounded down to 8 decimals.

Note the two hashing domains: the commitment hashes the hex string as UTF-8 text, while the HMAC key is the 16 decoded bytes. Mixing them up is the most common reason a hand-rolled verifier disagrees with the game — both scripts below get it right, and both print the featured bet’s expected output in their comments so you can self-check the tool before trusting it. The other classic slip is the boundary: use < on the upper bound, not <=, or a roll exactly on it will be judged a win the game never pays.

6.7Casino Verifier vs ProvablyFair.org Verifier4 records

Both should agree — the point of having an independent one is what happens if they ever don't:

3 columns
LIQD Built-in (in-game panel)ProvablyFair.org
Who controls the codeThe casinoProvablyFair.org — open source
What it proves aloneInternal consistency of LIQD’s own mathIndependent recomputation from raw inputs
Checked against this captureYes — its production verify endpoint returned the served roll, win and multiplier for all 5,936 captured rounds, and agrees with our implementation on 33 boundary and 9900× probes (E17, E20)Implements the audited rules — the HMAC-SHA256 draw, the half-open band, 9900 / b and the round-down payout — the same rules that reproduce all 5,936 captured rounds in this audit
If they disagreeSuspect the casino’s tool or a tampered roundThe repo + scripts are the tiebreaker anyone can run
6.8JavaScript Verification Script

Complete, dependency-free, and pre-loaded with the featured bet as its default inputs — run it as-is to see a full match, then swap in your own round:

verify-dice.js · Standalone Node.js
// verify-dice.js — standalone LIQD Dice verifier (Node.js, no dependencies)// Usage: node verify-dice.js <serverSeed> <clientSeed> <nonce> <lower> <upper> <inverted> [stake]const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, lowerArg, upperArg, invArg, stakeArg = '0.10'] = argv.length  ? argv  : ['3085a86bd812800c76ae7d81191955b2', 'audit8f7ccfa4326c', '9', '0', '98', 'false', '0.10'];const nonce = Number(nonceArg), lower = Number(lowerArg), upper = Number(upperArg);const inverted = invArg === 'true'; // 1) Commitment: SHA-256 of the hex STRING (UTF-8) — what the panel showed before you playedconsole.log('commitment =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) One bias-free draw — HMAC keyed on the DECODED bytes, message clientSeed:nonce:0function draw() {  const digest = createHmac('sha256', Buffer.from(serverSeed, 'hex'))    .update(`${clientSeed}:${nonce}:0`).digest();  const maxFair = Math.floor(0x1_0000_0000 / 10000) * 10000;   // 4,294,960,000  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % 10000;  }  throw new Error('all eight chunks rejected (not specified; about 7e-47 per bet)');}const roll = draw() / 100;console.log('roll       =', roll.toFixed(2)); // 3) Half-open win rule: the lower bound is in, the upper bound is out; outside = exact complementconst inBand = roll >= lower && roll < upper;const win = inverted ? !inBand : inBand;console.log('win        =', win); // 4) Quotient multiplier 9900 / b (b = winning width in basis points), then the payout://    the exact product, rounded DOWN to 8 decimals, in integer 1e-8 units (no floating point)const width = inverted ? 100 - (upper - lower) : upper - lower;const b = Math.round(width * 100);const multiplier = 9900 / b;const [whole, frac = ''] = stakeArg.split('.');const stakeUnits = BigInt(whole) * 100000000n + BigInt((frac + '00000000').slice(0, 8));const units = win ? (stakeUnits * 9900n) / BigInt(b) : 0n;        // floor8(stake × 9900 / b)const credit = `${units / 100000000n}.${String(units % 100000000n).padStart(8, '0')}`;console.log('multiplier =', multiplier, '| credit =', credit);// Expected for the defaults (bet JOaaqudLC5XcE2aFNic0w, epoch 0 nonce 9, under 98 at $0.10)://   commitment = 99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d//   roll       = 76.84//   win        = true//   multiplier = 1.010204081632653 | credit = 0.10102040
6.9Python Verification Script

The same verifier in Python 3, standard library only — the settlement is done in exact rational arithmetic, so it doubles as an independent check on the JavaScript version:

verify-dice.py · Standalone Python
# verify-dice.py — standalone LIQD Dice verifier (Python 3, stdlib only)import hashlib, hmac, struct, sysfrom fractions import Fraction args = sys.argv[1:] or ['3085a86bd812800c76ae7d81191955b2', 'audit8f7ccfa4326c', '9', '0', '98', 'false', '0.10']server_seed, client_seed, nonce = args[0], args[1], int(args[2])lower, upper, inverted = Fraction(args[3]), Fraction(args[4]), args[5] == 'true'stake = Fraction(args[6] if len(args) > 6 else '0.10') # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) One bias-free draw — HMAC-SHA256 keyed on the 16 decoded bytes, message clientSeed:nonce:0def draw():    digest = hmac.new(bytes.fromhex(server_seed),                      f'{client_seed}:{nonce}:0'.encode(), hashlib.sha256).digest()    for chunk in struct.unpack('>8I', digest):        if chunk < 4294960000:          # maxFair = floor(2**32 / 10000) * 10000            return chunk % 10000    raise ValueError('all eight chunks rejected (not specified; about 7e-47 per bet)') roll = Fraction(draw(), 100)print('roll       = %.2f' % roll) # 3) Half-open win rule — lower bound in, upper bound out; outside = exact complementin_band = lower <= roll < upperwin = (not in_band) if inverted else in_bandprint('win        =', win) # 4) Quotient multiplier 9900 / b, then the payout: the exact product, rounded DOWN to 8 decimalswidth = 100 - (upper - lower) if inverted else upper - lowerb = int(width * 100)                                    # basis points (exact for 2-dp bounds)multiplier = Fraction(9900, b)exact = stake * multiplier                              # exact rational, no floating pointcredit = Fraction(int(exact * 10**8), 10**8) if win else Fraction(0)   # rounded down to 8 dpprint('multiplier = %r | credit = %.8f' % (float(multiplier), float(credit)))# Expected for the defaults (bet JOaaqudLC5XcE2aFNic0w, epoch 0 nonce 9, under 98 at $0.10):#   commitment = 99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d#   roll       = 76.84#   win        = True#   multiplier = 1.010204081632653 | credit = 0.10102040
6.10Evidence Screenshots & Records7 records

The walkthrough’s screenshots are page captures from liqd.com, outside the package’s evidence set.

2 columns
FileShows
E16-prod-capture-check-2026-11-07.txtThe capture checker’s printout for the Phase A export, 7 November 2026 — commitments, chain links, client seeds, request = served, and LIQD’s verify reply = served on 5,000 / 5,000. Its one FAIL row (payout, 4,512 / 5,000) is the checker of that date applying a different rounding rule: the 488 rounds it lists are 98% wins credited 0.10102040, exactly what round-down gives, and Step 8 scores round-down on all 5,936
E17-prod-verify-boundary-probes-2026-11-09.json23 recorded replies of LIQD’s production verify endpoint, 9 November 2026, with the roll exactly on a band bound or 0.01 off it — the evidence for the half-open rule (S4.7)
E18-prod-capture-check-2026-11-10-phases-D-A.txtThe checker’s printout for the Phase D and A+ export — all checks pass; 5 player-set seeds taken by the site; payout by round-down and verify reply = served on 700 / 700
E19-prod-capture-check-2026-11-10-phase-C.txtThe checker’s printout for Phase C — all checks pass; 235 / 235 rounds at $10.00, payout by round-down and verify reply = served on 235 / 235
E20-prod-verify-9900x-probes-2026-11-10.json10 recorded replies of LIQD’s production verify endpoint on 0.01% bands, 10 November 2026 — the 4 winning probes are priced 9900× (S4.7)
E21-prod-capture-check-2026-11-10-phase-X.txtThe checker’s printout for Phase X — all checks pass; the one 9900× round at $0.10, lost; seed rotated before and after, commitment and chain OK; verify reply = served
rtp-page-labels-2026-10-01.jsonThe RTP and house-edge figures on LIQD’s Dice game page, read logged out on 1 October 2026 — the source of the RTP claim (S4.2)
From Bet to Independent Verification — 4-step flow — illustrated flow
How it works
  1. 1

    Place a Dice Bet

    Pick a mode and set your band on the slider, then roll a number from 0.00 to 99.99. The number comes from the seeds and nonce alone: your mode, band and stake decide the odds and the payout, never the number rolled.

  2. 2

    Open the Provably Fair Panel and Rotate the Seed

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed and your bet count. Rotating ends the seed pair and reveals the server seed. Check it first: the SHA-256 hash of the revealed seed must equal the hash you saw before betting. Across this audit’s 34 seed pairs, it always did.

  3. 3

    Enter the Seeds in the Verify Tab

    The Verify tab recomputes any roll from a server seed, client seed, nonce and band. Enter the revealed server seed, your client seed, the bet’s nonce and the band you played: the mode, From and To.

  4. 4

    Recompute & Confirm

    Press Verify, or enter the same inputs in the ProvablyFair.org verifier. If the hash check in step 2 passed, the recomputed roll matches your bet and your band gives the same win or loss, the bet was provably fair. The ProvablyFair.org verifier also checks the multiplier and the payout; the scripts under Manual Verification do the same offline.

Visual Walkthroughstep-by-step
6.1Step 1: Place a Dice Bet

Pick a mode with the game-mode switch, set your band on the slider and roll. The platform computes the roll from (serverSeed, clientSeed, nonce) before the band is applied — the bet below rolls under 49.50, a 49.50% win chance at 2.00×.

LIQD Dice on liqd.com — a $1.00 roll under 49.50 (2.00×, 49.50% win chance) that came up 13.17, a win paying $2.00; the 58.61 before it was the pair’s first roll (nonce 0).

LIQD Dice on liqd.com — a $1.00 roll under 49.50 (2.00×, 49.50% win chance) that came up 13.17, a win paying $2.00; the 58.61 before it was the pair’s first roll (nonce 0).

6.2Step 2: Open the Provably Fair Panel and Rotate the Seed

The panel has two tabs, Seeds and Verify. The Seeds tab holds your active pair and its commitment, with the next server-seed hash already published underneath it. Rotation ends the epoch: the outgoing server seed is revealed for verification, and the pre-committed next pair is promoted to active. That pre-commitment is the chain the audit’s Step 2 checks across all 30 links inside the capture files, plus each file’s pre-capture link.

Active Server Seed (Hashed) — the commitment for the current epoch; the plaintext is revealed when you rotate and must hash to this value.

Active Client Seed — your player-controlled entropy input, editable via the Next Client Seed field before rotation.

Total bets made with pair — the bet counter under the active pair, which locates each round's nonce within the epoch.

The Seeds tab before rotating — Active Server Seed (Hashed) bf7c353e…14d717 after 2 bets, and the next server seed’s hash already published. The seed revealed by the rotation, c18398a8…8ec7ab, hashes to bf7c353e…14d717.

The Seeds tab before rotating — Active Server Seed (Hashed) bf7c353e…14d717 after 2 bets, and the next server seed’s hash already published. The seed revealed by the rotation, c18398a8…8ec7ab, hashes to bf7c353e…14d717.

6.3Step 3: Enter the Seeds in the Verify Tab

The Verify tab takes the four inputs — client seed, server seed, nonce, and the band (mode plus from / to) — and recomputes a roll on demand. Enter the server seed revealed in step 2, your client seed, the bet’s nonce and the band you played. Everything this audit checks cryptographically, the panel lets you check by hand.

The Verify tab filled in for that roll — client seed, the server seed revealed in step 2, nonce 1 and the Under band from 0.00 to 49.50.

The Verify tab filled in for that roll — client seed, the server seed revealed in step 2, nonce 1 and the Under band from 0.00 to 49.50.

6.4Step 4: Recompute & Confirm

Press Verify. The tab recomputes the roll from the three seed inputs and applies the half-open rule to your band — so you can check both the number rolled and the win or loss it produced. A match shows the roll is the one the committed seed produces. The scripts in the Manual Verification section below do the same with nothing but Node.js or Python, pre-loaded with the featured bet from this report — and they also check the credit.

The result: “Rolled 13.17: win at 2.00x”. Our scripts in 6.8–6.9 reproduce it exactly: roll 13.17, a win under 49.50, $2.00 credited on the $1.00 stake.

The result: “Rolled 13.17: win at 2.00x”. Our scripts in 6.8–6.9 reproduce it exactly: roll 13.17, a win under 49.50, $2.00 credited on the $1.00 stake.

Technical evidence
6.5Why Manual Verification Matters

Hosted verifiers — including ours — are conveniences. The guarantee only becomes unconditional when you can reproduce a round with tools nobody else controls. The algorithm below is small enough to audit by eye and run anywhere: if the revealed seed matches the hash you saw before betting and your recomputation matches the round you played, no one in the chain — casino, auditor, or tool host — changed it after you bet.

6.6How the Algorithm Works (Plain English)

Four moving parts, in the order they act:

  • Commit — before you play, LIQD publishes SHA-256 of the server seed (hashed as the 32-character hex string). The seed itself stays secret until rotation.
  • Draw — one call to HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:0); the first 4-byte chunk below 4,294,960,000 is taken modulo 10,000 and divided by 100 — that is the roll, 0.00 to 99.99.
  • Judge — the roll wins if it lies in [lower, upper) — the lower bound counts, the upper does not — or, for outside, if it does not.
  • Pay — a win credits stake × 9900 / b, where b is the winning width in basis points: the exact amount, rounded down to 8 decimals.

Note the two hashing domains: the commitment hashes the hex string as UTF-8 text, while the HMAC key is the 16 decoded bytes. Mixing them up is the most common reason a hand-rolled verifier disagrees with the game — both scripts below get it right, and both print the featured bet’s expected output in their comments so you can self-check the tool before trusting it. The other classic slip is the boundary: use < on the upper bound, not <=, or a roll exactly on it will be judged a win the game never pays.

6.7Casino Verifier vs ProvablyFair.org Verifier4 records

Both should agree — the point of having an independent one is what happens if they ever don't:

3 columns
LIQD Built-in (in-game panel)ProvablyFair.org
Who controls the codeThe casinoProvablyFair.org — open source
What it proves aloneInternal consistency of LIQD’s own mathIndependent recomputation from raw inputs
Checked against this captureYes — its production verify endpoint returned the served roll, win and multiplier for all 5,936 captured rounds, and agrees with our implementation on 33 boundary and 9900× probes (E17, E20)Implements the audited rules — the HMAC-SHA256 draw, the half-open band, 9900 / b and the round-down payout — the same rules that reproduce all 5,936 captured rounds in this audit
If they disagreeSuspect the casino’s tool or a tampered roundThe repo + scripts are the tiebreaker anyone can run
6.8JavaScript Verification Script

Complete, dependency-free, and pre-loaded with the featured bet as its default inputs — run it as-is to see a full match, then swap in your own round:

verify-dice.js · Standalone Node.js
// verify-dice.js — standalone LIQD Dice verifier (Node.js, no dependencies)// Usage: node verify-dice.js <serverSeed> <clientSeed> <nonce> <lower> <upper> <inverted> [stake]const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, lowerArg, upperArg, invArg, stakeArg = '0.10'] = argv.length  ? argv  : ['3085a86bd812800c76ae7d81191955b2', 'audit8f7ccfa4326c', '9', '0', '98', 'false', '0.10'];const nonce = Number(nonceArg), lower = Number(lowerArg), upper = Number(upperArg);const inverted = invArg === 'true'; // 1) Commitment: SHA-256 of the hex STRING (UTF-8) — what the panel showed before you playedconsole.log('commitment =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) One bias-free draw — HMAC keyed on the DECODED bytes, message clientSeed:nonce:0function draw() {  const digest = createHmac('sha256', Buffer.from(serverSeed, 'hex'))    .update(`${clientSeed}:${nonce}:0`).digest();  const maxFair = Math.floor(0x1_0000_0000 / 10000) * 10000;   // 4,294,960,000  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % 10000;  }  throw new Error('all eight chunks rejected (not specified; about 7e-47 per bet)');}const roll = draw() / 100;console.log('roll       =', roll.toFixed(2)); // 3) Half-open win rule: the lower bound is in, the upper bound is out; outside = exact complementconst inBand = roll >= lower && roll < upper;const win = inverted ? !inBand : inBand;console.log('win        =', win); // 4) Quotient multiplier 9900 / b (b = winning width in basis points), then the payout://    the exact product, rounded DOWN to 8 decimals, in integer 1e-8 units (no floating point)const width = inverted ? 100 - (upper - lower) : upper - lower;const b = Math.round(width * 100);const multiplier = 9900 / b;const [whole, frac = ''] = stakeArg.split('.');const stakeUnits = BigInt(whole) * 100000000n + BigInt((frac + '00000000').slice(0, 8));const units = win ? (stakeUnits * 9900n) / BigInt(b) : 0n;        // floor8(stake × 9900 / b)const credit = `${units / 100000000n}.${String(units % 100000000n).padStart(8, '0')}`;console.log('multiplier =', multiplier, '| credit =', credit);// Expected for the defaults (bet JOaaqudLC5XcE2aFNic0w, epoch 0 nonce 9, under 98 at $0.10)://   commitment = 99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d//   roll       = 76.84//   win        = true//   multiplier = 1.010204081632653 | credit = 0.10102040
6.9Python Verification Script

The same verifier in Python 3, standard library only — the settlement is done in exact rational arithmetic, so it doubles as an independent check on the JavaScript version:

verify-dice.py · Standalone Python
# verify-dice.py — standalone LIQD Dice verifier (Python 3, stdlib only)import hashlib, hmac, struct, sysfrom fractions import Fraction args = sys.argv[1:] or ['3085a86bd812800c76ae7d81191955b2', 'audit8f7ccfa4326c', '9', '0', '98', 'false', '0.10']server_seed, client_seed, nonce = args[0], args[1], int(args[2])lower, upper, inverted = Fraction(args[3]), Fraction(args[4]), args[5] == 'true'stake = Fraction(args[6] if len(args) > 6 else '0.10') # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) One bias-free draw — HMAC-SHA256 keyed on the 16 decoded bytes, message clientSeed:nonce:0def draw():    digest = hmac.new(bytes.fromhex(server_seed),                      f'{client_seed}:{nonce}:0'.encode(), hashlib.sha256).digest()    for chunk in struct.unpack('>8I', digest):        if chunk < 4294960000:          # maxFair = floor(2**32 / 10000) * 10000            return chunk % 10000    raise ValueError('all eight chunks rejected (not specified; about 7e-47 per bet)') roll = Fraction(draw(), 100)print('roll       = %.2f' % roll) # 3) Half-open win rule — lower bound in, upper bound out; outside = exact complementin_band = lower <= roll < upperwin = (not in_band) if inverted else in_bandprint('win        =', win) # 4) Quotient multiplier 9900 / b, then the payout: the exact product, rounded DOWN to 8 decimalswidth = 100 - (upper - lower) if inverted else upper - lowerb = int(width * 100)                                    # basis points (exact for 2-dp bounds)multiplier = Fraction(9900, b)exact = stake * multiplier                              # exact rational, no floating pointcredit = Fraction(int(exact * 10**8), 10**8) if win else Fraction(0)   # rounded down to 8 dpprint('multiplier = %r | credit = %.8f' % (float(multiplier), float(credit)))# Expected for the defaults (bet JOaaqudLC5XcE2aFNic0w, epoch 0 nonce 9, under 98 at $0.10):#   commitment = 99d78251a09a8c5ee083928d3ff835b1bca114e1ebf86cbf338f43959a583d8d#   roll       = 76.84#   win        = True#   multiplier = 1.010204081632653 | credit = 0.10102040
6.10Evidence Screenshots & Records7 records

The walkthrough’s screenshots are page captures from liqd.com, outside the package’s evidence set.

2 columns
FileShows
E16-prod-capture-check-2026-11-07.txtThe capture checker’s printout for the Phase A export, 7 November 2026 — commitments, chain links, client seeds, request = served, and LIQD’s verify reply = served on 5,000 / 5,000. Its one FAIL row (payout, 4,512 / 5,000) is the checker of that date applying a different rounding rule: the 488 rounds it lists are 98% wins credited 0.10102040, exactly what round-down gives, and Step 8 scores round-down on all 5,936
E17-prod-verify-boundary-probes-2026-11-09.json23 recorded replies of LIQD’s production verify endpoint, 9 November 2026, with the roll exactly on a band bound or 0.01 off it — the evidence for the half-open rule (S4.7)
E18-prod-capture-check-2026-11-10-phases-D-A.txtThe checker’s printout for the Phase D and A+ export — all checks pass; 5 player-set seeds taken by the site; payout by round-down and verify reply = served on 700 / 700
E19-prod-capture-check-2026-11-10-phase-C.txtThe checker’s printout for Phase C — all checks pass; 235 / 235 rounds at $10.00, payout by round-down and verify reply = served on 235 / 235
E20-prod-verify-9900x-probes-2026-11-10.json10 recorded replies of LIQD’s production verify endpoint on 0.01% bands, 10 November 2026 — the 4 winning probes are priced 9900× (S4.7)
E21-prod-capture-check-2026-11-10-phase-X.txtThe checker’s printout for Phase X — all checks pass; the one 9900× round at $0.10, lost; seed rotated before and after, commitment and chain OK; verify reply = served
rtp-page-labels-2026-10-01.jsonThe RTP and house-edge figures on LIQD’s Dice game page, read logged out on 1 October 2026 — the source of the RTP claim (S4.2)
✓  Any Player Can Reproduce Dice Results

Only disclosed inputs are used. Identical inputs always produce identical output.

07

Reproducibility & Artifacts

Can anyone independently reproduce every scored check in this audit?

The audit package behind this report is public: the code, the bet data and the results. Anyone with a computer can re-run every scored check and statistic and get the same answers. The repository is the credential, not this report.

Open-Source Audit Repository

v1.3.0release audited

Repository Details

Prerequisites

  • Node.js 22.23.1 or later within 22.x (other majors are refused): nothing to install for node test.js && node verify.js
  • Git
  • TypeScript tools via npm ci (TypeScript 5.9.3, ts-node 10.9.2, Mocha 11.7.6), for npm test and the source commands
  • Python 3, only for the optional standalone checker in Section 6
v1.3.0release audited
github.com/ProvablyFair-org/liqd-dice

Commands to Reproduce

Everything ships inside the repo: the 5,936-bet dataset and the committed results, with no separate download, and the dataset’s SHA-256 is checked before anything runs. npm test runs the 110 unit tests, the 22-step verification and the release check; node test.js && node verify.js runs the same tests and verification with nothing but Node.js 22. Other Node.js majors are refused before any check runs.

sh
git clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dicegit checkout v1.3.0# Requires Node.js 22.23.1 or later within 22.x (other major versions are unsupported); with nvm: nvm install && nvm usenpm ci # Run the offline audit suite end-to-end (110 unit tests + 22-step verification + release-manifest check)npm test # Or the dependency-free pathnode test.js && node verify.js
Expected output
  110 passing (…)…  Passed:     22/22  Hard fails: 0  Flags:      0   VERDICT: PROVABLY FAIR — Full Pass…  Reproduction vs the committed artifacts on Node 22.23.4: REPRODUCED  [release-manifest] OK: release bar met; 13 artifact hashes match disk, verdict "PROVABLY FAIR — Full Pass", scored 22/22
Audit Reproducibility Pinning19 records
Release Commit
dda3768477681884521ded51b833fb9d6e3395d1 — github.com/ProvablyFair-org/liqd-dice/commit/dda3768
Framework
ProvablyFair.org Audit Framework 1.1 · Dice profile 1.0.2 · RTP-CLAIM 1.2.0
Release Signature
Release commit and tag signed with the ProvablyFair.org release key (SSH, SHA256:gEujiJm2pRyq7lQsfYQfQ1r97H/J7GdaKHbOW8GtikY), recorded in RELEASE-MANIFEST.json
Node Version
22.23.1 or later in 22.x required (validated on 22.23.1; other majors refused)
Primary Dataset
data/dice-prod-5936bets.json (5,936 bets, 34 seed epochs, four capture files)
Primary Dataset Hash (SHA-256)
41ea55fcadd903768be3a92725f2100fe2e794ab300d6842ce946124ea7d5042
Simulation Artifact Hash (SHA-256)
c6698388eb242683180135e687ec1f2074596eb87a19390dfe35176371913308
Convergence Chart Hash (SHA-256)
6b7b6bb7c474a49b48effbd31dd69ca952e4af5ee451902dbaff4a745743e02c
RTP Claim Table Hash (SHA-256)
4c1c589c87cc3351209005e145311f400bc07d994519d4e940e19ed6e3c17707
Verifier Probe Records (SHA-256)
E17 3cf8d772f60f62793579db7f0041ef81e77aff490b95e03717fd96c23f82de98 · E20 78e57a33211b1d0ad4ce97fa1426c2c6e3db9bed8c04c60503b1d731d799c9b2 — pinned in src/config.ts, re-derived by Step 15
Derived Figures
outputs/report-figures.json — checked against a fresh recomputation from the pinned dataset on every run (Step 19), not against a fixed hash
Reproduction Gate
Verification runs write to outputs/run/ and are compared field by field with the committed results (outputs/run/diff.json) — integers exactly, p-values within 1e-14 + 1e-12 relative; anything beyond tolerance exits 1. Simulation regeneration rewrites outputs/simulation-results.json and outputs/rtp-convergence.html
Exit Codes
0 Full Pass · 2 Conditional Pass · 5 RTP FIGURE OVERSTATED · 1 hard fail or reproduction beyond tolerance
Mutation Battery
58 entries — 50 mutations, 8 forgery scripts, 0 declared survivors: 57 killed, 1 informational signal, 0 survivors (run of record, 10 November 2026)
Runtime
npm test ≈ 8 s · node verify.js ≈ 2 s · npm run test:full ≈ 6½ min (Node 22.23)
Capture Environment
Production host liqd.com · one anonymous account, opened and funded by ProvablyFair.org · USDT · four capture files
Audit Date
November 2026 (dataset captured on liqd.com 7–10 November 2026; production verifier boundary probes 9 November and 9900× probes 10 November 2026)
Audit ID
PF-2026-LQ04
Output Artifacts5 files committed
3 columns
FileContentsSize
verification-results.jsonSteps 1–22 results — per-step pass states with evidence detail strings, profile coverage (DICE-01 … DICE-30), dataset + simulation + chart hashes, info items (realized RTP in total and per phase), verdict~51 KB
report-figures.jsonDerived figures — settled-RTP span, settlement residual counts, boundary hit counts, cherry-pick test figures, per-phase and per-mode aggregates, verifier parity, player-set seeds — re-derived field-for-field by Step 19~2.9 KB
simulation-results.jsonPass 1 summaries (uniformity χ², serial screens, nine effective-edge rows, the seven-point under-50 series, 98 target rows with their marks and the 98-target mean series) + Pass 2 (served-band return per epoch, exact-null rows for 34 epochs)~180 KB
rtp-claim-table.jsonThe RTP claim rule’s table — LIQD’s published 99% against all 9,899 modelled widths, each with exact RTP, gap and outcome~1.3 MB
rtp-convergence.htmlConvergence chart rendered from the saved series (self-contained SVG/HTML — the same data as the chart on this page)~2.3 KB
Repository Structure
liqd-dice/
├── src/
│   ├── rng.ts                  → commitHash · HMAC draw (generateProvablyFairNumber) · diceRoll — written from docs/ALGORITHM.md
│   ├── bias.ts                 → the draw-bias bound, from the same maxFairFor the draw applies
│   ├── config.ts               → game model (range 10000 · half-open win rule · 9900/b quotient · round-down settlement) + the production plan (EXPECTED_PHASES) + artifact and evidence pins
│   ├── rtp-claim.ts · rtp-claim-switch.ts → the RTP claim rule (RTP-CLAIM 1.2.0) and its enforcement switch (on)
│   ├── rtp-settings.ts         → the 9,899-width exact RTP table and LIQD’s published claim
│   ├── profile-map.ts          → which Dice profile check (DICE-01 … DICE-30) each step implements
│   ├── loader.ts               → dataset loader + SHA-256 guard (aborts on mismatch)
│   ├── simulate.ts             → Pass 1 (uniformity · serial · 9 edge bands · 20M under-50 run · 98 over-mode targets) + Pass 2, from the pinned master seed → outputs/
│   ├── chart.ts                → renders outputs/rtp-convergence.html from the saved series
│   ├── exact-chi2.ts           → exact discrete null for the Pass 2 screen (181,274 partitions · 832 support values)
│   ├── sim-checks.ts           → integer win-count recovery, convergence validation, the seven scored screens and their nominal levels
│   ├── stats.ts                → chi-squared (exact incomplete gamma), lag-1, runs test, AS 241 quantile, exact binomial tail
│   ├── report-figures.ts       → outputs/report-figures.json — every quoted derived figure, reconciled by Step 19
│   ├── domains.ts              → value domains for every numeric field of the committed artifacts (Step 19)
│   ├── diff.ts                 → field-level diff of a run vs the committed artifacts (outputs/run/diff.json)
│   ├── runtime.ts              → Node 22.x guard (validated on 22.23.1)
│   └── types.ts                → dataset record types (liqd-dice-prod-capture-v1)
├── docs/
│   ├── ALGORITHM.md            → the specification the RNG is written from
│   └── INTERFACE.md            → the module interface the RNG implements
├── tests/
│   ├── verify.ts               → 22-step verification runner (results under outputs/run/; PF_EMIT=1 to regenerate the committed record)
│   ├── dice/                   → 110 unit tests (simChecks 38 · rng 18 · settlement 14 · stats 12 · exactNull 9 · artifact 7 · commitment 5 · runtime 4 · docs 2 · rngSpec 1 [128 checks])
│   ├── mutate.ts · mutations.json · structural-forgeries.json · mutation-survivors.json → 50 mutations + 8 forgeries, 0 declared survivors
│   ├── forgeries/              → the eight structural forgeries as executable scripts
│   └── steps/
│       ├── commitment.ts       → Steps 1–4 (seed hashes, chain + pre-capture links, epoch consistency, nonce windows)
│       ├── determinism.ts      → Steps 5–6 (roll recompute + draw-bias bound, win-rule reproduction + LIQD’s stored verify replies)
│       ├── payouts.ts          → Steps 7–10 (quotient multiplier, round-down credit, losses, wallet fields + odds bounds)
│       ├── dataset.ts          → Steps 11–12 (dataset identity + population, phase / mode coverage)
│       ├── anti-circularity.ts → Step 13 (negative control + 10,000-point enumeration anchor)
│       ├── phase-d.ts          → Step 14 (client-seed control: player-set seeds + sensitivity)
│       ├── boundary.ts         → Step 15 (production verifier probes E17 + E20, roll range, exact integer edge identity)
│       ├── simulation.ts       → Steps 16–17 (Pass 1 reconciliation, Pass 2 re-derivation from the dataset’s seeds)
│       ├── standardization.ts  → Steps 18–21 (bet size, artifact + value-domain integrity, settlement determinism, monotonicity)
│       ├── live-fit.ts         → Step 22 (live-sample serial independence, informational)
│       ├── statistical.ts      → informational items (live RTP in total and per phase, per-mode edge, roll range, win rate, odds limits)
│       └── context.ts          → shared context + step helper
├── scripts/                    → release manifest + release bar, standalone-bundle builder and its byte-identity check, companion-doc generator, specification count check
├── data/
│   └── dice-prod-5936bets.json      → 5,936 bets · 34 epochs · four capture files · LIQD’s verify reply per round · SHA-256 pinned
├── outputs/
│   ├── verification-results.json    → 22 steps + profile coverage + info items + dataset/simulation/chart hashes + verdict
│   ├── report-figures.json          → derived figures (settled RTP, residuals, boundary hits, cherry-pick figures, per-phase aggregates, verifier parity)
│   ├── simulation-results.json      → Pass 1 summaries + Pass 2 served-band and exact-null rows
│   ├── rtp-claim-table.json         → the RTP claim rule over all 9,899 modelled widths
│   └── rtp-convergence.html         → self-contained convergence chart (same data as the chart on this page)
├── evidence/                   → E16 · E18 · E19 · E21 capture-check printouts · E17 boundary probes · E20 9900× probes · RTP page labels
├── .github/workflows/reproduce.yml → second-machine reproduction on a clean runner
├── test.js · verify.js         → dependency-free bundles (Node 22 only)
├── README.md · MANIFEST.md     → the report (findings, evidence register, worked examples, declared limitations)
├── evidence.md · SUMMARY.md    → evidence register with origins and SHA-256 · table of contents (generated, checked by a unit test)
├── RELEASE-MANIFEST.json       → release identity: tag, framework, artifact hashes, verdict, signing key
├── package.json                → npm test = mocha && verify && release-manifest --check · test:standalone = node test.js && node verify.js
└── package-lock.json · tsconfig.json · .mocharc.yml · .nvmrc · .gitattributes · .gitignore · LICENSE
Step-to-Section Cross-Reference22 verification steps mapped
3 columns
StepTest NameReport Section
1Seed Hash IntegrityS1
2Next-Seed Pre-Commitment ChainS1
3Hash Consistency Within EpochS1
4Nonce AuditS1
5Roll Recomputation & Draw Bias BoundS1, S2, S3
6Win-Rule ReproductionS1, S3
7Multiplier DerivationS3, S4
8Credit ArithmeticS3, S4
9Loss SettlementS3
10Wallet Credit & Odds BoundsS3
11Dataset IntegrityS3
12Phase & Mode CoverageS3
13Anti-Circularity (Negative Control + Enumeration Anchor)S4
14Client-Seed ControlS1, S2, S3
15Boundary Rule, Roll Range & Effective EdgeS4 (also scores the RTP claim rule)
16Simulation — Pass 1 (RNG + Edge)S2, S4
17Simulation — Pass 2 (Cherry-Pick)S4
18Bet-Size Invariance (Phase C)S3, S4
19Artifact Hash + Value-Domain IntegrityS7
20Settlement DeterminismS3
21Multiplier Monotonicity & RangeS3, S4
22Live-Sample Serial Independence (informational)S2, S4
Game Profile CoverageDice profile 1.0.2 · 30 checks

Every check in the ProvablyFair.org Dice profile, version 1.0.2, is covered by a scored step, by a package check, or marked n/a with a reason — 22 by scored steps, 6 by package checks, 2 n/a. No check has partial coverage. The map ships in src/profile-map.ts and is emitted into outputs/verification-results.json on every run.

4 columns
CheckWhat it requiresCovered byCoverage
DICE-01Every revealed seed hashes to its commitmentStep 1Full
DICE-02Next-seed pre-commitment chain, including the pre-capture linkStep 2Full
DICE-03One commitment per epochStep 3Full
DICE-04Nonce contiguity, no reuse, no withholding; capture-retry gaps flagged, operator gaps failedStep 4Full
DICE-05Audited population bound to code constants, not the dataset headerSteps 11, 12Full
DICE-06Client-seed control and sensitivityStep 14Full
DICE-07Every served roll recomputes byte-identicallyStep 5Full
DICE-08Draw-bias bound computed from the draw’s own rejection windowStep 5Full
DICE-09Known-input unit vectors reproduce captured betsPackage check: tests/dice/rngTests.tsFull
DICE-10Win flag under the half-open rule, roll ceiling 99.99Steps 6, 15Full
DICE-11Settlement arithmetic — winning credits, losses at 0, credit determined by (roll, band, stake)Steps 8, 9, 20Full
DICE-12Bet-size invarianceStep 18Full
DICE-13Served multiplier equals 9900 / basisPointsStep 7Full
DICE-14Odds bounds and strict multiplier monotonicitySteps 10, 21Full
DICE-15All four modes, both stakes and the planned phases presentStep 12Full
DICE-16Wallet balance ledger reconciliation—N/A — the capture carries no running balance field, so there is no balance delta to reconcile; the settle-response wallet fields are reconciled in Step 10
DICE-17Boundary rule at the band edgesStep 15Full
DICE-18Anti-circularity: negative control and literal grid tallyStep 13Full
DICE-19Effective edge against the claimed edge; the RTP claim ruleStep 15Full
DICE-20Simulation Pass 1 — uniformity, serial, edge bands, convergence; replayableStep 16Full
DICE-21Cherry-pick test — served-band returnStep 17Full
DICE-22Live-sample uniformity and serial independence (informational)Steps 17, 22Full
DICE-23Framework fairness-integrity rows S5-1 … S5-8, kept as a package checklist (Section 5 reports the live integrity tests)Package check: MANIFEST.md S5 matrixFull
DICE-24Operator verifier source hash-matched to the derivation—N/A — LIQD publishes no verifier source code to hash-match; its production verify endpoint is used as a second check (a stored reply for every captured round, and the probes E17 and E20)
DICE-25Player verification path, in LIQD’s field namesPackage check: MANIFEST.md Verify a betFull
DICE-26Dataset and simulation artifacts pinned by SHA-256Steps 11, 19Full
DICE-27Artifacts of record: no run metadata, every numeric value inside a declared domainStep 19Full
DICE-28Release gate: fresh clone, pinned runtime, audit IDPackage check: package.json, .nvmrc, src/config.tsFull
DICE-29Mutation battery with declared survivorsPackage check: tests/mutations.json and companionsFull
DICE-30Limitations register and numbered evidencePackage check: MANIFEST.mdFull
reproduce-audit.sh
reproduce-audit.sh
# Clone and setupgit clone https://github.com/ProvablyFair-org/liqd-dice.gitcd liqd-dicegit checkout v1.3.0# Requires Node.js 22.23.1 or later within 22.x (other major versions are unsupported); with nvm: nvm install && nvm usenpm ci # Run the offline audit suite end-to-end (110 unit tests + the 22 verification steps + release-manifest check)npm test # Or the dependency-free path — the standalone bundles need only Node.js 22node test.js && node verify.js # Or run individual componentsnpm run verify           # 22-step verification — writes outputs/run/, never the committed resultsnpm run test:full        # regenerates the simulation from its pinned master seed, then verifiesnpm run mutate           # mutation battery — 58 entries: 57 killed, 1 informational signal, 0 survivors # View the committed resultscat outputs/verification-results.jsoncat outputs/report-figures.jsoncat outputs/rtp-claim-table.json | head -40
provablyfair.org/verify-bets/liqd
This is an open-source audit. Every scored check, dataset and line of verification code is public. You don't need to trust us or the casino. Clone the repo, run the tests, and reproduce every scored result yourself.
✓  Fully Reproducible

The public repository reproduces the offline audit suite from release v1.3.0 with the commands above; Section 5’s live-service integrity tests are documented separately. The dataset is pinned by SHA-256 and checked before any check runs, so you are testing the same 5,936 bets we did. The simulation, the RTP claim table and the verifier records are pinned the same way, and npm run test:full regenerates the simulation byte for byte.