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

Mines

Certified · Active

Independent verification, backed by open-source code.

PF-2026-LQ02Audited July–November 2026 · Framework 1.1 · Release v1.2.0July–November 2026 · Framework 1.1 · v1.2.0
AUDIT RESULTPassedPassed 23/23 · Hard fails 0 · Flags 0VERDICT: PROVABLY FAIR — Full Pass, as printed by npm test.
Live Bets Verified
6,574
Parity Rate
100%
Simulated Rounds
24M
Simulated RTP 98.9427% across 24 million rounds
Proven RTP
99.0000%
23 / 23Verification steps passed

Verification pipeline

Real bets. Independently reproduced.

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

LIQD MINES$0.10 · 1 mine · 25 tiles · Cash out at 2
Safe revealMine
Bet #3qspkxQBTXgctz8Sy2zEZNonce 0 · Phase D
100 real bets · Phase DBet 1 of 100
✓ Exact match
1.0761×

The casino result, reproduced.

Casino outcome
2 safe reveals · Cashed out
Our reproduction
2 safe reveals · Cashed out
Recorded payout
$0.1076
Open source

Run this audit yourself

Open GitHub ↗

The repo is the credential. You don’t have to trust us: every scored check of the audit ships as open-source code. One command, npm test, re-runs them all with nothing installed but Node.js 22: it re-verifies all 6,574 live rounds and their raw captures, and replays all 24 million simulated rounds.

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

This audit independently checks the Mines game on LIQD under the ProvablyFair.org Audit Framework 1.1. We played 6,574 real rounds on liqd.com between 8 and 10 November 2026, from an anonymous account we funded ourselves, at all 24 mine counts, opening up to 15 tiles, at two stakes, with our own client seeds. Then we recomputed every layout with our own implementation, and checked every round against LIQD’s own verifier and every win against LIQD’s bet history.

Results at a glance

Audit Verdict

CheckResultEvidence
Overall StatusPassPROVABLY FAIR — Full Pass. All 23 checks passed with no hard fails: all 6,574 live rounds, played between 8 and 10 November 2026, recompute exactly, and a balance check confirms what you are paid.
RTP VerifiedPassProven RTP of exactly 99.0000% at all 300 settings, and the USDT payouts return the same, so LIQD’s published 99% holds everywhere. 24 million simulated rounds average 98.9427%, in line with it.
Live ↔︎ Verifier ParityPass100%. Our own implementation reproduced all 6,574 mine layouts exactly, and the ProvablyFair.org verifier and LIQD’s own verifier match the same 6,574.
Commit-Reveal SystemPassAll 36 revealed server seeds match their published hashes, and every new seed matched the hash announced for it in advance. LIQD’s own timestamps show each hash was published before our client seed was sent.
Client SeedPassPlayer-controlled. Every seed pair ran under a client seed we set after LIQD published its hash, five of them set as a player, and a different client seed changes 99.35% of layouts.
RNG AnalysisPassOur own implementation, written from the specification, reproduces every layout: an HMAC-SHA256 shuffle of the 25 tiles that throws away biased values, so every tile is equally likely.
Payout LogicPassAll 6,574 rounds settled correctly. Every win is paid in USDT from the exact multiplier, which a 100-round balance check confirmed on all 71 of its wins, and all 3,883 losses pay 0.
Anti-CircularityPassWe counted each win chance on the 25-tile grid ourselves, never from a casino figure: times the exact multiplier, it is exactly 99% at all 300 settings, and a second count agrees.
Fairness IntegrityPass31 integrity tests reported across 11 categories, 30 of them on LIQD’s pre-launch environment: 27 pass and 4 remediated, all re-tested. The main one is fixed: wins are now paid from the exact multiplier.
DeterminismPassThe same server seed, client seed, nonce and mine count always give the same layout, on all 6,574 rounds.
Overall StatusPass
PROVABLY FAIR — Full Pass. All 23 checks passed with no hard fails: all 6,574 live rounds, played between 8 and 10 November 2026, recompute exactly, and a balance check confirms what you are paid.
RTP VerifiedPass
Proven RTP of exactly 99.0000% at all 300 settings, and the USDT payouts return the same, so LIQD’s published 99% holds everywhere. 24 million simulated rounds average 98.9427%, in line with it.
Live ↔︎ Verifier ParityPass
100%. Our own implementation reproduced all 6,574 mine layouts exactly, and the ProvablyFair.org verifier and LIQD’s own verifier match the same 6,574.
Commit-Reveal SystemPass
All 36 revealed server seeds match their published hashes, and every new seed matched the hash announced for it in advance. LIQD’s own timestamps show each hash was published before our client seed was sent.
Client SeedPass
Player-controlled. Every seed pair ran under a client seed we set after LIQD published its hash, five of them set as a player, and a different client seed changes 99.35% of layouts.
RNG AnalysisPass
Our own implementation, written from the specification, reproduces every layout: an HMAC-SHA256 shuffle of the 25 tiles that throws away biased values, so every tile is equally likely.
Payout LogicPass
All 6,574 rounds settled correctly. Every win is paid in USDT from the exact multiplier, which a 100-round balance check confirmed on all 71 of its wins, and all 3,883 losses pay 0.
Anti-CircularityPass
We counted each win chance on the 25-tile grid ourselves, never from a casino figure: times the exact multiplier, it is exactly 99% at all 300 settings, and a second count agrees.
Fairness IntegrityPass
31 integrity tests reported across 11 categories, 30 of them on LIQD’s pre-launch environment: 27 pass and 4 remediated, all re-tested. The main one is fixed: wins are now paid from the exact multiplier.
DeterminismPass
The same server seed, client seed, nonce and mine count always give the same layout, on all 6,574 rounds.
Audit scope & reference

What Was Audited

✓ Audited

  • LIQD’s live Mines game on liqd.com, played 8 to 10 November 2026 in USDT, with a balance check on 12 November, checked with release v1.2.0
  • Every mine layout can be reproduced from the server seed, client seed, nonce and mine count
  • 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 layout
  • Nonces count every bet from 0 in every seed pair, with no gaps or repeats
  • Mine positions come from an HMAC-SHA256 shuffle of the 25 tiles, with every tile equally likely
  • The layout is fixed when the round starts: the order you open tiles and when you cash out never change it
  • Every win is paid in USDT from the exact multiplier, confirmed against the balance; the on-screen multiplier is rounded down to 2 decimals
  • Proven RTP is exactly 99.0000% at all 300 settings, every mine count with every number of tiles opened: a flat 1% house edge
  • LIQD’s published 99% RTP holds at all 300 settings, with no gap
  • A separate 100-round check read the account balance before and after every round: each of its 71 wins added exactly the USDT amount, at 0.10 and 0.01
  • The bet amount does not change the layout or the payout rules: the same at 0.10 and 10.00
  • Players can independently verify every bet, with the ProvablyFair.org verifier, LIQD’s own verifier (no login needed), or by hand

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
  • Maximum-win cap enforcement
  • KYC, AML & responsible gambling controls
What Audit Covers
2 columns
AreaDescription
Commit-Reveal SystemSHA-256 server seed hashing, pre-bet commitment on the capture clock and on LIQD’s own reply timestamps, next-seed pre-commitment, reveal on rotation
Client Seed OriginPlayer-controlled seed set after the server commitment — our own random seeds in 31 epochs and five seeds set by the player in Phase D
Seed HandlingClient seed control, nonce lifecycle, seed epoch rotation
RNG AnalysisHMAC-SHA256 Fisher-Yates verification, rejection sampling, bias analysis
Payout LogicClosed-form multiplier; the USDT payout (8 decimals, confirmed against the balance on a 100-round check) and the booked amount (cut to the cent) of every win; multi-reveal cash-outs at 20 settings up to 15 tiles; rounds LIQD settles on the last safe tile; bet-size invariance (Phase C)
Live ParityIndependent mine-layout recomputation of all 6,574 production rounds and all 19,498 reveal replies, plus the ProvablyFair.org verifier and LIQD’s own verifier on every round
RTP ValidationAnti-circularity proof, the RTP claim rule over all 300 settings, the settlement floor of both amounts, simulated RTP (24M rounds), cherry-pick test on the served-config return
Capture ProvenanceThe three raw production captures bound to the scored dataset row by row; LIQD’s verifier replies, LIQD’s reply timestamps and LIQD’s account bet history tie the captured rounds to rounds LIQD holds
Fairness IntegrityIntegrity tests — 31 across 11 categories, 30 of them on LIQD’s pre-launch environment, including race conditions, input validation, idempotency, authorization, outcome and payout fields, payout precision, nonce and seed handling, and the provably fair surface
What Audit Guarantees
  • Outcomes are deterministic and reproducible from the recorded inputs
  • Live game results match independent recomputation for every captured round — 6,574 / 6,574 production rounds and 19,498 / 19,498 reveals
  • The first-draw, pairwise and serial screens find no sign of placement bias across 24M rounds simulated with our implementation
  • RTP is proven analytically: winChance × exact multiplier = 0.99 at all 300 (mine count, reveals) settings, by combinatorial cancellation
  • Simulated RTP of 98.9427% across 24 million rounds (1M per mine count) is consistent with the proven 99.0000%, 1.66 standard errors below it
  • The mine layout is fixed at round start and independent of which tiles the player reveals
  • The client seed is a genuine, player-controlled input — a wrong seed changes 6,531 of 6,574 layouts, and every seed set by the player was the seed its rounds were drawn with
  • The house edge is a flat 1.00% at every setting, and all 2,691 recorded winning payouts match LIQD’s eight-decimal settlement rule
  • Every fairness integrity test in Section 5 passed or was remediated and re-verified at audit time

References

Mines — Game Rules7 sections▶

How LIQD Mines plays, exactly as verified by this audit — the interactive board below is wired to the audited multiplier formula.

Game Rules

Mines is played on a 5×5 grid of 25 tiles. Before the round starts you choose how many mines — 1 to 24 — are hidden on the board; the platform places them server-side with an HMAC-SHA256-driven Fisher-Yates shuffle seeded by (serverSeed, clientSeed, nonce). You then reveal tiles one at a time: every safe reveal grows the multiplier, and you can cash out after any of them. Reveal a mine and the round ends at zero; open the last safe tile on the board and the round settles itself as a win. The layout is fixed before your first click — your choices decide how far you push, never where the mines are.

How to Play

1. Choose mine count — select between 1 and 24 mines. More mines means fewer safe tiles and a steeper multiplier curve.
2. Place your bet — the stake is locked and the layout is already fully determined by the active seed pair and nonce.
3. Reveal tiles — each safe tile moves the multiplier to the exact closed-form value for your depth.
4. Cash out or bust — a win pays the stake × the exact multiplier for the tiles you opened, in USDT to 8 decimals; LIQD also books it in your display currency, cut to the cent. Opening a mine ends the round at zero.
5. Verify — after rotating your seed pair, recompute any round from the revealed seed (Section 6 walks it).

Timing note: cash-out is available after every safe reveal — there is no minimum depth, and opening the last safe tile settles the round with no cash-out step. The payout keys off the number of tiles you actually opened: verified live at depths 1, 2, 3, 4, 5, 6, 8, 10 and 15 across 40 (mine count, depth) settings in the production capture; every other depth follows from the same closed form.
Win Conditions

A round settles one of two ways, and this audit re-derived the label for all 6,574 captured rounds:

3 columns
OutcomeConditionExample (mines=3, k=8)
Win (cash out)You cash out with no mine revealed — or open the last safe tile, and the round settles itselfEight safe tiles → 3.34852941× exact, 3.34× displayed
Loss (bust)You reveal a mine — always the final tile you openedMine on the eighth pick → payout 0
ImpossibleA loss with no mine opened, or a win with oneNever observed — 0 violations in 6,574 rounds
The win/loss label is not taken on trust: it is recomputed from the seed-derived board for every round in the dataset.
Risk vs Reward

Every setting returns the same 99.0000% — the mine count changes the shape of the risk, never the fairness of the price:

  • Low mine counts (1–5): frequent small wins — at 1 mine a single reveal wins 96% of the time for 1.03125×
  • Mid counts (6–15): balanced curves — each extra reveal multiplies the odds against you and the payout for you, in exact proportion
  • High counts (16–24): rare big hits — at 24 mines one safe tile pays 24.75× on a 1-in-25 chance
  • Depth is the second dial: at 3 mines, eight reveals lift the multiplier from 1.125× to 3.34852941×
Parameters
3 columns
ParameterValueNotes
Grid25 tiles (5×5)Fixed
Mine count1 – 24Player-selected per round; all 24 captured live
House edge1.00% flatApplied once inside the exact multiplier — no depth scaling
Reveal depth1 – (25 − mines)Cash out after any safe reveal; depths up to 15 exercised live
Seed epochUntil you rotateThe audit rotated after 100, 124, 190 or 200 bets, depending on the phase
SettlementPaid in USDT to 8 decimals · booked to the cent in the display currencyBoth from the exact multiplier (S4.3)
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)e74ccb9f5ee4495a0e0dc35a0373e3e3HMAC key (decoded); committed via SHA-256 of the string before play
Client seedfree-form stringpfaudit-prod-mines-d4-7db3c7d5315cPlayer-editable entropy — mixed into every draw
Nonceinteger from 087The bet counter under the active pair (from 0 after every rotation)
Two hashing domains: the commitment hashes the hex string (UTF-8); the HMAC key is the decoded bytes. Both conventions are verified in S1–S2.
Multiplier & Payout

The payout is closed-form — no paytable file exists. Raw fair odds times the single 1% edge:

multiplier(k, m) = C(25, k) / C(25−m, k) × 0.99
3 columns
Reveals (k)Mines (m)Multiplier
111.03125000
131.12500000
431.71203008
833.34852941
51240.86923077
12424.75000000
Each win is paid from the exact multiplier in USDT, the wallet stake × the multiplier cut to 8 decimals, cut to 8 decimals — the amount LIQD’s account history records as the payout and the 12 November balance check saw reach the balance; LIQD also books it in the display currency, the stake × the exact multiplier cut to the cent. The multiplier on the result screen is cut to 2 decimals. Checked on all 2,691 captured wins.
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 round 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 layout 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 existsAn unpredictable seed you set after the commitment cannot be pre-evaluated
Client seed changes the layout 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
Layout recomputes from (serverSeed, clientSeed, nonce, mineCount)No hidden inputs influence the board
Rejection sampling below maxFairThe specified draw makes every tile exactly equally likely
24M-round bias screens clean at BonferroniThe screens find no sign of placement bias at scale

Payout & RTP

2 columns
CheckWhat it proves
Wallet field = floor8(stake × floor8(exact multiplier)) on every winThe advertised 1.00% edge is the real edge on the payout LIQD records
Booked amount = floor2(stake × exact multiplier) on every winThe booked win is the exact product, cut to the cent
winChance × exact multiplier = 0.9900 at all 300 settingsThe RTP is an identity, not a sampled estimate

Integrity

2 columns
CheckWhat it proves
Losses pay exactly 0 and bust on the final opened tileNo round settles against a board that didn’t bust
Same wager-free derivation and payout rules at 0.10 and 10.00Both captured stakes follow the same layout and payout rules
Dataset and raw captures SHA-256 pinned (a mismatch stops the suite); every output artifact pinned and re-hashed (Step 19)The evidence itself is tamper-evident
High-Level Flow

One round of LIQD Mines, from commitment to settlement:

1. Commit — the server generates a 32-hex server seed and publishes SHA-256(utf8(seed)) as its Active Server Seed (Hashed). 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 mine count and stake. The layout is already fully determined by (serverSeed, clientSeed, nonce).
4. Play — each safe reveal grows the exact multiplier; a mine ends the round. The mine set never moves mid-round.
5. Settle — a cash-out pays stake × exact multiplier in USDT to 8 decimals and books it in your display currency cut to the cent; the panel displays the multiplier cut to 2 decimals. The nonce increments by 1.
6. Rotate & verify — rotation reveals the outgoing seed (and pre-commits the next). Check the hash, recompute any round.

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 layout is a pure function of those three inputs plus the mine count, 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), recorded in the dataset as hashedServerSeed. The raw seed stays secret. Verified for all 36 epochs (Step 1).

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

Reveal phase
Rotation reveals the outgoing seed and pre-commits the next epoch’s hash — the chain holds on 33 / 33 transitions, plus each capture’s pre-capture link (Step 2).

Verify phase
Anyone re-hashes the reveal against the commitment and recomputes every round it served — the panel, the ProvablyFair.org verifier, LIQD’s verifier without a login, 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 five seeds set by the player — LIQD took each one, and all 500 recomputed exactly
  • Whole-dataset control: a wrong client seed changes 6,531 of 6,574 layouts
Nonce Lifecycle

The nonce is the bet counter under an active pair. In this capture the audit rotated the pair after 100, 124, 190 or 200 bets, depending on the phase: 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 36 epochs
  • 0 gaps, 0 duplicates, 0 resets across 6,574 bets
  • Each epoch’s window is declared in code (src/pins.ts) and each seed record’s nonceStart / nonceEnd is checked against it (Step 4)
seed record · nonce window · Verified
"epoch": 28,"nonceStart": 0,"nonceEnd": 99,"hashedServerSeed": "338f011074b865e671f92039f6bf1835…"
Determinism Guarantee

Determinism is what turns a fairness claim into a checkable fact: the same inputs must always produce the same board. LIQD's derivation is a pure function — verified by reproducing every captured round with an independent implementation, byte-for-byte in draw order.

the pure function · Verified
revealMines(serverSeed, clientSeed, nonce, mineCount)  → [tile, tile, …]   // the mines, in draw order — nothing else in, nothing else out
Phase Map

The capture is engineered — four phases across three production runs, each isolating one claim:

3 columns
PhaseRoundsWhat it isolates
A5,000The multi-reveal payout path — 20 settings (mine counts 1, 3, 5, 8, 12 × 4 depths, up to 15 tiles) × 250, 0.10 CAD
A+950The rest of the grid — the other 19 mine counts at one tile × 50, so all 24 are played, 0.10 USD
C124Stake independence — 3 mines, one tile, at 10.00 USD, 100× the stake of every other phase
D500Client-seed influence — the 20 Phase A settings × 25 under five seeds set by the player, 0.10 USD
Why phases matter: a random sample measures averages, but a designed capture tests mechanisms. Each phase removes one degree of freedom that an unfair implementation would need — 5,500 rounds planned for multiple reveals across 20 settings, every mine count, the stake varied 100×, and five seeds set by the 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 mine layout without detection.
Commit-RevealThe mechanism underlying provably fair. The server publishes the seed’s hash (a commitment, hashedServerSeed in the dataset) before any bet, then reveals the plaintext serverSeed after the seed rotates. The auditor checks SHA-256(utf8(serverSeed)) == hashedServerSeed for every epoch. All 36 revealed seeds in this dataset passed.
House EdgeThe operator’s cut. LIQD’s game settings list houseEdge 1 (in percent) — an advertised label. The effective edge is derived independently and is a clean 1.00%: every win is settled from the exact multiplier, and all 2,691 recorded winning payouts match LIQD’s eight-decimal settlement rule (see S4).
RTP (Return to Player)1 − houseEdge. For LIQD Mines the proven RTP is a flat 99.0000% at all 300 (mine count, reveals) settings, because the exact multiplier makes the win probability and the multiplier’s fair factor cancel; the wallet field returns 99.0000% to four decimals. Proven analytically (anti-circular combinatorics); the 24M-round simulation is consistent with it. Live-bet RTP is informational only.
Anti-CircularityThe requirement that the proven RTP and simulation expectations use independent first-principles combinatorics (C(25−m,k)/C(25,k)), never operator-supplied probability tables — so the RTP claim cannot validate itself.
RTP Claim RuleThe rule that holds a casino to the RTP it publishes: the exact RTP at every setting the game offers must sit within ±0.1 percentage points of the published figure. A setting below that band on the house side reads RTP FIGURE OVERSTATED (exit code 5). Applied as RTP-CLAIM 1.2.0, scored on Step 10; LIQD is held to its flat 99%.
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 mine layout 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, starting at 0. Part of the HMAC message. Every epoch in this dataset has contiguous nonces from 0 to its last bet — no gaps.
EpochThe bets under one (serverSeed, clientSeed) pair, from one rotation to the next; rotating reveals the outgoing server seed. The audit rotated after 100, 124, 190 or 200 bets, depending on the phase; this dataset covers 36 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 uniform integer for each shuffle swap: the digest is scanned in 4-byte big-endian uint32 chunks, the first chunk below the modulo-bias ceiling is taken % range.
Fisher-Yates ShuffleThe standard in-place algorithm for producing a uniformly random permutation. Mines shuffles the 25-tile array [1…25], drawing one uniform integer per position; the first mineCount tiles of the completed shuffle are the mines, in draw order.
CursorIn Mines the cursor is the draw index: the 0-indexed shuffle position (0…24). One HMAC call is made per cursor, driving one swap of the Fisher-Yates shuffle. The draw range shrinks 25 → 1 as the cursor advances.
Modulo-Bias RejectionDiscarding uint32 values at or above maxFair = floor(2³²/range)·range before taking % range, so every tile is exactly equally likely at each shuffle step. Without it, low tiles would be marginally over-represented.
Verification Terms
2 columns
TermDefinition
Win ProbabilityC(25−m, k) / C(25, k) — pure combinatorics: the probability that all k opened tiles are safe when m mines are placed uniformly. Computed independently of any operator-supplied probability (anti-circular).
Exact MultiplierThe multiplier every payout is computed from: (1 − houseEdge) × Π_{i=0}^{k-1} (25−i)/(25−m−i). The product is the reciprocal of the probability of clearing k safe tiles; (1 − 0.01) applies the 1% edge. Every winning winningAmount equals floor2(stake × exact) with zero tolerance (Step 8), and every wallet field floor8(walletStake × floor8(exact)) (Step 22).
Displayed MultiplierThe multiplier field in LIQD’s settle reply, shown on the result screen, cut to 2 decimals (floor(exact × 100)/100). Cosmetic: it can only understate the exact value and is not used to compute either amount. Distinct from the exact multiplier.
Booked AmountwinningAmount — the win in the account’s display currency (CAD on the 8–9 November run, USD on 10 November): floor2(stake × exact), the exact product cut to the cent. A display figure: on the balance check the balance moved by the wallet field, not by this amount, on 71 of 71 wins (S3.9).
Wallet FieldwinningAmountWallet — the same win in USDT, the wallet currency, to 8 decimals: floor8(walletStake × floor8(exact)). LIQD’s own account bet history records this amount as the payout on 2,691 of 2,691 captured wins, and on the balance check it is the amount that reached the balance on 71 of 71 wins (S3.9).
Balance CheckThe 100 rounds of 12 November 2026 with the account’s USDT balance read before and after each, at 1 mine with two tiles on 0.10 and 3 mines with five tiles on 0.01: the balance moved by the wallet field on 71 of 71 wins (Step 23, S3.9)
Game Mechanics
2 columns
TermDefinition
Mine Count (mineCount)The number of mines placed on the grid, an integer in [1, 24]. The only game-specific input; there are no risk levels or variants. 24 configurations in total.
Mine Tiles (mineTiles)The mine positions on the 25-tile grid, recorded and verified in draw order. Compared with an ordered array equality, not a set comparison — the order the mines were drawn is part of the verified output.
Reveal / Open TileA tile the player opens. Each safe reveal raises the multiplier; opening a mine busts the round. reveals is the planned count, openTiles the ordered list. Phases A and D open 2 to 15 tiles; Phases A+ and C open one. Opening the last safe tile settles the round itself (autoFinish).
Audit Terms
2 columns
TermDefinition
First-Draw UniformityA simulation test: the first drawn mine tile is a single uniform outcome per round, so a chi-squared with df = 24 against N/25 is correct here (unlike the full per-tile layout). Directly tests the HMAC-mod-25 draw. 0/24 fail at Bonferroni across 24M rounds.
Pairwise Co-Occurrence (Joint) TestFor every unordered tile pair {i, j}, how often both are mines, compared against the hypergeometric fair expectation N × C(23, m−2)/C(25, m). Catches joint bias that per-tile marginals would miss. Defined for m ≥ 2; 0/23 fail at Bonferroni.
Constrained MultinomialThe mine-placement distribution: exactly m mines among 25 tiles, so the per-tile counts are negatively correlated and are not 25 independent cells. This is why a naive per-tile chi-squared is the wrong test and the three targeted properties are used instead.
Chi-Squared TestCompares observed frequencies to expected under a null. Here p-values come from the exact regularized incomplete gamma function (src/stats.ts), not the Wilson-Hilferty approximation. The first-draw test has one uniform outcome per round, so 25 cells and 24 degrees of freedom; the Pass 2 early window, 100 first-draws per seed, is too small for the analytic null and is scored against a parametric bootstrap instead.
Bonferroni CorrectionControls the family-wise error rate across many simultaneous tests by tightening the per-test threshold to α / k. For 24 configs, α/24 = 4.167e-4. All three simulation families report 0 failures at this threshold.
Lag-1 AutocorrelationPearson correlation between consecutive values in a sequence; ≈ 0 for an independent RNG. The mixed-config live win/loss series shows r₁ = 0.1234. The capture cycles through settings whose win probabilities differ, so the live series mixes those configuration effects with any within-configuration dependence. The per-config serial screen in simulation Pass 1 tests the generator itself.
Wald-Wolfowitz Runs TestA non-parametric serial-independence test counting runs of like outcomes against the count expected under independence. Applied per config to the first-drawn tile values in simulation Pass 1.
Parametric BootstrapThe method used to build the Pass 2 early-window null: 10,000 fair replicates of 100 first-draws for each mine count an epoch opened with (1, 2 and 3) give the empirical distribution of the first-draw chi² under fairness. Every replicate seed derives from a recorded master seed (mines-seed-derivation-v1), so the null itself replays — Step 17 rebuilds all 30,000 statistics 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. Contained structurally when the operator commits before learning an unpredictable client seed — on all 36 epochs the client seed was sent after the commitment was published. Pass 2 adds two statistical checks — the served-config return test (0 / 36 epochs flagged, pooled z = 0.088) and a first-draw diagnostic (4 flags against 1.710 expected, P = 0.0899) — which find no sign of seed selection.
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 in all 36 epochs and no reply was lost (Steps 4, 22). An external-entropy beacon does not close the channel in general; independently verifiable acceptance and settlement records — an externally anchored append-only log, or player-signed bet acknowledgements — do.
Hard FailAny FAIL on a scored step — a broken commitment or chain link, a layout, label or payout mismatch, an undeclared nonce gap, a population or artifact-integrity fault. A hard fail ends the verdict as NOT PROVABLY FAIR (exit 1). None triggered: 22 PASS, 0 FLAG, 0 FAIL.
Served-Config TestThe load-bearing cherry-pick statistic: each epoch’s served configurations are replayed over its revealed seed for 200 of the epoch’s own lengths, and the return of the captured window is ranked against the seed’s own 199 later windows. 0 / 36 epochs flagged at p ≤ 0.01; pooled z = 0.088 (Step 17).
Capture FlagA gap the capture itself declares — for example a nonce skipped by a capture retry — reported as a disclosed flag that does not move the verdict. A gap the capture does not declare hard-fails the nonce audit. This capture declares none (Step 4).
Data Formats
2 columns
TermDefinition
winningAmountThe settle-reply field holding the win in the account’s display currency: floor2(betAmount × exactMultiplier), or 0 on a loss. The USDT wallet field winningAmountWallet, which LIQD’s account history records as the payout, sits beside it in the same reply.
Phase A / A+ / C / DThe four capture phases. A: 5,000 rounds, the 20 multi-reveal settings × 250 (0.10 CAD). A+: 950 rounds, the other 19 mine counts at one tile × 50 (0.10 USD). C: 124 rounds at 10.00 USD (3 mines, one tile). D: 500 rounds, the 20 settings × 25 under five seeds set by the player (0.10 USD).
Raw Production CaptureThe three files the capture runner exported (data/*.ndjson): every request and reply, the runner’s plan, the rotations and LIQD’s verifier replies. Hash-pinned and bound to the scored dataset row by row (Step 22).
01

Seed, Nonce & Determinism

Can the casino change your outcome after you bet?

Every Mines layout comes from a server seed from LIQD, a client seed you control, a nonce that counts your bets, and the mine count you chose. 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. Rotating your seed pair reveals the seed, and anyone can check it against that hash. Our records, down to LIQD’s own timestamps, show each hash was published before its bets, so the casino cannot change the mine layout after you bet.

Commit-Reveal Cryptographic Guarantee

36 / 36seeds verified

What we verified

  • All 36 revealed server seeds match the hash LIQD published for them
  • Each rotation also announces the hash of the next server seed, and all 36 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, and LIQD’s own clock shows each hash was published before we sent it
  • 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 36 seed pairs
  • Where the mines sit is fixed by the seeds before any tile is revealed
  • The same inputs always give the same mine layout, confirmed on all 6,574 rounds
  • Your client seed really counts: changing it changes the mine layout

What this means for you

  • With the hash shown before you bet, the casino cannot move the mines 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 a verifier
  • Results stay checkable long after the round: the seeds and the code are all you need
  • If you set an unpredictable client seed after LIQD commits, LIQD cannot pick a server seed to work against you
36 / 36seeds verified
  • All 36 revealed server seeds match the hash LIQD published for them
  • Each rotation also announces the hash of the next server seed, and all 36 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, and LIQD’s own clock shows each hash was published before we sent it
  • 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 36 seed pairs
  • Where the mines sit is fixed by the seeds before any tile is revealed
  • The same inputs always give the same mine layout, confirmed on all 6,574 rounds
  • Your client seed really counts: changing it changes the mine layout
HMAC-SHA256 Pipeline — seed inputs through a sequential Fisher-Yates shuffle to the mine layout, in draw order — illustrated flow
CheckResultEvidence
Seed hash integrityPassAll 36 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPassEvery new server seed matched the hash announced for it, through all three captures
Recorded orderPassEvery hash was published before its client seed was sent and before its first bet, on our clock and on LIQD’s own timestamps
One commitment per seed pairPassEvery bet in each of the 36 seed pairs carries that pair’s hash, and LIQD’s own seed ID never changes within a pair
Nonce sequencingPassNonces run 0, 1, 2… 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 controlPassYou can set or change the client seed at any time: LIQD used each seed we set, and all 500 rounds under them recompute
Client seed influencePassA different client seed changes 6,531 of the 6,574 layouts; the rest are the chance matches expected with a single mine
Deterministic outputPassThe same server seed, client seed, nonce and mine count always give the same layout, on all 6,574 rounds
Seed hash integrityPass
All 36 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPass
Every new server seed matched the hash announced for it, through all three captures
Recorded orderPass
Every hash was published before its client seed was sent and before its first bet, on our clock and on LIQD’s own timestamps
One commitment per seed pairPass
Every bet in each of the 36 seed pairs carries that pair’s hash, and LIQD’s own seed ID never changes within a pair
Nonce sequencingPass
Nonces run 0, 1, 2… 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
You can set or change the client seed at any time: LIQD used each seed we set, and all 500 rounds under them recompute
Client seed influencePass
A different client seed changes 6,531 of the 6,574 layouts; the rest are the chance matches expected with a single mine
Deterministic outputPass
The same server seed, client seed, nonce and mine count always give the same layout, on all 6,574 rounds
✓  Commit-reveal verified

All 36 revealed seeds match their published hashes, and every new seed matched the hash announced for it in advance. Every hash was published before its client seed was sent, on LIQD’s own timestamps as well as ours. Nonces count every bet with no gaps, and the same inputs always give the same layout, so 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 its active server seed hash (activeServerSeedHash in LIQD’s seed state), recorded in the dataset 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
/** SHA-256 of a byte buffer, lowercase hex. */export function sha256Buffer(buf: Buffer): string {  return createHash('sha256').update(buf).digest('hex');} /** * §1.2: the published commitment is SHA-256 over the seed's characters as * UTF-8 text (the ASCII string itself), not over the bytes the hex encodes. * Output is lowercase hex. */export function commitHash(serverSeedHexString: string): string {  return sha256Buffer(Buffer.from(serverSeedHexString, 'utf8'));}
Result: 36 / 36 revealed server seeds hash to their published commitment (Step 1), and so do the three seeds revealed at the start of each capture run (Step 2). Zero mismatches.

Real Example from Live Data:

mines-prod-full-6574bets.json · seed record (epoch 28), selected fields
{  "epoch": 28,  "phase": "D",  "clientSeed": "pfaudit-prod-mines-d4-7db3c7d5315c",  "hashedServerSeed": "338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02",  "nextHashedServerSeed": "e2046a2a19d632b20ee375d596731e469f35af1992c21694a721ce7d363a36d7",  "serverSeed": "e74ccb9f5ee4495a0e0dc35a0373e3e3",  "nonceStart": 0,  "nonceEnd": 99}

Verification:

verify-seed.js · Verified
// verify-seed.js — check any revealed LIQD server seed against its commitmentconst { createHash } = require('node:crypto');const serverSeed = 'e74ccb9f5ee4495a0e0dc35a0373e3e3';            // revealed 32-hex seed (epoch 28)const committed  = '338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02';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. LIQD’s seed state carries both side by side — the active pair’s hash and the next pair’s hash — and the capture recorded them at every rotation. The production capture ran in three sessions — 8–9 November (25 epochs), early on 10 November (10 epochs) and a short Phase C run later the same day (1 epoch) — and each session is its own chain: Step 2 walks all 33 transitions inside them (24 + 9 + 0) and checks each link. Each session opened by reading the active seed pair and rotating once to reveal it, and Step 2 checks those three pre-capture links too: each revealed seed hashes to its own commitment, and its pre-committed next hash is the session’s first commitment (on 8 November, f3ce0e96… into epoch 0’s 4378c7dc…). A hash chain shows the values are consistent and fixes their order; it does not carry a date. Step 2 therefore reads two clocks. On the capture’s own clock, on 36 / 36 epochs the commitment was recorded before the epoch’s first bet, and every rotation was recorded after the retiring epoch’s last bet. On LIQD’s clock — the HTTP Date header of LIQD’s own replies — the reply that published each epoch’s commitment is dated no later than the rotation reply that sent its client seed, 36 / 36: 35 strictly earlier and one, epoch 0, in the same second. Those 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 ──────────────────────────────────  // The dataset holds THREE captures, each its own run with its own chain. Within a capture each  // epoch's nextHashedServerSeed must equal the following epoch's hashedServerSeed  // (EXPECTED_CHAIN_LINKS transitions, from src/pins.ts EPOCH_PLAN: 24 + 9 + 0). Between captures  // no link is recorded or claimed: other games were played on the account between the runs, so the  // next capture starts from its own pre-capture anchor.  const byEpoch = [...seeds].sort((a, b) => a.epoch - b.epoch);  const captureOf = (epoch: number) => EPOCH_PLAN[epoch]?.capture;  // …  for (let i = 0; i + 1 < byEpoch.length; i++) {    if (captureOf(byEpoch[i].epoch) !== captureOf(byEpoch[i + 1].epoch)) continue;    promoChecked++;    if (byEpoch[i].nextHashedServerSeed !== byEpoch[i + 1].hashedServerSeed) promoFails++;  }  // …  for (const pin of PROD_CAPTURES) {    const pc = anchorOf.get(pin.capture);    if (pc && typeof pc.revealedServerSeed === 'string' && commitHash(pc.revealedServerSeed) === pc.hashedServerSeed) preRevealOk++;    if (pc && typeof pc.nextHashedServerSeed === 'string' && pc.nextHashedServerSeed === firstEpochOf.get(pin.capture)?.hashedServerSeed) preChainOk++;  }  // …    const commitOk = commitRec.next === s.hashedServerSeed && tAt(commitRec.at) < firstBet;    const recordOk = tAt(s.at) < firstBet;  // …  // ── Step 2, LIQD's clock ──────────────────────────────────────────────────────────────────  // …  const httpT = (ev: any): number => Date.parse(String(ev?.http?.date ?? ''));  // …    const pub = pubs.find(e => e.raw?.nextServerSeedHash === ep.hashedServerSeed);    const rot = cap0.rotates.find(r => r.capture === ep.capture && r.raw?.activeServerSeedHash === ep.hashedServerSeed      && r.raw?.clientSeed === ep.clientSeed && r.submitted === ep.clientSeed);    const tp = httpT(pub), tr = httpT(rot);    if (pub && rot && Number.isFinite(tp) && Number.isFinite(tr) && tp <= tr) {  // …  const s2 = step(2, 'Next-Seed Pre-Commitment Chain',    promoFails === 0 && promoChecked === expectedTransitions && captureLabelFails === 0 && preOk && chronoOk && liqdClockOk ? 'PASS' : 'FAIL',
Result: 33 / 33 next-seed transitions consistent, plus the three pre-capture links (3 / 3); on the capture clock, 36 / 36 commitments recorded before their epoch’s first bet and 33 / 33 rotations after its last; on LIQD’s clock, 36 / 36 commitments published no later than the rotation that sent the epoch’s client seed (Step 2).
1.3Hash Consistency Within an Epoch

Each bet record carries its epoch’s hashedServerSeed — the commitment that was active when the epoch opened, which the capture writes onto every row; LIQD’s Mines replies carry no seed hash of their own (0 of the 28,760 place-bet, open-tile and cash-out replies in the raw captures name one). The hash arm of Step 3 groups the 6,574 bets by epoch and confirms that every bet in each epoch carries the same commitment. LIQD’s own settle replies carry a seed reference, serverSeedId, and Step 3 checks it too: one value across every bet of an epoch, and 36 distinct values across the 36 epochs. More than one value within an epoch would indicate a mid-epoch seed substitution. What binds each bet to its seed is the recomputation: the seed record’s hash matches the reveal (Step 1), and the revealed seed reproduces every layout in the epoch (Step 5).

tests/steps/commitment.ts · Step 3 · Verified
  // ── Step 3: Hash consistency within epoch ────────────────────────────────────  // Group by epoch (NOT by hash) so this can genuinely FAIL if any epoch mixed  // hashedServerSeed values. Grouping by hash would be tautological.  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++;  }  // …  // ── Step 3, operator seed-reference arm ───────────────────────────────────────────────────  // `hashedServerSeed` on a bet row is written by the CAPTURE from the epoch it opened — LIQD's  // mines replies carry no seed hash. That is MEASURED here on the raw production captures rather  // than asserted: every place-bet, open-tile and cash-out reply of every round is scanned for a key  // naming a hash. So the arm above checks the capture's labelling.  // …      repliesScanned++;      if (Object.keys(r).some(k => /hash/i.test(k))) repliesWithHash++;  // …  const distinctIds = new Set(idOfEpoch.values()).size;  const idsOk = idMissing === 0 && epochsMultipleIds === 0 && idOfEpoch.size === EXPECTED_SEEDS && distinctIds === EXPECTED_SEEDS    && cap.problem === null && repliesScanned > 0;
Result: 36 / 36 epochs — one commitment and one LIQD serverSeedId across every bet of every epoch, 36 distinct serverSeedId values. Zero mid-epoch changes (Step 3).
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 mine layout. 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 31 epochs used our own random seeds — audit followed by 12 hex digits from the browser’s cryptographic random generator, drawn fresh for each epoch — and the five Phase D epochs used seeds set the way a player sets one, pfaudit-prod-mines-d<k>- followed by 12 random hex digits, fixed in the capture plan before the run began. On all 36 epochs the client seed was sent in the rotation whose reply made that epoch’s commitment active, before the epoch’s first bet; Step 17’s cherry-pick test covers every epoch too. 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 commitment is fixed before a seed you set then
  • Mixed into every draw as the HMAC message clientSeed:nonce:cursor — never decorative
  • Phase D set five client seeds of the player’s own; LIQD returned each as the active seed, and all 500 rounds recompute under them (Step 14)
  • Whole-dataset controls: a wrong seed changes 6,531 / 6,574 layouts; an empty seed reproduces only 43 / 6,574, every one at one mine (Step 6)
Result: Client seeds are player-controlled and vary across all phases and epochs — our own audit… seeds in 31 epochs (e.g. audit5065faa79b0b in epoch 0, audit12902b0c80f4 in epoch 35), all of the disclosed random form and all distinct (Step 6), plus the five player-set pfaudit- seeds of Phase D. When an unpredictable seed is set after the commitment exists, the server cannot pick a server seed against it. Evidence: mines-prod-full-6574bets.json and the rotation records of the raw captures
1.5Nonce Incrementation

The nonce begins at 0 and increments by 1 for each bet under the same seed pair. In Mines, the nonce advances once per round — every bet uses one nonce value, shared across all reveals within that round. The nonce resets to 0 when the player rotates their seed, starting a new epoch. In this audit we rotated after 200 bets in Phase A, 100 in Phase D, 190 in the A+ top-up and 124 in Phase C — our chosen sampling cadence, 36 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, reordering and resets: a skipped nonce is where a discarded unfavourable outcome would hide, so the sequence must be contiguous. Each epoch’s window is declared in code (src/pins.ts EPOCH_PLAN), and each seed record’s nonceStart / nonceEnd is checked against it. A gap the capture itself declares — a capture-retry gap — is a capture flag: disclosed, and it does not move the verdict; any other gap hard-fails. This capture declares none and has none.

Nonce Incrementation — illustrated flow
tests/steps/commitment.ts · Step 4 · Verified
  // ── Step 4: Nonce audit ──────────────────────────────────────────────────────  // Per epoch: a single client seed, and the nonces EXACTLY NONCE_BASE … NONCE_BASE + size − 1  // with no gap, repeat or reorder, where `size` is the epoch's length in the PLAN.  // …  const windowStart = NONCE_BASE;  // …  for (const [hash, epochBets] of byHash) {    const sorted = [...epochBets].sort((a, b) => a.nonce - b.nonce);    const nonces = sorted.map(b => b.nonce);    const epochNum = sorted[0].epoch;    const planned = EPOCH_PLAN[epochNum];    // …    const windowEnd = NONCE_BASE + planned.size - 1;    // …    const clientSeeds = new Set(sorted.map(b => b.clientSeed));    if (clientSeeds.size !== 1) {      hardFailures.push(`Epoch ${epochNum}: ${clientSeeds.size} distinct client seeds`);    }    // …    const nonceSet = new Set(nonces);    // Nonce-reuse guard: a duplicated nonce leaves the window looking complete, so uniqueness is    // asserted directly — Set.size must equal the bet count or a reused nonce is invisible.    if (nonceSet.size !== sorted.length) {      hardFailures.push(`Epoch ${epochNum}: ${sorted.length - nonceSet.size} duplicate nonce(s) (reuse)`);    }    // …    const missing: number[] = [];    for (let n = windowStart; n <= windowEnd; n++) if (!nonceSet.has(n)) missing.push(n);    // …  }  // …  if (gapCount !== EXPECTED_CAPTURE_RETRY_GAPS) {    hardFailures.push(`${gapCount} nonce gap(s) found, ${EXPECTED_CAPTURE_RETRY_GAPS} capture-retry gap(s) declared (src/pins.ts EXPECTED_CAPTURE_RETRY_GAPS) — an undeclared gap is not attributable to the capture`);  }
Result: 0 gaps, 0 duplicates, 0 capture flags across all 36 epochs. Nonces run contiguously from 0 to each epoch’s last bet — 6,574 bets in a complete, ordered ledger, one client seed per epoch (Step 4).
1.6Deterministic Mapping

The RNG is fully deterministic: given the same server seed, client seed, nonce and mine count, revealMines always produces the exact same mine layout. The algorithm is a sequential Fisher-Yates shuffle of the tiles [1 … 25] with HMAC-SHA256 — one draw per swap position — returning the first mineCount tiles in draw order. No timing, no bet amount, no UI state enters the derivation. Our own implementation, written from the specification, reproduced all 6,574 captured mineTiles arrays with an order-sensitive comparison. The bet record below is the featured bet used throughout this report — a multi-reveal win under a client seed set by the player — recompute it yourself with the snippet.

Deterministic Mapping — illustrated flow
src/rng.ts · revealMines · Verified
export function revealMines(serverSeed: string, clientSeed: string, nonce: number, mineCount: number): number[] {  if (!Number.isInteger(mineCount) || mineCount < 1 || mineCount > GRID - 1) {    throw new RangeError(`mineCount must be an integer in 1..${GRID - 1}, got ${mineCount}`);  }  const a: number[] = [];  for (let t = 1; t <= GRID; t++) a.push(t);  for (let i = 0; i < GRID; i++) {    const r = GRID - i;    const j = i + generateProvablyFairNumber(serverSeed, clientSeed, nonce, i, r);    const tmp = a[i] as number;    a[i] = a[j] as number;    a[j] = tmp;  }  return a.slice(0, mineCount);}
Result: All 6,574 bets with revealed seeds: the sequential Fisher-Yates recomputation matches mineTiles in draw order (Step 5). Zero mismatches, zero skipped. No external entropy is mixed into the Mines RNG.

Real Bet Verified:

mines-prod-full-6574bets.json · bet jpXQbNX_Sf… (epoch 28, nonce 87), selected fields · Verified
{  "id": "jpXQbNX_SfiZoj7AaxWXU",  "phase": "D",  "epoch": 28,  "nonce": 87,  "mineCount": 3,  "clientSeed": "pfaudit-prod-mines-d4-7db3c7d5315c",  "mineTiles": [18, 8, 25],  "openTiles": [22, 15, 12, 1, 5, 17, 14, 2],  "result": "won",  "multiplier": 3.34,  "betAmount": 0.1,  "fiatCurrency": "USD",  "winningAmount": 0.33}

Verification:

verify-mines.js · Verified
// verify-mines.js — recompute a LIQD Mines layout from its seedsconst { createHmac } = require('node:crypto');function draw(seed, client, nonce, cursor, range) {  const digest = createHmac('sha256', Buffer.from(seed, 'hex'))    .update(`${client}:${nonce}:${cursor}`).digest();  const maxFair = Math.floor(0x1_0000_0000 / range) * range;  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % range;  }  throw new Error('all 8 chunks rejected: not specified (docs/ALGORITHM.md O1)');}const mines = Array.from({ length: 25 }, (_, i) => i + 1);for (let c = 0; c < 25; c++) {  const j = c + draw('e74ccb9f5ee4495a0e0dc35a0373e3e3', 'pfaudit-prod-mines-d4-7db3c7d5315c', 87, c, 25 - c);  [mines[c], mines[j]] = [mines[j], mines[c]];}console.log(mines.slice(0, 3)); // → [18, 8, 25]
1.7Client Seed Influence

To confirm the client seed is a genuine input to the HMAC-SHA256 computation, Step 6 recomputes the entire dataset — not a sample — under two control seeds. With a fixed wrong client seed, 6,531 of 6,574 bets (99.35%) produced a different mine layout; with an empty client seed, only 43 of 6,574 (0.65%) reproduced the recorded layout. Every one of those survivors is a round at mine count 1, where a single mine sits on one of 25 tiles and any other seed lands it on the same tile one time in 25: the model predicts 44.17 such chance matches in draw order, and every survivor count sits inside its gate (76.7). Phase D goes further: five client seeds set by the player across 500 live rounds, all 500 recomputing exactly (Step 14).

tests/steps/determinism.ts · Step 6 · Verified
  // ── Step 6: Client seed influence (whole-dataset controls) ────────────────────  // Recompute EVERY bet's layout under (a) an empty client seed and (b) a fixed wrong client seed,  // and count how many still reproduce the captured mineTiles — ordered (draw order, what Step 5  // compares) and as a set. The survivor counts are gated at the rate the MODEL predicts: E + 5σ  // of chance collisions, E = Σ 1/P(25,m) ordered and Σ 1/C(25,m) as a set over the tested bets'  // own mine counts. 0% change is a hard fail by construction (every bet would survive).  // …  for (const b of bets) {    const ss = seedMap.get(b.hashedServerSeed);    if (!ss) continue;    tested++;    testedMineCounts.push(b.mineCount);    const empty = revealMines(ss, '', b.nonce, b.mineCount);    const wrong = revealMines(ss, WRONG_CLIENT, b.nonce, b.mineCount);    if (sameMines(empty, b.mineTiles)) {      emptyReproduce++;      if (b.mineCount === 1) emptyMineCount1++;    }    if (sameMines(wrong, b.mineTiles)) wrongReproduce++;    // …  }  // …  const AUDIT_FORMAT = /^audit[0-9a-f]{12}$/;  const badFormat = nonDSeeds.filter(c => !AUDIT_FORMAT.test(c));
Result: 6,531 / 6,574 bets (99.35%) produce a different layout with an alternate client seed; only 43 / 6,574 (0.65%) survive an empty seed — all at mine count 1, in line with the 44.17 chance matches the model predicts. Client seed is a genuine, material input.
Technical Evidence & Verification5 sections
1.8Evidence Coverage Summary6 checks
3 columns
Verification AreaCoverageResult
Seed hash integrity (Step 1)36 / 36 revealed seeds hash-verifiedPass
Next-seed pre-commitment chain and recorded order (Step 2)33 / 33 transitions + 3 / 3 pre-capture links; 36 / 36 commitments published before their client seed and first bet, on both clocksPass
Hash and serverSeedId consistency (Step 3)36 / 36 epochs (100 to 200 bets each)Pass
Nonce audit (Step 4)0 gaps, 0 duplicates, 0 capture flags across 36 epochsPass
Mine-layout recomputation (Step 5)6,574 / 6,574 — full layout verified, in draw orderPass
Client seed influence (Steps 6, 14)6,531 / 6,574 (99.35%) changed by a wrong seed; 500 / 500 Phase DPass
1.9Code References8 source files
2 columns
FilePurpose
tests/verify.ts23-step verification runner (Steps 1–6 cover S1)
tests/steps/commitment.tsSteps 1–4: commit-reveal integrity, recorded order on the capture’s clock and LIQD’s, and nonce audit
tests/steps/determinism.tsSteps 5–6: mine-layout recomputation and client seed influence
tests/steps/phase-d.tsStep 14: player-set client seeds and the order in which every epoch’s seed was sent
src/rng.tsHMAC-SHA256 sequential Fisher-Yates (revealMines, generateProvablyFairNumber, commitHash)
docs/ALGORITHM.mdThe written specification src/rng.ts is built from
src/pins.tsThe declared population — 36 epochs with their run, phase and size (EPOCH_PLAN) — and every SHA-256 pin
src/loader.ts · src/prod-capture.tsDataset and raw-capture loading, each behind its SHA-256 guard
1.10Datasets UsedSource artifacts
Primary: data/mines-prod-full-6574bets.json
2 columns
PropertyValue
SourceLive Mines rounds played on LIQD’s production site, liqd.com — 6,574 real bets across 4 phases, booked in CAD (8–9 November) and USD (10 November), wallet currency USDT
Capture environmentProduction host liqd.com · one anonymous, self-funded account · three runs of the capture runner in a logged-in browser tab
Total Records6,574 bets across 36 epochs (25 × 200, 5 × 100, 5 × 190, 1 × 124)
Captured8 November 2026, 22:36 UTC – 10 November 2026, 10:24 UTC (three runs)
SHA-2564d684d5e035e0be384685a2b44b9f5ab13b3f638e58686310cd778945c31741b
Raw captures3 files, 48,577 lines — every request and reply, the runner’s plan, the seed rotations and LIQD’s verifier replies — each pinned by SHA-256
Balance checkA fourth file, 12 November 2026: 100 rounds with the account’s USDT balance read before and after each, 1,275 lines, pinned by SHA-256 (Step 23); not part of the primary dataset

Fields used: serverSeed, hashedServerSeed, nextHashedServerSeed, serverSeedId, clientSeed, nonce, at, mineCount, mineTiles, openTiles, result, multiplier, winningAmount, betAmount, fiatCurrency — and, from the raw captures, the rotation replies and their Date headers

src/loader.ts recomputes the SHA-256 above and aborts the suite before any step runs on a mismatch; the three raw captures are pinned the same way and bound to the dataset row by row (Step 22). Every computational claim downstream of the dataset is reproducible from the files themselves.

1.11Verified Invariants12 invariants
2 columns
InvariantResult
SHA-256(utf8(serverSeed)) = hashedServerSeed for all 36 revealed seedsPass
Next-seed pre-commitment chain consistent for all 33 transitions, plus each capture run’s pre-capture link (3 / 3)Pass
Each epoch’s commitment recorded before its first bet on the capture clock (36 / 36)Pass
Each epoch’s commitment published no later than the rotation that sent its client seed, on LIQD’s own Date header (36 / 36)Pass
hashedServerSeed constant within epoch for all 36 epochs — no mid-epoch seed switchingPass
LIQD’s serverSeedId: one value per epoch, 36 distinctPass
Zero nonce gaps within any epoch (contiguous from 0), 0 capture flagsPass
Zero nonce duplicates within any epochPass
Every epoch contains exactly its planned number of bets (36 / 36)Pass
Same inputs produce same mine layout, in draw order, for all 6,574 betsPass
Wrong client seed changes the layout in 99.35% of bets (6,531 / 6,574)Pass
Empty client seed reproduces the layout in only 0.65% of bets (43 / 6,574, all at one mine)Pass
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-mines.gitcd liqd-mines && git checkout v1.2.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 — Mine-Layout Recomputation
  [PASS] Step 6 — Client Seed Influence
02

RNG & Entropy Model

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

Each layout is a shuffle of the 25 tiles, driven by HMAC-SHA256, a standard cryptographic function, over your seeds and the nonce. Every tile has the same chance of hiding a mine: the shuffle throws away the rare values that would favour some tiles and draws again. Nothing else goes in: no clock, no hidden server state, no extra randomness. Our own implementation, written from the specification without LIQD’s code, reproduces all 6,574 live layouts.

Cryptographic Randomness Verification

24 / 24configs verified

What we verified

  • Each step of the shuffle takes its value from HMAC-SHA256 over your client seed and nonce, keyed by the server seed
  • Only the disclosed inputs affect the layout: no timestamps, no hidden server state, no extra randomness
  • Every tile is equally likely at every step: values that would favour some tiles are thrown away and drawn again
  • In 24 million simulated rounds, mines land as the odds predict, with no sign of a favoured tile or pair of tiles
  • No sign of a link between one round’s mines and the next
  • Your client seed is a real input: a different seed changes 99.35% of layouts, and the rest are chance matches

What this means for you

  • Each mine position is drawn fairly: the arithmetic favours no tile
  • Every tile has the same chance of hiding a mine
  • No hidden randomness or server-side tricks decide where the mines go
  • Consecutive rounds are independent: past results don’t affect future ones
  • The algorithm depends only on seeds you can verify
24 / 24configs verified
  • Each step of the shuffle takes its value from HMAC-SHA256 over your client seed and nonce, keyed by the server seed
  • Only the disclosed inputs affect the layout: no timestamps, no hidden server state, no extra randomness
  • Every tile is equally likely at every step: values that would favour some tiles are thrown away and drawn again
  • In 24 million simulated rounds, mines land as the odds predict, with no sign of a favoured tile or pair of tiles
  • No sign of a link between one round’s mines and the next
  • Your client seed is a real input: a different seed changes 99.35% of layouts, and the rest are chance matches
RNG Pipeline — HMAC-SHA256 → uint32 → rejection sampling → Fisher-Yates swap → draw-order mine layout — illustrated flow
CheckResultEvidence
RNG derived only from disclosed inputsPassOne HMAC-SHA256 value per shuffle step, from the server seed, client seed and nonce, with no hidden randomness
No hidden inputsPassNo timestamps, outside services or server-side state: every layout recomputes from the disclosed inputs alone
Our own implementationPassWritten from the specification without LIQD’s code, it reproduces all 6,574 live layouts, mine by mine in order
Alternative constructions ruled outPassRun on every live round, other key encodings, cursor conventions and byte orders fail, reproducing at most 224 of the 6,574
LIQD’s test casesPassLIQD’s three test cases all pass against our implementation: a cross-check, not our source
Draw biasPassBiased values are thrown away and drawn again. No live draw reached that step, as expected, so its behaviour on LIQD’s server is taken from the specification
Seed encodingPassThe server seed is used as bytes for the draw and as text for its hash, and every layout and every revealed seed matches that way
Serial independencePassNo sign of a link between one round and the next, at any of the 24 mine counts, a million simulated rounds each
Client seed influencePassA different client seed changes 99.35% of layouts; the rest are the chance matches expected with a single mine
RNG derived only from disclosed inputsPass
One HMAC-SHA256 value per shuffle step, from the server seed, client seed and nonce, with no hidden randomness
No hidden inputsPass
No timestamps, outside services or server-side state: every layout recomputes from the disclosed inputs alone
Our own implementationPass
Written from the specification without LIQD’s code, it reproduces all 6,574 live layouts, mine by mine in order
Alternative constructions ruled outPass
Run on every live round, other key encodings, cursor conventions and byte orders fail, reproducing at most 224 of the 6,574
LIQD’s test casesPass
LIQD’s three test cases all pass against our implementation: a cross-check, not our source
Draw biasPass
Biased values are thrown away and drawn again. No live draw reached that step, as expected, so its behaviour on LIQD’s server is taken from the specification
Seed encodingPass
The server seed is used as bytes for the draw and as text for its hash, and every layout and every revealed seed matches that way
Serial independencePass
No sign of a link between one round and the next, at any of the 24 mine counts, a million simulated rounds each
Client seed influencePass
A different client seed changes 99.35% of layouts; the rest are the chance matches expected with a single mine
✓  Disclosed Inputs Only, Unbiased by Construction

Every live layout comes from the disclosed inputs alone, and our own implementation, written from the specification, reproduces all 6,574. Every tile is equally likely at every step, by construction, and 24 million simulated rounds show no sign of a favoured tile or a link between rounds. The client seed is a real input: a different seed changes 99.35% of layouts, and the rest are the chance matches expected with a single mine.

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

Each Mines bet places m mines on a 25-tile grid using a sequential Fisher-Yates shuffle. Our implementation iterates from position 0 to 24 (25 draws); only the first mineCount draws decide the mines. At each position, an HMAC-SHA256 digest is computed with the hex-decoded server seed as key and clientSeed:nonce:cursor as the message, where cursor equals the position. The 32-byte digest is scanned in up to eight 4-byte big-endian chunks; the first chunk below the maxFair ceiling is reduced % range to give the swap index. Our specification leaves the case of all eight chunks rejected open — LIQD’s own redraws at cursor + 1,000,000 — and our implementation stops with an error there; no captured draw comes near it. After all 25 swaps, the first mineCount tiles in draw order are the mines.

2 columns
ComponentDetail
Hash functionHMAC-SHA256 (32-byte digest)
KeyBuffer.from(serverSeed, 'hex') — 16 raw bytes (distinct from the commitment domain, which hashes the seed text)
MessageclientSeed:nonce:cursor — UTF-8, literal colons, no padding
Extraction4-byte big-endian chunks → readUInt32BE → uint32, up to 8 per digest
Rejectionchunk < maxFair where maxFair = floor(2³² / range) × range — bias-free ceiling per range
Reductionuint32 % range → offset in [0, range); swap position j = cursor + offset
Exhaustion pathAll 8 chunks rejected — not specified by our specification (LIQD’s own redraws at cursor + 1,000,000); our implementation stops with an error. Below 1e-66 per draw, never reached
ShuffleSequential Fisher-Yates: position 0 to 24, cursor = position
OutputFirst mineCount tiles in draw order → mine layout
src/rng.ts · maxFairFor · drawDigest · drawDetail · Verified
/** * §2 step 2: LIMIT = floor(2^32 / r) * r. A chunk value v is accepted iff v < LIMIT. */export function maxFairFor(range: number): number {  assertRange(range);  return Math.floor(TWO_POW_32 / range) * range;} /** §2 step 1: the digest for one draw, keyed by the decoded server seed. */function drawDigest(serverSeed: string, clientSeed: string, nonce: number, cursor: number): Buffer {  const msg = getProvablyFairHmacSalt(clientSeed, nonce, cursor);  return createHmac('sha256', serverSeedKey(serverSeed)).update(Buffer.from(msg, 'utf8')).digest();}// …  const limit = maxFairFor(range);  const digest = drawDigest(serverSeed, clientSeed, nonce, cursor);  for (let c = 0; c < CHUNKS_PER_DIGEST; c++) {    const v = digest.readUInt32BE(c * CHUNK_BYTES);    if (v < limit) {      return { value: v % range, firstRejected: c !== 0 };    }  }  // §2 step 2 / O1: the spec gives no rule for all eight chunks rejected; the  // interface asks for a throw.  throw new Error(    `no accepted chunk in digest for nonce ${nonce}, cursor ${cursor}, range ${range}`,  );
Result: Our own implementation — written from the specification docs/ALGORITHM.md without LIQD’s code — matches all 6,574 production bets with zero layout mismatches (Step 5), and scripts/spec-check.mjs re-runs the specification on every round without importing it. LIQD’s own validation vectors pass 3 / 3 as a cross-check; LIQD publishes no algorithm specification of its own.
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 (from 0 within each epoch — up to 0–199 in this capture — audited gap-free)
CursorSystemPer-draw isolation (0 to 24, one per Fisher-Yates position) — an index, not an entropy source
No mixed entropy sources detected. Run the same inputs multiple times — results are always identical. Timing, bet amount, balance, and session state are all absent from the derivation. 6,574/6,574 confirmed.

How we know: all 6,574 bets recompute from the declared inputs alone — a hidden input that moved any captured layout would show up as a mismatch, and none does.

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:cursor). 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

Each draw's swap index is determined by chunk % range, where range runs from 25 down to 1 across the 25 Fisher-Yates positions. Modulo bias occurs when 2^32 is not evenly divisible by the range — the remainder classes are unevenly sized and low indices are favoured. The algorithm eliminates this bias entirely via rejection sampling: a ceiling maxFair = floor(2^32 / range) × range ensures only unbiased chunks are used. Any chunk ≥ maxFair is discarded. The worst case is the opening draw: range 25 has the most dead values (21):

range                = 25
2^32                 = 4,294,967,296
floor(2^32 / 25)     =   171,798,691
maxFair = 171,798,691 × 25 = 4,294,967,275
dead values          = 2^32 − maxFair = 21
P(chunk rejected)    = 21 / 2^32      ≈ 4.889e-9
draws in this capture    = 25 × 6,574 = 164,350
expected first-chunk rejections ≈ 1.929e-4
observed rejections      = 0  (census over all 164,350 draws, Step 5)
Result: Zero modulo bias in the draw: maxFair is a whole multiple of every range, so each accepted chunk maps to a uniform swap index for all 25 Fisher-Yates positions (Step 5).

Below maxFair, each of the 25 residues owns exactly 171,798,691 values — perfectly uniform. For every range in the shuffle, maxFair is a whole multiple of the range, so the swap index is exactly uniform once a chunk is accepted (Step 5 prints maxFair for all 25 ranges). The capture never reaches the rejection branch — 0 of 164,350 draws, against 1.929e-4 expected — so the capture alone cannot tell it apart from a plain modulo, which differs on at most 21 of the 2³² values per draw (scripts/spec-check.mjs runs both). Step 5 exercises the branch on a fixed vector instead: nonce 760455, cursor 12, range 13 rejects its first chunk and draws 6, where deleting the branch would give 1. That confirms the branch draws exactly as specified; the capture, as expected, never needed it.

2.4RNG Isolation

Each draw within a single bet uses a unique cursor value in the HMAC message (clientSeed:nonce:cursor), ensuring per-draw outputs are cryptographically independent. Each bet uses a unique nonce, ensuring per-bet outputs are independent. HMAC-SHA256 is a pseudorandom function — knowing one draw's output gives no usable information about other draws’ outputs. There is no shared state between draws, between bets, or between epochs.

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

Evidence: The revealMines 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 four arguments (serverSeed, clientSeed, nonce, mineCount) — no wager, no timestamp, no account identifier — and returns an array. Same inputs always produce the same output; if any hidden input influenced the layout, the reference implementation (which lacks that input) could not reproduce 6,574 / 6,574 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 client seeds set by the player — both recompute under the identical four-argument function.

2.5Monte Carlo Simulation (24M Rounds)

A 24,000,000-round Monte Carlo simulation (1,000,000 rounds per config, all 24 mine counts, a fresh random seed pair per config, each pair kept in its result row) checks that the algorithm produces the expected mine-placement distribution at scale. The whole experiment replays from those saved seeds: every verify run regenerates all 24,000,000 rounds and recomputes every statistic (Step 16), and npm run deep-replay does the same stand-alone (24 rows, 0 differences).

2 columns
MetricValue
Rounds24,000,000 — 24 configs × 1,000,000, fresh seeds per config, replayed in full by every verify run
First-draw uniformity (χ², df = 24)0 / 24 configs fail at Bonferroni α/24
Pairwise co-occurrence (hypergeometric, max |z| over 300 pairs)0 / 23 configs fail (m ≥ 2); largest |z| = 3.72
First-drawn-tile serial independence (lag-1 + runs)0 / 24 at Bonferroni (1 / 24 uncorrected — ≈1.4 expected by chance)
Mean simulated RTP98.9427% vs the proven 99.0000% — 1.66 standard errors below
src/simulate.ts · simulation parameters · Verified
const ROUNDS_PER_CONFIG = REPLAY ? REPLAY.rounds : (Number(process.env.ROUNDS_PER_CONFIG) || 1_000_000);const PASS2_NONCES = REPLAY ? REPLAY.nonces : (Number(process.env.PASS2_NONCES) || 10_000);const PASS2_EARLY = PASS2_EARLY_WINDOW; // nonces 0..99: the longest prefix every production epoch played in fullconst BOOTSTRAP_REPS = REPLAY ? REPLAY.reps : (Number(process.env.BOOTSTRAP_REPS) || 10_000);
Result: 24M rounds simulated and replayed. All 24 configs pass the first-draw, pairwise and serial screens at Bonferroni; the screens find no sign of departure from the uniform Fisher-Yates expectation across the 25-tile grid (Step 16).

All 24 configurations pass the first-draw uniformity, pairwise co-occurrence and first-drawn-tile serial screens at the Bonferroni-corrected threshold. Zero corrected failures across 24M rounds.

Methodology: Mine placement is a constrained multinomial — exactly m mines among 25 tiles — so the 25 per-tile counts are negatively correlated and a naive per-tile chi-squared applies the wrong null (at high mine counts it is extremely conservative, though it still rejects gross biases). Pass 1 therefore tests three families that are each properly calibrated: the first-drawn tile is one uniform outcome per round (chi-squared, df = 24); every tile pair is a Binomial count against the hypergeometric C(23, m−2) / C(25, m) expectation, standardized and tested via max |z| with a per-pair Bonferroni correction; and the sequence of first-drawn tiles is screened for serial structure via lag-1 autocorrelation and the Wald-Wolfowitz runs test.

2.6Serial Independence

Serial independence means consecutive outcomes are not correlated — winning or losing on one bet does not affect the next. Two tests were applied to the first-drawn tile sequence of each configuration in the Pass 1 simulation (1,000,000 rounds per config). The screen is an OR of the two arms, so about 1.4 uncorrected trips across 24 configs are expected from a perfectly fair generator:

Lag-1 autocorrelation: Measures correlation between consecutive first-drawn tile values. Expected r ≈ 0 for independent sequences. One config (mineCount 15) trips the uncorrected α = 0.05 arm at |z| = 2.32 — within the ≈1.4 trips expected by chance; 0 / 24 fail at Bonferroni.

Wald-Wolfowitz runs test: Tests whether the sequence of above/below-median outcomes has the expected number of runs. p < 0.01 indicates non-random structure. Clear at every config — minimum p = 0.0715; no sequence shows clustering or alternation structure.

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: 0 / 24 configurations fail serial independence at Bonferroni. Lag-1 autocorrelation values are near zero and every runs-test p-value is above 0.01 (minimum 0.0715). The screens find no sign of serial dependence in the first-drawn tile (Step 16).
2.7Worked Example — Full RNG Trace

Real bet from dataset — bet jpXQbNX_SfiZoj7AaxWXU (Phase D, epoch 28), mineCount 3, nonce 87, played under a client seed set by the player. Verified from mines-prod-full-6574bets.json. With mineCount = 3, the first three draws are the mines:

serverSeed = e74ccb9f5ee4495a0e0dc35a0373e3e3
clientSeed = pfaudit-prod-mines-d4-7db3c7d5315c
nonce      = 87
mineCount  = 3
message    = pfaudit-prod-mines-d4-7db3c7d5315c:87:<cursor>   (one HMAC per cursor 0 … 24)
7 columns
icursorrangeHMAC[:8]uint32jswap
00259f0321d92,667,782,61717tile 18 → slot 0
1124c341797e3,275,848,0627tile 8 → slot 1
222327693999661,207,44924tile 25 → slot 2
33224a00e6d51,241,573,07722tile 23 → slot 3
…4 … 2321 … 2………20 more swaps
2424192f4ca9d2,465,516,18924tile 10 → slot 24
Parity verified: Bet jpXQbNX_Sf… — mine layout matches sequential Fisher-Yates recomputation exactly. The loop index and the cursor coincide (cursor = i); the first three draws decide the mines — [18, 8, 25], in draw order, exactly as the live game recorded.
Live Game[18, 8, 25]
Verifier[18, 8, 25]
Technical Evidence & Verification5 sections
2.8Evidence Coverage Summary9 checks
3 columns
Verification AreaCoverageResult
Our implementation (Step 5)6,574 / 6,574 rounds — written from the specification; its 97 specification checks passPass
Key encoding (hex vs UTF-8)HMAC key = the decoded bytes, confirmed by recomputing all 6,574 layouts (Step 5); commitment = SHA-256 of the seed text, confirmed on all 36 seeds (Step 1)Pass
Nearest alternative constructionsASCII key 45, cursor i+1 35, little-endian read 224 of 6,574 layouts — the specification alone reproduces all of them (scripts/spec-check.mjs)Pass
Modulo bias analysismaxFair a whole multiple of every range 1–25; 0 of 164,350 captured draws reach the rejection branch (1.929e-4 expected); branch exercised on a fixed vectorPass
External entropy non-participation (Step 5)6,574 / 6,574 reproduced from disclosed inputs alonePass
First-draw uniformity (Step 16)0/24 configs fail at Bonferroni α/24Pass
Pairwise co-occurrence (Step 16)0/23 configs fail (m ≥ 2) — 300 tile pairs vs the hypergeometricPass
Serial independence (Step 16)0/24 configs fail at Bonferroni (lag-1 + runs on the first-drawn tile)Pass
Client seed influence (Steps 6, 14)6,531 / 6,574 (99.35%) + 500 / 500 Phase DPass
2.9Code References10 source files
2 columns
FilePurpose
src/rng.tsHMAC-SHA256 sequential Fisher-Yates (generateProvablyFairNumber, revealMines), written from docs/ALGORITHM.md
docs/ALGORITHM.mdThe written specification of the RNG, commitment and settlement, with the production evidence for every step
scripts/spec-check.mjsRuns the specification and its nearest alternatives on every production round, without importing src/
src/bias.tsDraw-bias bound for every range, built on maxFairFor
src/simulate.ts · src/seed-derivation.tsMonte Carlo simulation (24M rounds, two passes) and the Pass 2 seed derivation
src/replay.ts · src/deep-replay.tsFull replay of the committed Pass 1 from its saved row seeds (inside every verify run, and stand-alone)
src/stats.tsChi-squared, max-|z| joint test, lag-1 autocorrelation, Wald-Wolfowitz runs test
tests/steps/determinism.tsSteps 5–6: mine-layout recomputation, draw-bias census, site-verifier parity and client seed influence
tests/steps/simulation.tsSteps 16–17: Pass 1 replay and scoring, Pass 2 re-derivation and bootstrap replay
tests/mines/rngTests.ts · rngSpecTests.ts · regressionTests.ts43 unit tests — LIQD’s validation vectors and production reference cases (10), the specification’s 97 vector and property checks (1), and the regression suite (32)
2.10Verified Invariants12 invariants
2 columns
InvariantResult
HMAC-SHA256 output matches live game for all 6,574 betsPass
Key is hex-decoded (16 bytes, not UTF-8) — wrong encoding produces wrong layoutsPass
Message format is clientSeed:nonce:cursor — literal colons, no paddingPass
Chunks scanned big-endian, 4 bytes, first accepted winsPass
Rejection sampling eliminates modulo bias for all ranges (1–25) — every residue below maxFair owns exactly floor(2³² / range) valuesPass
0 of 164,350 captured draws reach the rejection branch (1.929e-4 expected); the branch is exercised on a fixed vectorPass
No external entropy sources required for layout computationPass
First-draw uniformity screen clears for all 24 configs (1M rounds each, Bonferroni)Pass
Pairwise co-occurrence matches the hypergeometric expectation for all 23 configs with m ≥ 2 (max |z| 3.72)Pass
Lag-1 autocorrelation near zero and runs test p > 0.01 for all 24 configs at BonferroniPass
Pooled simulated RTP 98.9427% is consistent with the proven 99.0000% (1.66 standard errors below)Pass
Client seed change produces a different layout in 99.35% of bets (6,531 / 6,574)Pass
2.11Datasets UsedSource artifacts
Simulation: outputs/simulation-results.json — 24M rounds across 24 mine-count configs (Pass 1) + 36 casino seeds × 10K nonces (Pass 2)
Primary dataset: data/mines-prod-full-6574bets.json — 6,574 production bets for mine-layout recomputation (Step 5)
Simulation output: outputs/simulation-results.json — Pass 1 (24M rounds, per-config first-draw, pairwise and serial tests, each row’s seed pair) + Pass 2 (36 casino seeds × 10K nonces, bootstrap null derived from the recorded master seed) · SHA-256 50bef42d729a9733…
Verification output: outputs/verification-results.json — the 23 scored steps, including Step 16’s full Pass 1 replay
Replay reports: outputs/deep-replay-report.json — 24 rows, 24,000,000 rounds recomputed from the saved Pass 1 seeds, 0 differences · outputs/bootstrap-replay-report.json — independent Python rebuild of all 30,000 Pass 2 null statistics and 36 early p-values, 0 mismatches
Replay inputs: outputs/simulation-provenance.json (master seed, derivation version, parameters, hashes) + outputs/bootstrap-nulls.float64le (the retained sorted null, 10,000 × 3, SHA-256 c8a946c806faa4e8…)
Reference vectors: tests/mines/rngTests.ts, rngSpecTests.ts and regressionTests.ts — 43 known-input unit tests: LIQD’s validation vectors, production rounds reproduced, the specification’s vectors (five production rounds, V1–V5) and properties, the draw, the shuffle, the commitment, the first-draw fast path, the exact/display multiplier grid, seed derivation and bootstrap-artifact validation
2.12Reproduction InstructionsRun locally

Clone the repository, install dependencies, and run the verification and the bootstrap replay:

reproduce-s2.sh · 5 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-mines.gitcd liqd-mines && git checkout v1.2.0npm cinpm run verify           # Step 16 replays all 24M Pass 1 rounds from their saved seedsnpm run bootstrap-replay # independent Python rebuild of the Pass 2 null (Python 3.9+)
S2-related steps:

  [PASS] Step 5 — Mine-Layout Recomputation
  [PASS] Step 6 — Client Seed Influence
  [PASS] Step 14 — Client Seed Variation (Phase D player-set seeds; seed order on every epoch)
  [PASS] Step 16 — Simulation — Pass 1 (First-Draw · Joint · Serial, FWER)
03

Verifier Parity

Does the live game actually follow its own rules?

For every one of the 6,574 rounds, we recomputed the full mine layout from the revealed seeds and compared it with what the live game served, mine by mine. We also checked every reveal reply against the recomputed board, and every win’s payout against the exact multiplier; a separate 100-round check confirmed the USDT payout is what reaches the balance. LIQD’s own verifier, asked about every round, names the same mines. A single mismatch would break the fairness guarantee. There were none.

Live ↔︎ Verifier Parity

6,574 / 6,574bets matched

What we verified

  • Every round recomputed from its seeds: all 45,822 mine positions matched, in order, not just the payout
  • All 2,691 wins are paid in USDT from the exact multiplier and also booked in your display currency; all 3,883 losses pay 0
  • Every win or loss follows from the recomputed board, and all 19,498 reveal replies agree with it
  • Your bet amount plays no part in the layout: it depends only on the seeds, nonce and mine count
  • Every part of our run recomputed exactly, including 5,500 rounds planned for multiple reveals, up to 15 tiles

What this means for you

  • Our recomputation gets the exact mine layout the live game served, on every round
  • Every bet you play can be independently recomputed by anyone
  • At both stakes the layout follows the same rules, whichever tiles you open
  • The game on liqd.com matches the specification on every round, and LIQD’s own verifier confirms each one
6,574 / 6,574bets matched
  • Every round recomputed from its seeds: all 45,822 mine positions matched, in order, not just the payout
  • All 2,691 wins are paid in USDT from the exact multiplier and also booked in your display currency; all 3,883 losses pay 0
  • Every win or loss follows from the recomputed board, and all 19,498 reveal replies agree with it
  • Your bet amount plays no part in the layout: it depends only on the seeds, nonce and mine count
  • Every part of our run recomputed exactly, including 5,500 rounds planned for multiple reveals, up to 15 tiles
Parity Verification Flow — seeds → recompute → compare → exact match — illustrated flow
6,574Live Bets Tested
100%Parity Rate
0.10 & 10.00Bet Sizes Tested
0Mismatches
CheckResultEvidence
Mine-layout recomputationPassAll 6,574 mine layouts match exactly, mine by mine in order
ProvablyFair.org verifierPassRun on all 6,574 rounds, the ProvablyFair.org verifier reproduces every layout, mine by mine
Payout correctnessPassAll 2,691 wins are paid in USDT from the exact multiplier by LIQD’s eight-decimal settlement rule, never above the exact amount; all 3,883 losses pay 0
Display amountPassLIQD also books each win in your display currency as stake × the exact multiplier, cut to the cent: a display figure, checked on every win
Balance checkPassA separate 100-round check read the balance before and after every round: it rose by the USDT amount on all 71 wins and fell by the stake on all 29 losses
Displayed multiplierPassThe multiplier on screen is the exact value rounded down to 2 decimals: display only, and never more than what you are paid at
Reveal repliesPassWins never open a mine, a loss always ends on the last tile opened, and all 19,498 reveal replies agree with the recomputed board
Bet-size independencePassThe bet amount is not part of the layout: all 124 rounds at the 10.00 stake recompute, with the same payout rules
Mine-count coveragePassAll 24 mine counts played live, every planned setting with exactly its rounds
Multi-reveal roundsPassAll 5,500 rounds planned for multiple reveals recompute, up to 15 tiles a round, with every tile used as a first pick
LIQD’s own verifierPassAsked about every round, LIQD’s own verifier names the same mines and opened tiles on all 6,574
Mine-layout recomputationPass
All 6,574 mine layouts match exactly, mine by mine in order
ProvablyFair.org verifierPass
Run on all 6,574 rounds, the ProvablyFair.org verifier reproduces every layout, mine by mine
Payout correctnessPass
All 2,691 wins are paid in USDT from the exact multiplier by LIQD’s eight-decimal settlement rule, never above the exact amount; all 3,883 losses pay 0
Display amountPass
LIQD also books each win in your display currency as stake × the exact multiplier, cut to the cent: a display figure, checked on every win
Balance checkPass
A separate 100-round check read the balance before and after every round: it rose by the USDT amount on all 71 wins and fell by the stake on all 29 losses
Displayed multiplierPass
The multiplier on screen is the exact value rounded down to 2 decimals: display only, and never more than what you are paid at
Reveal repliesPass
Wins never open a mine, a loss always ends on the last tile opened, and all 19,498 reveal replies agree with the recomputed board
Bet-size independencePass
The bet amount is not part of the layout: all 124 rounds at the 10.00 stake recompute, with the same payout rules
Mine-count coveragePass
All 24 mine counts played live, every planned setting with exactly its rounds
Multi-reveal roundsPass
All 5,500 rounds planned for multiple reveals recompute, up to 15 tiles a round, with every tile used as a first pick
LIQD’s own verifierPass
Asked about every round, LIQD’s own verifier names the same mines and opened tiles on all 6,574
✓  Live game and verifier fully aligned

All 6,574 live rounds matched our recomputation exactly, mine by mine, and the ProvablyFair.org verifier agrees on every one. Every win is paid in USDT from the exact multiplier at both stakes, confirmed against the balance on a separate check, every reveal reply agrees with the recomputed board, and LIQD’s own verifier names the same mines for every round.

How It Works — Verifier Parity10 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 mine layout from raw inputs with our own code, re-derives the win/loss label from which tiles were opened, and recomputes both settlement amounts from the closed-form multiplier — then compares all of it against what LIQD actually served: the settling reply of every round and every one of the 19,498 reveal replies. 100% parity is required: a single mismatch anywhere in 6,574 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.2Four-Phase Collection Design

Data was collected on liqd.com across four structured phases in three production runs, each phase designed to test a specific fairness property. The phases are complementary — together they cover the multi-reveal payout path, every mine count, bet-size invariance and client seed variation. Each round’s tile order was drawn at random by the capture runner and written into its plan before the first bet.

5 columns
PhaseBetsConfigBet AmountPurpose
A — Multi-reveal coverage5,00020 settings — mine counts 1, 3, 5, 8, 12 × 4 depths, 2 to 15 tiles — × 2500.10 CADThe multi-reveal payout path: place bet, open tiles, cash out
A+ — Mine-count top-up950The other 19 mine counts, 1 tile × 500.10 USDAll 24 mine counts played live
C — Stake equivalence1241 config (mineCount 3), 1 tile10.00 USDSame engine and payout rules at 100× the stake of every other phase
D — Client-seed variation500The 20 Phase A settings × 25, under 5 player-set seeds0.10 USDA client seed the player sets is the seed the round is drawn with
Total: 6,574 bets across 36 seed epochs — 25 × 200, 5 × 100, 5 × 190 and 1 × 124 — phase labels and volumes verified by Steps 11 and 12. Staked, per booking currency and never summed across them: 500.00 CAD in Phase A; 1,385.00 USD — 50.00 in Phase D, 95.00 in Phase A+ and 1,240.00 in Phase C. In the USDT wallet currency: 1,739.52607511 USDT.
3.3Mine-Layout Recomputation (Step 5)

For every bet, the verifier computes the mine layout with revealMines(serverSeed, clientSeed, nonce, mineCount) from the epoch’s revealed server seed and compares it with the server-reported mineTiles using an ordered array comparison. Draw order is part of the verified output: the shuffle produces the mines in a specific sequence, and LIQD records that sequence. Step 5 also runs the ProvablyFair.org site verifier’s Mines module — vendored byte for byte and pinned by SHA-256 — on every round, and requires it to agree.

Mine-Layout Recomputation (Step 5) — illustrated flow
tests/steps/determinism.ts · Step 5 · Verified
  // ── Step 5: Mine-layout recomputation (every bet, EXPECTED_BETS) ───────────────  let mismatches = 0, skipped = 0;  for (const b of bets) {    const ss = seedMap.get(b.hashedServerSeed);    if (!ss) { skipped++; continue; }    const mines = revealMines(ss, b.clientSeed, b.nonce, b.mineCount);    if (!sameMines(mines, b.mineTiles)) mismatches++;  }  // …  const s5PopulationOk = bets.length === EXPECTED_BETS;  // …      const got = site.verifier.deriveMines({ clientSeed: b.clientSeed, serverSeed: ss, nonce: b.nonce, mineCount: b.mineCount }).minePositions;      siteChecked++;      if (!sameMines(got, revealMines(ss, b.clientSeed, b.nonce, b.mineCount))) {        siteMismatch++;  // …  const s5 = step(5, 'Mine-Layout Recomputation',    mismatches === 0 && skipped === 0 && s5PopulationOk && biasOk && siteOk ? 'PASS' : 'FAIL',
Result: 6,574 / 6,574 bets verified against the population pinned in src/pins.ts (not the file’s own row count), 0 skipped. Zero layout mismatches, in draw order — including every round of Phases A and D and every 24-mine round — and the ProvablyFair.org verifier matches on all 6,574 (Step 5).
3.4Payout Math + Win-Condition (Step 8)

For each of the 6,574 bets, the verifier replays the money and the label together. LIQD books every round in the account’s display currency — CAD on the 8–9 November run, USD on 10 November — and each win’s winningAmount must equal floor2(betAmount × minesMultiplierExact(mineCount, openTiles.length)) exactly, in BigInt cents with zero tolerance — a one-cent over- or under-statement fails — and must already be a whole number of cents before any rounding. The exact closed-form value is the reference, never the floored display field. Losses: winningAmount must be exactly 0. The label itself is re-derived: a round is won only if none of its opened tiles is in the recomputed mine set, lost only if one is. The payout itself is the win’s USDT wallet field, held to LIQD’s 8-decimal rule in Step 22 (3.8); the balance check shows it is the amount that reaches the balance (Step 23, 3.9).

Payout Math + Win-Condition (Step 8) — illustrated flow
tests/steps/payouts.ts · floor2BookedCents · Step 8 · Verified
function floor2BookedCents(betAmount: number, mineCount: number, k: number): bigint | null {  if (k < 1 || k > GRID - mineCount) return null;  const c = betAmount * 100;  if (!Number.isFinite(c) || Math.abs(c - Math.round(c)) > PROD_ON_GRID_TOLERANCE) return null;  const stakeCents = BigInt(Math.round(c));  let num = EDGE_NUM, den = EDGE_DEN;  for (let i = 0; i < k; i++) { num *= BigInt(GRID - i); den *= BigInt(GRID - mineCount - i); }  return (stakeCents * num) / den;   // integer division = floor2(stake × multExact) in cents}// …  // ── Step 8: Recorded payout (fiat, cents) + label check ──────────────────────────  // Wins: winningAmount == floor2(betAmount × exact multiplier), in BigInt cents, 0 tolerance —  // LIQD's booked amount in the fiat the round was staked in (the row's fiatCurrency). Losses: exactly 0.  // …    const mineSet = new Set<number>(b.mineTiles);    const openedMine = b.openTiles.some((t: number) => mineSet.has(t));    if (b.result === 'won') {      if (openedMine) labelViolations++;              // won yet opened a mine      // …      // Exact floor2 identity (0 tolerance, rational).      if (Number.isFinite(winAmt) && Number.isFinite(bet)) {        const credCents = floor2BookedCents(bet, b.mineCount, b.openTiles.length);        const recCents = BigInt(Math.round(winAmt * 100));        if (credCents === null || recCents !== credCents) {          floorViolations++;          // …        }      }      // …    } else {      if (!openedMine) labelViolations++;             // lost yet opened no mine      // A loss records EXACTLY zero; zero is representable exactly, there is nothing to round.      if (!Number.isFinite(winAmt) || winAmt !== 0) payErrors++;    }
Result: All 2,691 wins: winningAmount = floor2(stake × exact multiplier) in exact rational arithmetic — 0 identity violations, 0 off-grid amounts, every round booked in its run’s currency (1,979 wins in CAD, 712 in USD); all 3,883 losses pay exactly 0; every label matches the recomputed board (Step 8).
3.5Displayed Multiplier Field (Step 7)

The multiplier field in LIQD’s settle reply — the value shown on the result screen — is a display value: floor2(minesMultiplierExact), cut to 2 decimals. Step 7 verifies that convention on every win and confirms the field can only under-report — both amounts LIQD writes (checked in Steps 8 and 22) use the exact value. On 2,429 of the 2,691 wins the display sits strictly below the exact multiplier; it never sits above. On losses the field is absent entirely.

2 columns
MetricCount
Wins where multiplier == floor2(exact) at 1e-92,691 / 2,691
Wins where the display understates the exact multiplier2,429
Wins where the display overstates the exact multiplier0
Losses carrying a multiplier key0 / 3,883 (absent, and winningAmount == 0)
tests/steps/payouts.ts · Step 7 · Verified
  // ── Step 7: Displayed multiplier field ────────────────────────────────────────  // SCOPE: the scored production dataset (EXPECTED_BETS rounds). The `multiplier` field LIQD returns  // on a win is the DISPLAY value, floored to 2 decimals: minesMultiplier(m,k) == floor2(exact), k =  // the tiles opened. It is not the wallet field of the reply (Step 22) and it UNDERSTATES the  // exact multiplier wherever the exact value is not a whole number of cents. For LOST bets there is  // no payout: `multiplier` is omitted and winningAmount == 0.  // …  for (const b of bets) {    if (b.result === 'won') {      wonChecked++;      const display = minesMultiplier(b.mineCount, b.openTiles.length);      // floored      const exact = minesMultiplierExact(b.mineCount, b.openTiles.length);   // exact      if (!Number.isFinite(display) || !Number.isFinite(exact)) { s7NonFiniteRef++; continue; }      if (b.multiplier === undefined || !Number.isFinite(b.multiplier) || Math.abs(display - b.multiplier) > 1e-9) wonErrors++;      if (b.multiplier !== undefined && b.multiplier + 1e-9 < exact) displayBelowPaid++;    } else {      lostChecked++;      if ((b.multiplier ?? 0) !== 0 || Number(b.winningAmount) !== 0) lostErrors++;    }  }
Result: Every displayed multiplier equals floor2(exact) (2,691 / 2,691 at 1e-9); 0 wins where the display overstates. The on-screen value is cosmetic — the payout driver is the exact formula: at the 10.00 stake every win books 11.25, not the 11.20 a 1.12× display would give.
3.6Reveal-Sequence Consistency (Step 20)

Step 20 checks every round from its final state, judged against the recomputed layout: in a legitimate round, a win’s opened tiles contain no mine, and a loss’s opened tiles contain exactly one mine — the last tile opened, with every earlier open safe. Any other pattern (a mine opened mid-sequence without a bust, a bust with a clean board) would mean the served game diverged from the committed layout. All 6,574 rounds conform — and Step 22 goes further, checking the mine/safe flag of every one of the 19,498 reveal replies against the recomputed layout (3.8).

3 columns
ScopeCoverageVerified
Wins — no opened tile is a mine2,691 rounds2,691 / 2,691
Losses — bust on exactly the final opened tile3,883 rounds3,883 / 3,883
Earlier-tile mine violations (either direction)All 6,574 rounds0
Reveal replies agreeing with the recomputed layout (Step 22)19,498 replies19,498 / 19,498
Result: The reveal outcome is consistent with the recomputed mine layout in every round, and so is every reply LIQD served along the way — mid-round mine-set invariance, checked reveal by reveal.
3.7Phase C — Bet-Size Invariance (Step 18)

Phase C placed 124 bets at 10.00 USD on mineCount 3 with a single reveal — 100 times the 0.10 stake of every other phase. All 124 mine layouts were recomputed correctly from revealed seeds, in draw order (0 mismatches). The structural point: revealMines takes no wager argument, so in our implementation the layout cannot depend on stake — and the live game matched it at both captured stakes. The only place betAmount appears is the payout multiplication, and the only stakes in the dataset are exactly 0.10 and 10.00. Mine count 3 is also played at 0.10, at depths 2 to 8 in Phases A and D, under the same engine and the same payout rules.

Result: Phase C: 124/124 layouts recomputed correctly at 10.00; every one of the 109 wins books exactly 10.00 × 1.125 = 11.25 USD and carries 11.25000000 USDT in the wallet field — the rules all 2,582 wins at 0.10 follow (Steps 8, 22). Bet amount is not an input to the RNG.
Variance context: Phase C's 124 rounds at mineCount 3 produced 109 wins against 109.12 expected at the 22/25 = 88% single-tile win rate — on the expectation to the nearest whole win. At N=124 this is small-sample luck and structurally irrelevant: the claim verified here is layout and payout invariance, not RTP. The 99.0000% RTP is proven analytically in S4.
3.8Production Raw-Capture Binding (Step 22)

The scored dataset is converted from three raw production captures — every request and reply of each run, the runner’s plan, the seed rotations and LIQD’s verifier replies — which ship beside it byte for byte and pinned by SHA-256. Step 22 binds the two row by row and scores what the dataset has no field for: the USDT wallet field of every win, every reveal reply, the rounds LIQD settles by itself, and LIQD’s own verifier. LIQD’s reveal replies carry no running multiplier — a safe reveal answers only that the tile is safe — so the settled amounts are what is checked.

2 columns
CheckDetail
Integrity3 / 3 raw captures match their SHA-256 pins, with exactly the declared lines, events and requests — 6,574 place-bet, 19,498 open-tile and 2,688 cash-out — each naming its runner build
Row binding6,574 / 6,574 scored rows equal their settling reply, field for field; every round’s tiles were planned before its first request; 36 / 36 seed records equal the rotation replies that opened and closed them
Reveals19,498 / 19,498 open-tile replies agree with the recomputed layout; 6,574 / 6,574 rounds opened their planned tiles in order and stopped where the result says
Wallet field2,691 / 2,691 wins carry exactly floor8(walletStake × floor8(exact)) in USDT — 0 below, 0 above; against floor8(walletStake × exact) 2,629 equal and 62 one eight-decimal unit lower (0.00000062 USDT in total), never higher; no loss carries a wallet win
Self-settled rounds3 rounds opened the last safe tile of a 24-mine board; LIQD settled each in the open-tile reply (autoFinish) at 24.75× — booked 2.47 USD, 2.47500000 USDT in the wallet field — by the same rules
Order independence59 / 59 winning (setting, stake, currency) groups carry one displayed multiplier and one booked amount, whatever the reveal order; all 40 played settings carry a captured win
LIQD’s verifier6,574 / 6,574 replies name the recomputed mines and the round’s opened tiles — sent only the revealed seeds, nonce and mine count, so LIQD can only know those tiles from its own stored round
Ledger and history3,886 stake-debit records on the settling replies, each at the round’s stake; LIQD’s account bet history, read on 11 November 2026, records the wallet field as the payout on 2,691 / 2,691 wins
Result: PASS. Every production round is bound to the reply LIQD served, every reveal recomputes, every win’s wallet field is exactly at LIQD’s rule, and LIQD’s own verifier and account history agree (Step 22).
3.9Balance Check (Step 23)

A win’s reply carries two amounts, the booked amount in the display currency and the USDT wallet field, and no Mines reply carries a balance. To settle which one is paid, a fourth capture on 12 November 2026 read the account’s USDT balance (user.wallets[0].amount of GET /api/v1/user/get-user) just before each bet and after each settle, on 100 rounds at two settings where the two amounts differ on every win: 50 at 1 mine and two tiles on 0.10, where a win is booked as 0.10 and carries 0.10760869 USDT, and 50 at 3 mines and five tiles on 0.01, where a win is booked as 0.01 and carries 0.01997368 USDT. The rounds were booked in USD at the served rate 1.00000000, so both amounts are in one unit. Step 23 takes every round’s balance change from the capture and compares it with both amounts. The file is not part of the scored dataset.

2 columns
CheckDetail
IntegrityThe file matches its SHA-256 pin (9ee1a921…bebbda, 1,275 lines) with the declared events and requests, from runner build 5585376e3fe5; 100 / 100 rounds have both reads, every after-settle read agrees with the next, and each equals its raw balance-read reply
Wins71 / 71 wins moved the balance by the wallet field — 45 at 1 mine, 2 tiles on 0.10 and 26 at 3 mines, 5 tiles on 0.01 — and 0 by the booked amount
Losses29 / 29 losses moved the balance by exactly −stake
Between rounds0 of 99 changes between one round’s read after its settle and the next round’s read before its bet
Totals1 mine, 2 tiles: the balance moved −0.15760895, the wallet fields give −0.15760895, the booked amounts −0.50000000 · 3 mines, 5 tiles: +0.01931568 against +0.01931568 and −0.24000000
Amounts and outcomes71 / 71 wins at the rules of Steps 8 and 22; both revealed seeds match their commitments, 100 / 100 layouts recompute in draw order, and LIQD’s verifier names the recomputed mines for 100 / 100
Result: PASS. The USDT wallet field is the amount that reaches the balance: 71 of 71 wins, never the booked amount (Step 23). The balance was read on these 100 rounds, at two settings booked in USD; on the 6,574 scored rounds LIQD’s account bet history records the wallet field as the payout on 2,691 of 2,691 wins.
3.10Worked Example — Full Parity Verification

Real bet from Phase D — bet jpXQbNX_SfiZoj7AaxWXU (epoch 28), mineCount 3, nonce 87, 8 safe reveals, under a client seed set by the player. Verified from mines-prod-full-6574bets.json and its raw capture:

serverSeed = e74ccb9f5ee4495a0e0dc35a0373e3e3
clientSeed = pfaudit-prod-mines-d4-7db3c7d5315c
nonce      = 87
mineCount  = 3
betAmount  = 0.10 USD · wallet stake 0.10000000 USDT
openTiles  = [22, 15, 12, 1, 5, 17, 14, 2]
recorded   = mineTiles [18, 8, 25] · multiplier 3.34 · winningAmount 0.33 · wallet 0.33485294
commitment = 338f011074b865e671f92039f6bf1835…
3 columns
StepProcessOutput
1Recompute the commitment — SHA-256(utf8(serverSeed))Matches the pre-published hash
2Run revealMines(serverSeed, clientSeed, 87, 3)[18, 8, 25] — equals the recorded mineTiles, in order
3Check the eight opened tiles against the mine setNo overlap — the won label is correct
4Compute minesMultiplierExact(3, 8)3.34852941… exact (panel displays the floored 3.34×)
5Pay the win in USDTfloor8(0.10000000 × 3.34852941) = 0.33485294 USDT — the reply’s winningAmountWallet, verbatim
6Book the win in the display currencyfloor2(0.10 × 3.34852941…) = 0.33 USD — the reply’s winningAmount, verbatim
HMAC-SHA256 recomputation + formula · Verified
commitHash(serverSeed)                    → matches the published commitment ✓revealMines(seed, client, 87, 3)          → [18, 8, 25]  (draw order) ✓openTiles ∩ mineTiles                     → ∅  — all eight reveals safe → won ✓minesMultiplierExact(3, 8)                → 0.99 × (25·24·23)/(17·16·15) = 3.34852941…booked = floor2(0.10 × 3.34852941…)       → 0.33 USD  (display shows floor2 = 3.34×) ✓wallet = floor8(0.10000000 × 3.34852941) → 0.33485294 USDT ✓
Parity verified: Bet jpXQbNX_Sf… — commitment, mine layout, win label, exact multiplier, USDT payout and booked amount all match exactly between the live game and our recomputation, and LIQD’s own verifier names the same three mines and the same eight opened tiles. This example exercises Steps 1, 5, 7, 8, 14, 15 and 22 end-to-end, and is the same bet used for the RNG trace in S2.
Live Game0.33485294 USDT
Verifier0.33485294 USDT
Technical Evidence & Verification5 sections
3.11Evidence Coverage Summary14 checks
3 columns
Verification AreaCoverageResult
Mine-layout recomputation (Step 5)6,574 / 6,574 rounds — full layout verified, in draw order; ProvablyFair.org verifier 6,574 / 6,574Pass
Booked amount — wins (Step 8)2,691 / 2,691 winning bets book floor2(stake × exact multiplier), zero tolerancePass
Payout — losses (Step 8)3,883 / 3,883 losing bets pay exactly zeroPass
Wallet field (Step 22)2,691 / 2,691 wins at floor8(wallet stake × floor8(exact)) — never above the exact productPass
Displayed multiplier convention (Step 7)2,691 wins at floor2(exact), 1e-9 — never above the exact valuePass
Win/loss labels vs recomputed boards (Steps 8, 20)0 violations in 6,574 roundsPass
Config completeness (Step 9)60 / 60 planned (phase, setting) pairs with exactly their rounds; all 24 mine countsPass
Phase D client-seed variation (Step 14)500 bets, 5 player-set client seeds — 500 / 500 matchPass
Multi-reveal (Step 15)5,500 / 5,500 rounds planned for multiple reveals, at 20 settings up to 15 tiles · 2,176 / 2,176 winning multipliersPass
Phase C bet-size invariance (Step 18)124 / 124 at 10.00 · 109 / 109 wins at both settlement rulesPass
Reveal-position independence (Step 21)2,720 distinct open-sets · all 25 first picksPass
Raw-capture binding (Step 22)6,574 / 6,574 rows · 19,498 / 19,498 reveals · LIQD’s verifier 6,574 / 6,574Pass
Balance check (Step 23)100 rounds on 12 November 2026 · the balance moved by the wallet field on 71 / 71 wins, by −stake on 29 / 29 losses, 0 / 99 changes between roundsPass
Multi-phase coverage4 phases: A (5,000) + A+ (950) + C (124) + D (500)Pass
3.12Code References10 source files
2 columns
FilePurpose
tests/steps/determinism.tsStep 5: Mine-layout recomputation (ordered comparison) and the site-verifier parity arm
tests/steps/payouts.tsSteps 7–9: Display field, booked-amount replay + win-condition, config completeness
tests/steps/phase-d.tsStep 14: Phase D player-set client seeds
tests/steps/phase-e.tsStep 15: multi-reveal verification over Phases A and D
tests/steps/standardization.tsSteps 18, 20, 21: Bet-size invariance, reveal-sequence consistency, reveal-position independence
tests/steps/raw-capture.tsStep 22: raw-capture binding — rows, reveals, self-settled rounds, the wallet field, LIQD’s verifier and ledger debits
tests/steps/balance.tsStep 23: the balance check — every round’s balance change against the booked amount and the wallet field
src/balance-check.tsReader for the 12 November balance check, pinned by SHA-256
src/prod-capture.tsReader for the three raw production captures, each pinned by SHA-256
src/config.tsminesMultiplierExact, minesMultiplierRational, minesMultiplier — the closed-form formulas every amount is replayed against
3.13Datasets UsedSource artifacts
Primary dataset: data/mines-prod-full-6574bets.json — 6,574 production bets across Phases A, A+, C and D (36 epochs), SHA-256 4d684d5e035e0be3…
Raw production captures: data/liqd-mines-prod-capture-*.ndjson — the three runs as exported, 48,577 lines: every request and reply, pinned by SHA-256 and scored by Step 22
Balance check: data/liqd-mines-prod-capture-2026-11-12T17-38-16-806Z.ndjson — 100 rounds on 12 November 2026 with the account’s USDT balance read before and after each, 1,275 lines, pinned by SHA-256 and scored by Step 23; not part of the primary dataset
Multi-reveal rounds: Phases A and D — 5,500 rounds planned for multiple reveals, inside the primary dataset (no separate file)
Game config: Multiplier formula 0.99 × C(25,k)/C(25−m,k) in src/config.ts — algebraic, not a lookup table
Verification output: outputs/verification-results.json — Steps 5, 7–9, 11, 14–15, 18, 20–23
3.14Verified Invariants17 invariants
2 columns
InvariantResult
Computed mine layout matches live mineTiles, in draw order, for all 6,574 betsPass
winningAmount = floor2(betAmount × minesMultiplierExact(m, openTiles.length)) in exact rational arithmetic, for all 2,691 winsPass
Wallet field = floor8(wallet stake × floor8(exact)) for all 2,691 wins; never above the exact productPass
winningAmount = 0 for all 3,883 lossesPass
Displayed multiplier = floor2(exact) on all 2,691 wins; absent on losses; never above the exact valuePass
Win condition holds: won ⇔ no opened tile is a mine, for all 6,574 betsPass
Loss condition holds: lost ⇔ the final opened tile is the only opened minePass
Planned reveals equals openTiles.length on every win (2,691 / 2,691)Pass
Payout keys off executed depth (openTiles.length), never the planPass
Every reveal reply’s mine/safe flag equals the recomputed layout (19,498 / 19,498)Pass
Phase C (10.00) layouts recompute under the same wager-free derivation as the 0.10 rounds (124 / 124)Pass
No hidden inputs beyond (serverSeed, clientSeed, nonce, mineCount) — stakes present are exactly {0.10, 10.00}Pass
All 24 mine-count configurations (1–24) present in live data, at least 50 rounds eachPass
Phase D: 500/500 layouts verified across 5 player-set pfaudit client seedsPass
2,720 distinct opened-tile sets and all 25 first picks; every opened sequence a prefix of its planned orderPass
LIQD’s verifier names the recomputed mines and the opened tiles of all 6,574 roundsPass
On the balance check, the USDT balance moved by the wallet field on all 71 wins (never by the booked amount) and by exactly −stake on all 29 lossesPass
3.15Reproduction 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-mines.gitcd liqd-mines && git checkout v1.2.0npm cinpm run verify# Expected output: Steps 5, 7–9, 11, 14–15, 18, 20–23 all PASS
S3-related steps:

  [PASS] Step 5 — Mine-Layout Recomputation
  [PASS] Step 7 — Displayed Multiplier Field (floored, cosmetic)
  [PASS] Step 8 — Payout Math + Win-Condition (wins: winningAmount == floor2(betAmount × EXACT multiplier), the booked fiat amount; losses: 0; label ⇔ mine opened)
  [PASS] Step 9 — Config Completeness (the production plan: 60 phase settings, every mine count)
  [PASS] Step 11 — Phase Labels
  [PASS] Step 14 — Client Seed Variation (Phase D player-set seeds; seed order on every epoch)
  [PASS] Step 15 — Multi-Reveal Verification (phases A and D, every round)
  [PASS] Step 18 — Bet-Size Invariance (phase C at the elevated stake)
  [PASS] Step 20 — Reveal-Sequence Consistency
  [PASS] Step 21 — Reveal-Position Independence
  [PASS] Step 22 — Production Raw-Capture Binding (wallet field, reveals, LIQD verifier)
  [PASS] Step 23 — Balance Reconciliation (12 November balance check: the wallet field reaches the balance)
04

RTP & Payout Logic

Is the house edge what the casino claims?

LIQD publishes a 99% RTP: a flat 1% house edge in Mines. We checked it without taking any casino figure on trust; that is what anti-circularity means. The chance that every tile you open is safe can be counted on the 25-tile grid, and LIQD’s multiplier is built from that same count, so win chance × multiplier is exactly 99% at all 300 settings, every mine count with every number of tiles opened. We also checked the USDT LIQD pays on every win, ran 24 million simulated rounds, and tested whether LIQD picked its seeds against players. We found nothing out of line.

Return to Player Verification

99.0000%theoretical RTP

What we verified

  • The house edge is a flat 1% at all 300 settings, every mine count with every number of tiles opened, at both stakes
  • We worked out the RTP ourselves by counting: win chance × exact multiplier is exactly 99% at every setting
  • LIQD’s published 99% holds exactly on all 300 settings, with no gap at all
  • All 2,691 wins are paid in USDT from the exact multiplier by LIQD’s eight-decimal settlement rule, returning 99.0000% at every setting
  • 24 million simulated rounds average 98.9427%, within normal variation of the 99.0000% expected
  • No sign that LIQD chose seeds against players: the settings served under all 36 revealed seeds returned in line with their odds
  • Mine placement and payout rules are the same at 0.10 and 10.00

What this means for you

  • The house edge on Mines is a flat 1%, whichever mine count, number of tiles or stake you choose
  • The 99% LIQD advertises is exactly what the maths returns at every setting
  • The RTP is worked out independently, without trusting the casino’s own figure
  • The casino’s seeds show no sign of being chosen against the player
  • Your bet amount made no difference to where the mines were placed
  • The multiplier and the win shown on screen are rounded down for display, but you are paid in USDT from the exact value
99.0000%theoretical RTP
  • The house edge is a flat 1% at all 300 settings, every mine count with every number of tiles opened, at both stakes
  • We worked out the RTP ourselves by counting: win chance × exact multiplier is exactly 99% at every setting
  • LIQD’s published 99% holds exactly on all 300 settings, with no gap at all
  • All 2,691 wins are paid in USDT from the exact multiplier by LIQD’s eight-decimal settlement rule, returning 99.0000% at every setting
  • 24 million simulated rounds average 98.9427%, within normal variation of the 99.0000% expected
  • No sign that LIQD chose seeds against players: the settings served under all 36 revealed seeds returned in line with their odds
  • Mine placement and payout rules are the same at 0.10 and 10.00
INDEPENDENT DERIVATION
(safe tile picks ÷ all tile picks) × exact multiplier= 99.0000%
Safe picks counted on the 25-tile grid for every mine count and number of tiles, never read from LIQD · Multiplier from the payout formula, checked on every win · All 300 settings: 24 mine counts × every number of tiles you can open

The screen rounds the multiplier down to 2 decimals for display; every win is paid in USDT from the exact value.

99.0000%Theoretical RTP (all 300 settings — every mine count, every depth)
98.9427%Simulated (24M rounds)
1.00%House Edge (flat)
300 / 300Settings meet LIQD’s published 99%
CheckResultEvidence
Anti-circularityPassWe counted the win chance on the 25-tile grid ourselves, using no casino data, and a second, independent count agrees on 115 cases
House edge auditPassA flat 1% at all 300 settings, and the multiplier always rises with each extra tile opened and each extra mine
RTP claimPassLIQD’s Mines page states 99% RTP, and all 300 settings return exactly 99%, with no gap
Simulated RTPPass24 million simulated rounds average 98.9427%, within normal variation of 99%, with no sign of a favoured tile
Cherry-pick testPassReplaying the settings LIQD served under all 36 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 layout: all 124 rounds at the 10.00 stake recompute, with the same payout rules
Multiplier formulaPassAll 2,691 wins are paid from the exact multiplier; the one on screen is that value rounded down to 2 decimals
USDT payoutPassPaid in USDT to 8 decimals, confirmed against the balance on a 100-round check: 99.0000% at every setting. The win shown in your display currency is cut to the cent
Anti-circularityPass
We counted the win chance on the 25-tile grid ourselves, using no casino data, and a second, independent count agrees on 115 cases
House edge auditPass
A flat 1% at all 300 settings, and the multiplier always rises with each extra tile opened and each extra mine
RTP claimPass
LIQD’s Mines page states 99% RTP, and all 300 settings return exactly 99%, with no gap
Simulated RTPPass
24 million simulated rounds average 98.9427%, within normal variation of 99%, with no sign of a favoured tile
Cherry-pick testPass
Replaying the settings LIQD served under all 36 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 layout: all 124 rounds at the 10.00 stake recompute, with the same payout rules
Multiplier formulaPass
All 2,691 wins are paid from the exact multiplier; the one on screen is that value rounded down to 2 decimals
USDT payoutPass
Paid in USDT to 8 decimals, confirmed against the balance on a 100-round check: 99.0000% at every setting. The win shown in your display currency is cut to the cent
✓  RTP Behaves as Advertised

The 99% RTP comes from simple counting. The chance that every tile you open is safe can be counted on the 25-tile grid, and LIQD’s multiplier is built from the same count, so win chance × multiplier is exactly 99% at all 300 settings, with no gap. This is exact arithmetic, not an estimate: 24 million simulated rounds agree with it, and we found no sign of seed selection. Every win is paid in USDT from the exact multiplier, the amount LIQD’s bet history records, and that payout returns 99.0000% at every setting. A separate 100-round check confirmed it is the USDT amount that reaches the balance.

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

The anti-circularity proof establishes the 99.0000% RTP from first principles without using any casino-supplied probability data. Mines' proof is an algebraic identity rather than a summation — the win chance and payout multiplier both contain the same combinatorial ratio, which cancels exactly. Step 13 derives the win probability from raw combinatorics, cross-checks it against the equivalent telescoping product, verifies that the k = 1 outcome space sums to exactly 1.0, and anchors the closed form with a counting leg — every k-subset of the 25 tiles is enumerated outright and tallied as integers against C(25, k) and C(25−m, k), a method in which a coefficient error is inexpressible — before multiplying against the payout formula:

Anti-Circularity Proof (Step 13) — illustrated flow
3 columns
ComponentFormulaSource
Win probabilityC(25−m, k) / C(25, k)Pure combinatorics — computed by the audit
Cross-checkΠ (25−m−i) / (25−i)Telescoping product — max deviation 2.220e-16
Counting anchorExhaustive k-subset tally — integer equality with C(25, k) and C(25−m, k)115 (m, k) cases (all 24 mine counts to k = 5, plus the 5 production settings deeper than that) — 0 mismatches, no tolerance
Exact multiplier(1 − 0.01) × Π (25−i) / (25−m−i)Closed form — validated against every captured win
RTPwinProbability × minesMultiplierExactThe product — the fair terms cancel
5 columns
Mines (m)winChance (k=1)Multiplier (with edge)winChance × MultiplierRTP
124/25 = 0.9600001.031250000.99000099.0000%
322/25 = 0.8800001.125000000.99000099.0000%
520/25 = 0.8000001.237500000.99000099.0000%
1213/25 = 0.5200001.903846150.99000099.0000%
205/25 = 0.2000004.950000000.99000099.0000%
241/25 = 0.04000024.750000000.99000099.0000%
Result: All 300 settings — 24 mine counts × every reveal depth: RTP = 99.0000% exactly, by algebraic cancellation — no summation, no convergence. The telescoping cross-check deviates by at most 2.22 × 10⁻¹⁶ (floating-point epsilon), and the counting anchor matches the closed form with integer equality on all 115 enumerated (m, k) cases — every depth played on production among them. The theoretical RTP proof is non-circular and closed-form (Steps 10, 13).

Anti-Circularity Verification:

tests/steps/anti-circularity.ts · Step 13 · Verified
/** * Step 13: Anti-circularity — win probability is pure combinatorics. * * winProbability(m, k) = C(25-m, k) / C(25, k): the fair "all k opened tiles are * safe" probability. It never touches operator data. We prove it here three ways: *   (1) at k=1, Σ over the two mutually-exclusive outcomes (safe / mine) sums to 1: *       P(safe) + P(mine) = (25-m)/25 + m/25 = 1 for every m. *   (2) winProbability(m,k) equals the product form Π (25-m-i)/(25-i), i=0..k-1, *       which is manifestly independent of any payout table. *   (3) COUNTING ANCHOR: legs (1) and (2) are algebra about the same closed form — *       both are ours and both would be wrong together if the form itself were. Leg *       (3) enumerates every k-subset of the 25 tiles outright and counts, as *       integers, the total (must equal C(25,k)) and the subsets avoiding a fixed *       m-tile mine set (must equal C(25-m,k)). Nothing is multiplied or divided — *       a binomial-coefficient error is inexpressible in a tally. Integer equality, *       no tolerance. Covers every m at k ≤ min(5, 25−m), and every production setting *       deeper than that — (1,10), (1,15), (3,6), (3,8), (5,6) (src/pins.ts PROD_DEPTHS) — so every *       depth played on production is tallied, not only computed. */ import type { StepResult } from './context';import { step } from './context';import type { VerifyContext } from './context';import { winProbability, combination, GRID, MINE_COUNTS } from '../../src/config';import { PROD_DEPTHS } from '../../src/pins';

Why this proof is non-circular: winProbability(m, k) and the fair multiplier are literally reciprocals of the same combinatorial ratio C(25, k) / C(25−m, k), scaled by the edge factor 0.99. They cancel exactly — no summation, no approximation, no “converges to”. The identity holds by inspection for every (m, k) pair where k ≤ 25 − m, so the 99.0000% RTP is preserved however many tiles a player reveals before cashing out; Step 10 evaluates it at all 300 settings. What the audit adds is evidence that LIQD’s implementation honours the algebra — both amounts of every captured win follow from the exact multiplier (Steps 8 and 22) — and that the probability side is derived without touching a single operator-supplied number.

4.2RTP Claim Rule (Step 10)

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 combinatorics and the exact multiplier — 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 and the suite exits with code 5, even when every draw check passes. A setting above the claim never fails. The rule is scored on Step 10, the house-edge step.

2 columns
ItemDetail
Claim99% RTP at every setting — a flat 1.00% house edge
Where LIQD publishes itThe Mines game page, liqd.com/originals/mines: header "Edge: 1.00%", RTP "99% (99.03% after rounding)", page text "99% RTP at every setting", meta description "99% RTP" — read logged out on 1 October 2026 (evidence/rtp-page-labels-2026-10-01.json)
Settings tested300 — every mine count 1–24, each with cash-out after every legal depth k = 1 … 25 − m
MethodExact rational: C(25 − m, k) / C(25, k) × the exact multiplier 0.99 × Π (25 − i) / (25 − m − i)
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 10 (profile check MINES-19), rule enforced
ResultPass — the claim holds at every setting; no fix needed
7 columns
Mine countDepthsSettingsExact RTPRTPGapResult
1 minek = 1 … 242499/10099.000000%0.000000 ppPass
2 minesk = 1 … 232399/10099.000000%0.000000 ppPass
3 minesk = 1 … 222299/10099.000000%0.000000 ppPass
4 minesk = 1 … 212199/10099.000000%0.000000 ppPass
5 minesk = 1 … 202099/10099.000000%0.000000 ppPass
6 minesk = 1 … 191999/10099.000000%0.000000 ppPass
7 minesk = 1 … 181899/10099.000000%0.000000 ppPass
8 minesk = 1 … 171799/10099.000000%0.000000 ppPass
9 minesk = 1 … 161699/10099.000000%0.000000 ppPass
10 minesk = 1 … 151599/10099.000000%0.000000 ppPass
11 minesk = 1 … 141499/10099.000000%0.000000 ppPass
12 minesk = 1 … 131399/10099.000000%0.000000 ppPass
13 minesk = 1 … 121299/10099.000000%0.000000 ppPass
14 minesk = 1 … 111199/10099.000000%0.000000 ppPass
15 minesk = 1 … 101099/10099.000000%0.000000 ppPass
16 minesk = 1 … 9999/10099.000000%0.000000 ppPass
17 minesk = 1 … 8899/10099.000000%0.000000 ppPass
18 minesk = 1 … 7799/10099.000000%0.000000 ppPass
19 minesk = 1 … 6699/10099.000000%0.000000 ppPass
20 minesk = 1 … 5599/10099.000000%0.000000 ppPass
21 minesk = 1 … 4499/10099.000000%0.000000 ppPass
22 minesk = 1 … 3399/10099.000000%0.000000 ppPass
23 minesk = 1 … 2299/10099.000000%0.000000 ppPass
24 minesk = 1199/10099.000000%0.000000 ppPass
All 300 settingsevery legal depth30099/10099.000000%0.000000 ppPass — 300 / 300
Result: Pass — LIQD’s published 99% is met exactly by all 300 settings: the true minimum and maximum are both 99.000000%, so the worst gap is 0.000000 pp against the ±0.1 pp band (Step 10). The full per-setting table ships as outputs/rtp-claim-table.json, pinned by SHA-256 and re-derived on every run.
Discrepancy, as published on 1 October 2026: The same page states: “Multipliers are rounded to two decimals rather than cut, so the realised edge moves a little with the exact mines-and-picks combination, between 0.64% and 1.44%, around the nominal 1%.” On production the displayed multiplier is cut, not rounded (Step 7), and wins are settled from the exact multiplier rather than the 2-decimal one; paying the 2-decimal multiplier would give an edge of 1.00%–1.72% cut or 0.56%–1.33% rounded over the 300 settings, so the range matches neither rule. Run through the same rule as a range claim, the sentence would fail — 98.56% published against the true 99.00%, −0.44 pp. LIQD is held to its flat 99% (ruling 1, 11 November 2026), which every setting meets; the sentence is recorded as a discrepancy.
4.3House Edge & Settlement Rounding (Step 10)

Step 10 computes winProbability(m, k) × minesMultiplierExact(m, k) from first principles at 44 scored cases — every mine count at k = 1, plus the 20 multi-reveal settings of Phases A and D — and sweeps the same formula across all 300 legal settings (k = 1 … 25 − m): every one evaluates to 99.0000% within 1e-9. Because every amount LIQD writes is computed from the exact multiplier, the product is identically 1 − 0.01 = 0.990000 everywhere — no setting with a worse return, no depth with a hidden penalty — and the exact multiplier rises strictly with depth and with mine count across all 552 adjacent pairs of settings.

The payout is the USDT amount. Every win is paid in USDT at floor8(wallet stake × floor8(exact)) — the exact multiplier to 8 decimals, then the product to 8 decimals — and LIQD’s account bet history records that amount as the payout on 2,691 of 2,691 captured wins; on the balance check of 12 November it is the amount that reached the balance on 71 of 71 wins (Step 23, 3.9). It returns 99.0000% at every setting: even at the smallest wallet stake in the capture (0.07084688 USDT, a 0.10 CAD bet) the worst setting, 1 mine with four reveals, gives up at most 1.016e-7 per unit wagered. Against floor8(wallet stake × exact) it is equal on 2,629 wins and one eight-decimal unit (0.00000001 USDT) lower on 62 — 0.00000062 USDT in total, never higher — LIQD’s declared 8-decimal rule (ruling 2). LIQD also books each win in the account’s display currency, cut to the cent (floor2(stake × exact), Step 8), and shows the multiplier cut to 2 decimals. Both are display figures. As a return the booked figure reads 92.0000% at 1 mine with two tiles on 0.10 and 49.5652% at 3 mines with five tiles on 0.01, the two settings of the balance check, where it was not the amount that moved the balance.

4 columns
RunWinsPaid in USDT: staked → wonBooked (display currency): staked → won
8–9 Nov · Phase A · 0.10 CAD1,979354.52607511 → 353.95401893500.00 → 487.62 CAD
10 Nov · Phases D, A+ · 0.10 USD603145.00000000 → 140.88221236145.00 → 137.39 USD
10 Nov · Phase C · 10.00 USD1091,240.00000000 → 1,226.250000001,240.00 → 1,226.25 USD
Result: Effective edge = 1.00% flat — the formula returns 99.0000% at every setting (Step 10: 44 / 44 scored cases, 300 / 300 in the sweep), the USDT payout, the amount that reaches the balance (Step 23), returns 99.0000% at every setting, and every captured win follows LIQD’s settlement rules exactly (Steps 8 and 22).
Display note: On a small win the booked amount reads up to a cent below the amount paid, because it is cut to the cent: at 1 mine and two tiles on a 0.10 stake every win is booked as 0.10 while 0.10760869 USDT is paid. On the USD runs, where the USD and USDT stakes are equal, the wallet fields exceed the booked wins by exactly that rounding, 3.49221236 in total. LIQD’s account bet history records the wallet field as the payout on 2,691 of 2,691 wins, and the balance check saw it reach the balance on 71 of 71.
Finding — payout precision (Medium, remediated): The original build credited the multiplier floored to 2 decimals (floor2(exact)), so wins paid slightly under the formula wherever the exact multiplier has more than two decimals: a 0.10 win at 4 mines and one tile paid 0.117 where the exact amount is 0.11785714. Across the 24 single-reveal settings that returns 98.7767% on average against the advertised 99% (98.28%–99.00% per setting; outputs/audit-figures.json → flooredDisplayCounterfactual). LIQD moved to full-precision settlement, and the production capture confirms it: the wallet field uses the multiplier at 8 decimals, and at the 10.00 stake all 109 wins book 11.25 where a 2-decimal multiplier would give 11.20. Section 5 lists the finding as LIQD-MINES-PREC-002, remediated.
4.4Simulation Pass 1 — Our Own Seeds (Step 16)

Section 4.1 proves RTP = 99.0000% mathematically. Does our implementation of the same algorithm produce that in practice? We simulated 24 million rounds — fresh random seed pairs for each mine count, 1,000,000 single-reveal rounds each, every pair kept in its result row — and every verify run replays all 24,000,000 rounds from those saved seeds and recomputes every statistic (Step 16: 24 / 24 rows, 0 differences). Pass 1 is scored as three families at the Bonferroni threshold α/24:

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

First-draw uniformity: The first drawn mine tile is one uniform outcome per round (χ², df = 24 — correct for a single draw). 0 / 24 configs fail at Bonferroni.

Pairwise co-occurrence: Each of the 300 tile pairs is a Binomial count against the hypergeometric C(23, m−2) / C(25, m); tested via max |z| with a per-pair correction. 0 / 23 configs fail (m ≥ 2); largest |z| = 3.72.

First-drawn-tile serial independence: Lag-1 autocorrelation + runs test on the first-drawn tile sequence. 1 / 24 uncorrected trips (≈1.4 expected by chance); 0 / 24 at Bonferroni.

5 columns
Mine countTheoretical RTPSimulated RTP (1M)Deviationz
199.0000%98.9871%−0.0129 pp−0.64
299.0000%99.0612%+0.0612 pp+2.10
399.0000%98.9917%−0.0083 pp−0.23
499.0000%98.9437%−0.0563 pp−1.30
599.0000%99.0724%+0.0724 pp+1.46
699.0000%98.9767%−0.0233 pp−0.42
799.0000%99.1128%+0.1128 pp+1.83
899.0000%98.9538%−0.0462 pp−0.68
999.0000%98.9759%−0.0241 pp−0.33
1099.0000%99.0688%+0.0688 pp+0.85
1199.0000%98.8998%−0.1002 pp−1.14
1299.0000%99.0196%+0.0196 pp+0.21
1399.0000%99.0347%+0.0347 pp+0.34
1499.0000%98.9003%−0.0997 pp−0.89
1599.0000%99.1285%+0.1285 pp+1.06
1699.0000%99.0242%+0.0242 pp+0.18
1799.0000%98.8865%−0.1135 pp−0.79
1899.0000%98.9042%−0.0958 pp−0.60
1999.0000%99.1737%+0.1737 pp+0.99
2099.0000%98.9535%−0.0465 pp−0.24
2199.0000%99.0210%+0.0210 pp+0.09
2299.0000%98.8507%−0.1493 pp−0.56
2399.0000%98.1993%−0.8007 pp−2.38
2499.0000%98.4852%−0.5148 pp−1.06
All 24 (mean)99.0000%98.9427%−0.0573 pp−1.66
src/simulate.ts · Pass 1 core loop · Verified
  const firstDrawFreq = new Array(GRID).fill(0);          // index 0 = tile 1, ... tile 25  const firstDrawSeq = new Uint8Array(ROUNDS_PER_CONFIG); // first-drawn tile VALUE per round  // …  for (let nonce = 0; nonce < ROUNDS_PER_CONFIG; nonce++) {    const mines = revealMines(serverSeed, clientSeed, nonce, mineCount);    const first = mines[0];    firstDrawFreq[first - 1]++;    firstDrawSeq[nonce] = first;                           // 1..25 tile value    // …    // k=1 strategy: open FIXED_TILE, win iff it is NOT a mine.    let fixedIsMine = false;    for (const t of mines) if (t === FIXED_TILE) { fixedIsMine = true; break; }    if (!fixedIsMine) wins++;    // …  }
Result: 24M rounds. Mean simulated RTP 98.9427% — 1.66 standard errors below the proven 99.0000%, consistent with it. 0 / 24 first-draw, 0 / 23 pairwise and 0 / 24 serial failures at Bonferroni: the screens find no sign of placement bias across the 25-tile grid (Step 16).

What is a Monte Carlo simulation? Instead of relying on algebra alone, we simulate millions of rounds. Each round computes a mine layout from scratch with our implementation of the HMAC-SHA256 sequential Fisher-Yates shuffle, reveals one tile, and records whether the round won and what it paid. The aggregate return is then compared with the proven 99.0000%; a result consistent with it shows the implementation behaves as the algebra says.

Why these three tests and not a per-tile chi-squared: mine placement is a constrained multinomial — exactly m mines among 25 tiles — so per-tile counts are negatively correlated and a naive 25-cell test applies the wrong null (it loses power as mine density rises, though it still rejects gross biases). First-draw, pairwise-joint and serial are each valid against that structure, and together they cover position, interaction and memory.

Reading the deviations: Each row is an independent 1M-round experiment at that mine count’s own variance, which grows with mine count (the single-reveal payout gets rarer and larger). The largest gap is mine count 23 at −0.80 pp, 2.38 standard errors; mine count 2 sits at +2.10. With 24 independent rows, one or two beyond 2 standard errors is expected — per-mine-count RTP is informational here; the scored tests are the Bonferroni-gated families above.
4.5Cherry-Pick Test — Pass 2 (Step 17)

Could LIQD have chosen server seeds that play worse for players? Pass 2 takes every server seed LIQD actually used — all 36 revealed seeds — and replays each one far beyond the captured window. The load-bearing statistic is the served-config test: for each epoch, the configurations LIQD actually served (mine count and tiles requested, in nonce order) are replayed over its revealed seed for 200 of the epoch’s own lengths — 20,000 to 40,000 nonces. The captured window is the actual play — its replayed outcomes equal the 6,574 recorded ones — and its return is ranked against the same seed’s 199 later windows of the same configuration sequence. A seed chosen to play badly early would show a low early-window return. The rule — flag a seed at p ≤ 0.01, a family gate on the flag count, and a pooled z gate at −3.090 — was fixed in code before the statistic was computed on production data. A first-draw diagnostic runs beside it, against a bootstrap null that rebuilds from a recorded master seed:

Primary defence — structural: The client seed is player-editable and can be set after the server-seed commitment is published — on all 36 epochs of this capture it was sent after its epoch’s commitment was published. An operator that cannot predict your seed cannot pre-evaluate candidate server seeds against it.

Secondary check — statistical: The served-config test above detects a 20% early-window return shortfall with near-certain power, backing the structural defence above.

2 columns
TestDetail
Seeds tested36 — every revealed server seed in the capture, each replayed for 200 of its epoch’s own lengths (20,000 to 40,000 nonces)
Served-config test0 / 36 epochs flagged at p ≤ 0.01 (family gate ≤ 3 at family α 0.001)
Pooled early-window return6,523.3334 against an exact expectation of 6,508.2600 — z = +0.088 against the −3.09 gate: no return shortfall
Detection power (pooled test)100.0% for a 20% early-window return shortfall · 75.6% at 10% · 11.5% at 5%
First-draw diagnosticNonces 0–99 against 100–9,999 on every seed: 4 flags (epochs 2, 12, 15, 28) against 1.710 expected by chance; survival probability 0.0899 against a 0.01 threshold
Bootstrap replay (Step 17)10,000 replicates per opening mine count (1, 2, 3) rebuilt from the recorded master seed — 36 / 36 early p-values match, 0 mismatches
Independent Python replay30,000 / 30,000 null statistics and 36 / 36 p-values reproduced, late-p max |Δ| 8.9e-13 (npm run bootstrap-replay)
tests/steps/simulation.ts · Step 17 · Verified
const SERVED_WINDOWS = 200;const servedNonces = (size: number) => SERVED_WINDOWS * size;/** MINES-21 floor: nonces replayed per revealed seed. */const SERVED_NONCE_FLOOR = 10_000;const SERVED_ALPHA = 0.01;const SERVED_FAMILY_ALPHA = 0.001;const SERVED_POOLED_Z = 3.090;// …  //  THE SERVED-CONFIG TEST (MINES-21) — the profile's statistic, computed here and nowhere else  // …  const WINDOWS = SERVED_WINDOWS;  // …      let mu = 0, v = 0;      for (const c of e.configs) {        const P = winProbability(c.m, c.plan.length), mult = minesMultiplierExact(c.m, c.plan.length);        mu += P * mult; v += P * mult * mult - (P * mult) * (P * mult);      }      const early = x.windowReturns[0];      const le = x.windowReturns.slice(1).filter(w => w <= early).length;      const pS = (1 + le) / WINDOWS;      if (pS <= SERVED_ALPHA) { servedFlags++; servedFlaggedEpochs.push(e.epoch); }      muAll += mu; vAll += v; earlyAll += early;  // …  const servedGate = binomialTailThreshold(nServed, SERVED_ALPHA, SERVED_FAMILY_ALPHA);  const pooledZ = vAll > 0 ? (earlyAll - muAll) / Math.sqrt(vAll) : NaN;  const servedPower = SERVED_POWER_SHORTFALLS.map(d => ({ shortfall: d, power: normalCdf(d * muAll / Math.sqrt(vAll) - SERVED_POOLED_Z) }));  // …  const servedOver = servedFlags > servedGate || !(pooledZ >= -SERVED_POOLED_Z);
Result: PASS. 0 / 36 epochs flagged, and the pooled early-window return sits above its expectation (z = +0.088 against the −3.09 gate) — no sign of seed selection. The first-draw diagnostic raises 4 flags against 1.710 expected (P = 0.0899, clear of the 0.01 threshold), every early p-value rebuilt from the recorded master seed (Step 17).
Why is this included? 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 checks the seeds LIQD actually served for a statistical trace of selection.
4.6Bet-Size Invariance (Step 18)

Phase C placed 124 bets at 10.00 USD — 100 times the 0.10 stake of every other phase — on mine count 3 with a single reveal. All 124 mine layouts recompute in draw order from the revealed seeds with the same HMAC-SHA256 sequential Fisher-Yates derivation as the 6,450 rounds at 0.10, and all 109 wins follow the same settlement rules as the 2,582 wins at 0.10: 11.25000000 USDT paid and 11.25 USD booked (stake × 1.125). The 10.00 stake also separates the exact rule from one built on the displayed multiplier — floor2(10.00 × 1.12) would be 11.20, and no win was settled that way. Bet amount is not an input to the RNG.

3 columns
Metric0.10 rounds (Phases A, A+, D)Phase C (10.00)
Rounds6,450124
Layout recomputation parity6,450 / 6,450124 / 124
Wins paid at floor8(wallet stake × floor8(exact))2,582 / 2,582109 / 109
Wins booked at floor2(stake × exact)2,582 / 2,582109 / 109
Example win1 mine, two reveals on 0.10 USD: exact 1.07608695…, paid 0.10760869 USDT, booked 0.103 mines, one reveal: exact 1.125, paid 11.25000000 USDT, booked 11.25
Wager argument in revealMinesnone — the function has no stake parameternone — same function, same code path
Result: 124 / 124 Phase C rounds at 10.00 recompute against the same wager-free derivation as the 0.10 rounds — revealMines takes no stake argument — and all 109 of their wins settle by the same rules (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 and on fields outside the scored surface. At the per-setting sample sizes in this audit, empirical RTP is not a meaningful measure of fairness — the anti-circularity proof in 4.1 is the authoritative evidence.

3 columns
ItemValueContext
Live capture RTP (USDT payout)98.9400%1,739.52607511 USDT staked and 1,721.08623129 USDT paid over 6,574 rounds at mixed settings — a variance illustration only: 50 to 1,224 rounds per mine count is far below convergence
Live capture RTP (booked amount)97.5240% CAD · 98.4578% USD500.00 CAD staked and 487.62 booked as won over 5,000 rounds; 1,385.00 USD staked and 1,363.64 over 1,574 rounds — per currency, never summed, cut to the cent (4.3). A variance illustration only
Live win rate2,691 / 6,574 = 40.93%Mixed mine counts and depths — informational
Live-sample fit (Step 9)p = 0.3323 · p = 0.4151First-drawn mine position over all 6,574 layouts, χ² 26.418 on 24 df; win counts in 40 (mine count, depth) groups against the binomial, Σz² 41.266 on 40 df, largest |z| 2.831 at 1 mine and 15 reveals (87 of 275 against 110.0). Reported, not scored
Live win/loss lag-1 autocorrelationr₁ = 0.1234The capture cycles through settings whose win probabilities differ, so adjacent rounds reflect the plan’s order; Pass 1’s serial screen tests the generator itself
Multiplier cap and payout limitNo maxOddsNone of the 3,886 settings records the production replies carry has a multiplier cap, and LIQD states Mines has had none since the end of August 2026. The settings carry a per-round payout limit (maxExposure: 70,500 or 70,600 CAD, 50,000 USD), which LIQD states ends a round and pays the full multiplier for the tiles already revealed; no captured round came near it — the largest multiplier won is 40.86×. The 5,148,297× LIQD’s page quotes is the top of the formula (12 mines, 13 tiles), payable within that limit. The 99.0000% at every setting is the uncapped formula.
LIQD account bet history2,691 / 2,691Read from the capture account on 11 November 2026: 6,574 Mines rows, exactly the captured bet ids, each charged in USDT; every payout equals the reply’s wallet field, including 2.47500000 on each of the 3 rounds LIQD settled by itself
4.8Worked Example — Payout Verification

Real bet from Phase C — bet 4QJN4i6P5Fxc_NB4gxkE4 (epoch 35), mineCount 3, nonce 123, single reveal at the 10.00 stake. Verified from mines-prod-full-6574bets.json and its raw capture — the round that separates the exact settlement rule from one built on the displayed multiplier:

serverSeed = 3cf098f6c5ba08f60eb228995ec061e6
clientSeed = audit12902b0c80f4
nonce      = 123
mineCount  = 3
betAmount  = 10.00 USD · wallet stake 10.00000000 USDT
openTiles  = [25]
k          = 1
recorded   = mineTiles [24, 7, 21] · multiplier 1.12 · winningAmount 11.25 · wallet 11.25000000

Step 1 — Mine computation: revealMines(seed, client, 123, 3) → [24, 7, 21] — matches the record in draw order.

Step 2 — Win check: Opened tile 25 is not in {24, 7, 21} → the round is legitimately won.

Step 3 — Multiplier derivation: minesMultiplierExact(3, 1) = 0.99 × 25/22 = 1.125 exact; the panel displays floor2 = 1.12×.

Step 4 — Payout: floor8(10.00000000 × 1.12500000) = 11.25000000 USDT paid and floor2(10.00 × 1.125) = 11.25 USD booked — both verbatim from the record; the displayed 1.12× would have given 11.20.

3 columns
StepProcessOutput
1Recompute the layout from seeds[24, 7, 21] — ordered match
2Check the opened tile against the mine setSafe — won confirmed
3Exact multiplier 0.99 × 25/221.125 (display: 1.12×)
4Stake × exact multiplier11.25000000 USDT paid · 11.25 USD booked
5RTP identity at this config0.88 × 1.125 = 0.9900 — the flat edge, exactly
RTP proof for mines=3, k=1 · Verified
winProbability(3, 1)        = C(22, 1) / C(25, 1) = 22 / 25 = 0.88minesMultiplierExact(3, 1)  = 0.99 × 25 / 22      = 1.125RTP = winProbability × minesMultiplierExact    = 0.88 × 1.125    = 0.9900   →  99.0000%   (the fair terms cancel; only the edge remains)
Parity verified: Bet 4QJN4i6P5F… — mine layout, win condition, exact multiplier, USDT payout and booked amount all match. RTP for mineCount 3 = 99.0000% proven from algebraic cancellation, independent of any casino data. A 1.12× display beside an 11.25 booked win shows the win is computed from the full-precision multiplier, not the label.
Live Game11.25 USD
Verifier11.25 USD
Technical Evidence & Verification5 sections
4.9Evidence Coverage Summary9 checks
3 columns
Verification AreaCoverageResult
Anti-circularity (Step 13)300 (m, k) pairs from combinatorics alone — cross-check deviation 2.2e-16; counting anchor 115 cases at integer equalityPass
House edge audit (Step 10)44 / 44 scored cases and 300 / 300 settings = 99.0000%; 552 / 552 adjacent pairs strictly increasingPass
RTP claim rule (Step 10)LIQD’s published 99% against all 300 settings — worst gap 0.000000 pp, 0 beyond the bandPass
Payout reconciliation (Steps 8, 22)2,691 wins booked at floor2(stake × exact) and carried at floor8(wallet stake × floor8(exact)), zero tolerance + 3,883 losses at 0Pass
Settlement floor (Step 10)Wallet field 99.0000% at every setting — worst 1.016e-7 per unit wageredPass
Simulation Pass 1 (Step 16)24M rounds replayed — 0 / 24 first-draw, 0 / 23 pairwise, 0 / 24 serial at Bonferroni; 1.66 SE below 99.0000%Pass
Simulation Pass 2 (Step 17)Served-config test 0 / 36 epochs flagged, pooled z = +0.088; first-draw diagnostic 4 flags vs 1.710 expectedPass
Bet-size invariance (Step 18)124 / 124 Phase C at 10.00; 109 / 109 wins at both settlement rulesPass
Multi-reveal payouts (Steps 15, 22)5,500 rounds planned for multiple reveals, at 20 settings up to 15 tiles; 2,176 / 2,176 winning multipliersPass
4.10Code References12 source files
2 columns
FilePurpose
tests/steps/anti-circularity.tsStep 13: anti-circularity proof (combinatorial identity, cross-checks and counting anchor)
tests/steps/payouts.tsSteps 7–10: display field, booked-amount replay, config completeness, house-edge audit, settlement floor and the RTP claim rule
tests/steps/raw-capture.tsStep 22: the USDT wallet field of every win against LIQD’s 8-decimal rule
src/rtp-claim.ts · src/rtp-claim-switch.tsThe RTP claim rule (RTP-CLAIM 1.2.0) and its enforcement switch (on)
src/rtp-settings.tsThe 300-setting exact RTP table, LIQD’s published claim and the page’s rounding sentence (ruling 1)
tests/steps/simulation.tsSteps 16–17: Pass 1 replay and scoring, the served-config test and the Pass 2 bootstrap replay
tests/steps/standardization.tsStep 18: bet-size invariance across 0.10 and 10.00
src/simulate.tsMonte Carlo simulation (24M rounds, two passes — Pass 1 FWER families, Pass 2 bootstrap)
src/stats.tschiSquaredTest, max-|z| joint test, lag1Autocorrelation, runsTest
src/config.tswinProbability, pairCoOccurProb, minesMultiplierExact, minesMultiplierRational, minesMultiplier, theoreticalRTP — closed-form formulas
src/false-alarm.tsNominal false-alarm accounting of the eight scored screens in Steps 16–17 (6.97% total nominal level — an accounting, not a calibrated rate)
src/figures.tsDerived-figure artifact (outputs/audit-figures.json) — the producing artifact for every quoted figure, re-derived by Step 19
4.11Datasets UsedSource artifacts
Simulation output: outputs/simulation-results.json — Pass 1 (24M rounds, 1M per config × 24 configs, each row’s seed pair) + Pass 2 (36 seeds × 10K nonces, master seed 7461a9c2… recorded for replay) · SHA-256 50bef42d729a9733…
RTP claim table: outputs/rtp-claim-table.json — LIQD’s published 99% against all 300 settings, with each setting’s exact RTP, gap and outcome · SHA-256 cfd654a112dec681…
Derived figures: outputs/audit-figures.json — every quoted figure (300-setting reference grid, settlement floors of the booked amount and the wallet field, per-run booked and wallet totals, client-seed controls, rejection census, live aggregate, false-alarm accounting, simulation summary) re-derived field-for-field by Step 19 on every run
Game config: Multiplier formula 0.99 × C(25,k)/C(25−m,k) in src/config.ts — algebraic, not a lookup table
Primary dataset: data/mines-prod-full-6574bets.json — booked-amount reconciliation, Phase C bet-size invariance, the served configurations of Pass 2, and empirical-RTP context
Raw production captures: data/liqd-mines-prod-capture-*.ndjson — the USDT wallet fields scored by Step 22 and the planned tiles the served-config test replays
Convergence chart: outputs/rtp-convergence.html — pooled single-reveal RTP at seven sample sizes; the ±2 SE band narrows from ±2.22 pp at 1K to ±0.069 pp at 1M, and the final interval [98.8736%, 99.0118%] contains 99.0000%
4.12Verified Invariants16 invariants
2 columns
InvariantResult
winProbability(m,k) × minesMultiplierExact(m,k) = 0.9900 at all 300 settings (non-circular)Pass
Combinatorial form equals the telescoping product (max deviation 2.220e-16)Pass
k = 1 outcome space sums to 1.0 exactly at every mine countPass
Counting anchor: an exhaustive k-subset tally equals C(25, k) and C(25−m, k) as integers on all 115 enumerated (m, k) casesPass
LIQD’s published 99% holds at all 300 settings under the RTP claim rule (worst gap 0.000000 pp)Pass
Exact multiplier strictly increasing in depth and mine count (552 / 552 adjacent pairs)Pass
Every win booked at floor2(stake × exact), zero tolerance (2,691 / 2,691); losses pay exactly 0 (3,883 / 3,883)Pass
Every wallet field at floor8(wallet stake × floor8(exact)) (2,691 / 2,691) — 99.0000% at every settingPass
Display field = floor2(exact), never above the exact value — 0 exceptionsPass
Simulated RTP 98.9427% across 24M rounds — 1.66 standard errors below 99.0000%Pass
0 / 24 configs reject first-draw uniformity at Bonferroni α/24Pass
0 / 23 configs reject the pairwise-joint fit at Bonferroni (m ≥ 2)Pass
0 serial independence failures at Bonferroni (lag-1 + runs test)Pass
Served-config test: 0 / 36 epochs flagged; pooled early-window z = +0.088 (gate −3.09)Pass
First-draw diagnostic: 4 flags vs 1.710 expected (P = 0.0899); null replayed from the recorded master seedPass
Phase C (10.00) layouts match the 0.10 derivation and settle by the same rules; bet amount absent from the RNG inputPass
4.13Reproduction InstructionsRun locally

Clone the release, install, and run the verification and the two replays:

reproduce-s4.sh · 6 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-mines.gitcd liqd-mines && git checkout v1.2.0npm cinpm run verify            # Steps 8, 10, 13, 15–18, 22, 23 and the RTP claim rulenpm run deep-replay       # the 24M Pass 1 rounds, stand-alonenpm run bootstrap-replay  # independent Python rebuild of the Pass 2 null (Python 3.9+)
S4-related steps:

  [PASS] Step 8 — Payout Math + Win-Condition (wins: winningAmount == floor2(betAmount × EXACT multiplier), the booked fiat amount; losses: 0; label ⇔ mine opened)
  [PASS] Step 10 — House Edge / RTP Audit (closed-form identity, per-config, anti-circular)
  [PASS] Step 13 — Anti-Circularity (Combinatorial Win Probability)
  [PASS] Step 15 — Multi-Reveal Verification (phases A and D, every round)
  [PASS] Step 16 — Simulation — Pass 1 (First-Draw · Joint · Serial, FWER)
  [PASS] Step 17 — Simulation — Pass 2 Cherry-Pick Test
  [PASS] Step 18 — Bet-Size Invariance (phase C at the elevated stake)
  [PASS] Step 22 — Production Raw-Capture Binding (wallet field, reveals, LIQD verifier)
  [PASS] Step 23 — Balance Reconciliation (12 November balance check: the wallet field reaches the balance)

  rtp-claim: ENFORCED — PASS
  rtp-claim:   claim flat 99.000000% — source: …
  rtp-claim:   band ±0.10 pp · 300 settings · true min 99.000000% (mines=1 k=1) · true max 99.000000% (mines=1 k=1)
  rtp-claim:   house side beyond band: 0 · player-favourable beyond band: 0 · worst mines=1 k=1 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 cfd654a112dec681… matches the pin

Mean simulated RTP in the committed artifact: 0.9894271044 (theoretical 0.99 exactly). npm run simulate runs a new experiment into outputs/run/ under a fresh recorded master seed (SIM_MASTER_SEED repeats one; SIM_REPLAY=1 regenerates the committed experiment); a single uncorrected trip on a new run is within the screens’ combined false-alarm rate, their nominal levels summing to 6.97%. The verdict is scored against the committed artifacts by npm run verify, which replays all 24M Pass 1 rounds from their saved seeds. The chart on this page plots the committed artifact’s pooled single-reveal convergence.
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 31 integrity tests across 11 categories, 30 of them run there. 27 passed, and four were remediated and re-tested; the main one, wins paid slightly under the formula on the original build (Medium), is fixed. No test changed, replayed or injected an outcome.

Fairness Integrity Testing

27pass4remediated

What we verified

  • Parallel bets: can bets sent at the same moment, a cash-out racing a tile reveal, or a seed change during a game change an outcome?
  • Replays: can a nonce be forced, skipped or reused, a finished bet replayed, or a tile revealed with no game in play?
  • Seeds: can unusual client seeds or server seed fields be overridden?
  • Other players: can anyone act on another player’s account or session?
  • Payouts: can a multiplier or payout be injected, and is every win paid from the exact multiplier?
  • Limits: can invalid mine counts, 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 mine layout cannot be changed or replayed
  • Each bet gets its own nonce from the server, under a seed committed in advance
  • Your games are tied to your session: no other account can act on them
  • Every issue found was remediated and re-tested, and every win in our live run was paid from the exact multiplier
27pass4remediated
  • Parallel bets: can bets sent at the same moment, a cash-out racing a tile reveal, or a seed change during a game change an outcome?
  • Replays: can a nonce be forced, skipped or reused, a finished bet replayed, or a tile revealed with no game in play?
  • Seeds: can unusual client seeds or server seed fields be overridden?
  • Other players: can anyone act on another player’s account or session?
  • Payouts: can a multiplier or payout be injected, and is every win paid from the exact multiplier?
  • Limits: can invalid mine counts, stakes or currencies get through?
4 / 4Race Conditions
4 / 4Input Validation
3 / 3Atomic Balance / Idempotency
2 / 2Broken Authorization
3 / 3Max-win Bypass
4 / 4Nonce Manipulation
3 / 3RNG / PF Verification
1 / 1Entropy / PF Verification
2 / 2Precision / Payout
2 / 2Event Replay
3 / 3Adversarial Seeds

Category Coverage

Race Conditions4/4
Input Validation4/4
Atomic Balance / Idempotency3/3
Broken Authorization2/2
Max-win Bypass3/3
Nonce Manipulation4/4
RNG / PF Verification3/3
Entropy / PF Verification1/1
Precision / Payout2/2
Event Replay2/2
Adversarial Seeds3/3
CheckResultEvidence
Nonce integrityPassThe server assigns every nonce: forced, skipped, reused or oversized nonces are ignored, and the count rises by one per bet
Seed integrityPassA seed change during a live game revealed only the previous seed or was blocked, and no seed was reused
Outcome determinismPassMine positions from the revealed seed match the tiles played, in order, through LIQD’s verifier
Round & player isolationPassAnother account’s identifier can’t move a bet off your account, logged-out sessions are rejected, and only one game runs at a time
Payout integrityPassInjected payouts and outcomes are ignored, and a cash-out racing a reveal never paid out while revealing
Payout precisionRemediatedThe original build paid wins from a multiplier rounded down to 2 decimals (Medium); LIQD now pays from the exact multiplier, confirmed on all 2,691 live wins
Parameter limits & recoveryRemediatedRanges held; wrong-type values were converted instead of refused, and forced disconnects drew server errors with no stake lost (Low): remediated and re-tested
Nonce integrityPass
The server assigns every nonce: forced, skipped, reused or oversized nonces are ignored, and the count rises by one per bet
Seed integrityPass
A seed change during a live game revealed only the previous seed or was blocked, and no seed was reused
Outcome determinismPass
Mine positions from the revealed seed match the tiles played, in order, through LIQD’s verifier
Round & player isolationPass
Another account’s identifier can’t move a bet off your account, logged-out sessions are rejected, and only one game runs at a time
Payout integrityPass
Injected payouts and outcomes are ignored, and a cash-out racing a reveal never paid out while revealing
Payout precisionRemediated
The original build paid wins from a multiplier rounded down to 2 decimals (Medium); LIQD now pays from the exact multiplier, confirmed on all 2,691 live wins
Parameter limits & recoveryRemediated
Ranges held; wrong-type values were converted instead of refused, and forced disconnects drew server errors with no stake lost (Low): remediated and re-tested
✓  31 of 31 Pass or Remediated

31 integrity tests reported: 27 pass and 4 remediated (payout precision, Medium, now paid from the exact multiplier; input hygiene and recovery after forced disconnects, both Low), all 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 game 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. This section covers 31 tests across 11 categories: 30 run against LIQD’s running service on its pre-launch environment (qa.liqd.com), and the payout-precision check that the RTP derivation raised (Section 4.3). 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 Conditions4Parallel bets, reveals and cash-outs racing each other or a seed rotation
Input Validation4Malformed, wrong-type or out-of-range mine counts, stakes 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 Bypass3Client-supplied outcome, payout or mine-count fields, and stake limits
Nonce Manipulation4Reused, skipped, zero, negative or oversized nonces supplied by the client
RNG / PF Verification3Provably fair fields, the nonce sequence, and mine positions against LIQD’s verifier
Entropy / PF Verification1Server-seed rotation behaviour: fresh seeds, a new commitment and the nonce reset
Precision / Payout2Settlement arithmetic at scale, and every credit against the exact closed-form multiplier
Event Replay2Duplicate bets, and tile reveals sent with no game in play
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: four Remediated tests — payout precision, graded Medium (raised by the RTP derivation: wins credited with the multiplier floored to two decimals, now credited at full precision), and three graded Low: wrong-type mine-count and stake values converted inside the valid ranges, fixed by LIQD, and server errors from the recovery path under aggressive disconnects, cleared on a broader re-test. All four are 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 layout cannot be reproduced from disclosed inputsHard fail
A credited payout deviates from the closed-form multiplierHard 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 on the audited build: the payout-precision deviation belonged to the original build, and every win in the production capture is settled from the exact multiplier. No test altered, replayed or injected an outcome, and no finding touched the provably fair layer.

31 tests · 27 pass · 4 remediated

Race Conditions4/4
LIQD-MINES-EXTRA-001Pass

Seed rotation racing a live game

Control assessed
No seed is revealed while a game is in play, and no seed ID is reused.
Testing approach
Seventy attempts to rotate the seed during an active game.
Observed result
Across all 70 attempts, a rotation during an active game was either blocked or revealed only the previous seed — never the one in play — and no seed ID was reused.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-RACE-001Pass

Parallel bets over-committing funds

Control assessed
Only one bet is accepted when the balance covers one, so funds cannot be over-committed.
Testing approach
Five attempts, each sending two bets at once against a balance that covers one.
Observed result
In every attempt exactly one of the two bets was accepted: the single-active-game guard held.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-RACE-002Pass

Parallel bets and parallel reveals

Control assessed
One bet is accepted at a time, and one reveal is processed at a time.
Testing approach
Ten bets sent at once, then parallel reveals of the same tile.
Observed result
Only 1 of the 10 bets was accepted, and only one reveal was processed: both guards held.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-RACE-003Pass

Cash-out racing a tile reveal

Control assessed
A cash-out cannot collect a payout while another tile is revealed at the same moment.
Testing approach
Twenty attempts firing a cash-out together with a further reveal; 13 reached a state where the race could occur.
Observed result
In none of the 13 raceable attempts did a cash-out collect a payout while also revealing another gem.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Input Validation4/4
LIQD-MINES-PARAM-001LowRemediated

Mine count: input types

Control assessed
Out-of-range values and wrong-type values for the mine count are both refused.
Testing approach
Mine counts in range, out of range and of the wrong type.
Observed result
Every out-of-range mine count was rejected, and no converted value could fall outside the 1–24 range, but a few wrong-type values were converted into valid in-range counts instead of being refused. After LIQD’s fix, wrong-type values are rejected and the 1–24 range remains enforced.
Impact
Low · input hygiene: no invalid mine count was ever accepted. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-PARAM-002LowRemediated

Stake types and non-finite values

Control assessed
Wrong-type and non-finite stakes are refused, and no negative or over-balance amount is accepted.
Testing approach
Stakes of the wrong type, below the currency’s precision and non-finite, alongside the explicit zero-stake free-play value.
Observed result
No negative or over-balance amount was ever accepted, but wrong-type stakes were converted to their numeric value and sub-precision or non-finite values were recorded as a zero stake. After LIQD’s fix, zero is accepted only as explicit free play, and wrong-type, sub-precision and non-finite stakes are rejected.
Impact
Low · input hygiene, with no effect on funds. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-PARAM-003Pass

Maximum mines, verified

Control assessed
Twenty-five mines are refused and twenty-four accepted, and the game verifies at the maximum.
Testing approach
A 25-mine and a 24-mine bet; the 24-mine game verified after the reveal.
Observed result
Twenty-five mines (every tile) were rejected and twenty-four accepted; verification succeeded at the maximum mine count.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-TOKEN-001Pass

Currency identifier manipulation

Control assessed
Invalid currency identifiers are refused, and any default currency is the account’s own.
Testing approach
Bets carrying malformed and foreign currency identifiers, and one with none.
Observed result
A missing identifier and every invalid value were rejected; empty and null values resolve to the account’s own currency, echoed in the reply. No cross-currency path exists.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Atomic Balance / Idempotency3/3
LIQD-MINES-IDEMP-003LowRemediated

Server errors under aggressive disconnects

Control assessed
Aggressive client disconnects recover cleanly, with no server error and no orphaned debit.
Testing approach
Bets abandoned by the client at a range of very early moments, then a recovery bet.
Observed result
Every bet still succeeded and no orphaned debit was found, but a few disconnect timings drew a server error from the recovery path. On a broader re-test with revised timing variants, no server error appeared, no orphaned debit was found, and every variant recovered cleanly.
Impact
Low · robustness — no orphaned debit at any point. Remediated: recovery was clean on the re-test.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-IDEMP-001Pass

Retry after a client timeout

Control assessed
Retrying after a client timeout does not debit twice.
Testing approach
A bet sent with a very short client timeout, the game recovered, then a retry.
Observed result
The timed-out bet had been processed server-side; the game was recovered and the retry succeeded with no double debit.
Impact
None — no double debit.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-IDEMP-002Pass

Orphaned-debit check

Control assessed
Every debit has a matching game result.
Testing approach
Twenty consecutive games reconciled against their charges.
Observed result
All 20 were charged correctly, and every debit had a matching game result.
Impact
None — no orphaned debit.
Limitations
None specific to this test; the general scope is in 5.5.
Broken Authorization2/2
LIQD-MINES-AUTH-001Pass

Another player’s identifier in the request

Control assessed
Every bet is attributed to the caller’s own session; another player’s balance is never touched.
Testing approach
Bets sent with fake identifiers and with a second account’s real identifier; the second account’s balance compared before and after.
Observed result
All 6 bets were attributed to the caller’s own session, and the second account’s balance was identical before and after: the game session is bound to the login, not to a field in the request.
Impact
None — account isolation held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-AUTH-003Pass

Session reuse after logout

Control assessed
A session ends at logout: its cookie cannot place another bet.
Testing approach
A bet attempted with a session cookie after logout.
Observed result
The logged-out session was rejected; no bet was placed and no balance changed.
Impact
None — the session was invalidated server-side.
Limitations
None specific to this test; the general scope is in 5.5.
Max-win Bypass3/3
LIQD-MINES-INJECT-001Pass

Extra fields in the bet request

Control assessed
Unknown fields in a bet request cannot change the game.
Testing approach
Bets carrying injected mine-count, payout and result fields.
Observed result
The server ignored the unknown fields and used its own game state.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-MAXWIN-001Pass

Stake boundary enforcement

Control assessed
Strictly invalid stakes are refused.
Testing approach
Negative, non-numeric and over-balance stakes.
Observed result
Every strictly invalid stake was rejected. Sub-precision handling is covered by PARAM-002.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-MAXWIN-002Pass

Outcome fields injected

Control assessed
The server ignores client-supplied outcome values and computes its own.
Testing approach
Bets carrying an injected nonce, payout amount and multiplier.
Observed result
All three were ignored; the server computed its own values.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Nonce Manipulation4/4
LIQD-MINES-NONCE-001Pass

Reused nonce

Control assessed
The client cannot choose the nonce: an injected value is ignored, and the server assigns its own.
Testing approach
A bet carrying an already-used nonce.
Observed result
The injected nonce was ignored; the server assigned the next one in sequence.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-NONCE-002Pass

Skipped-ahead nonce

Control assessed
An injected nonce cannot move the server’s sequence.
Testing approach
A bet carrying a nonce ten ahead of the current one.
Observed result
The injected nonce was ignored; the server assigned the next one, keeping the sequence contiguous.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-NONCE-003Pass

Zero and negative nonces

Control assessed
Implausible injected nonces are ignored.
Testing approach
Bets carrying zero and negative nonces.
Observed result
All three values were ignored; none was honoured.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-NONCE-004Pass

Overflow-sized nonces

Control assessed
Oversized injected nonces are ignored, with no crash, overflow or wrap-around.
Testing approach
Bets carrying nonces at integer-overflow scale.
Observed result
All three were ignored, with no crash, overflow or wrap-around.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
RNG / PF Verification3/3
LIQD-MINES-EXTRA-002Pass

Mine positions against LIQD’s verifier

Control assessed
Mine positions derived from the revealed seed match the tiles actually played, in order.
Testing approach
Five games at 20 mines, each a loss so that all 20 positions show; positions derived through LIQD’s verify endpoint and compared tile by tile.
Observed result
All five games matched exactly, in the same order, with no seed-hash mismatch.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-PF-001Pass

Provably-fair data and the reveal flow

Control assessed
Each bet carries every provably-fair field, and a revealed seed matches its earlier commitment.
Testing approach
Bets checked field by field, then the seed rotated and revealed.
Observed result
All fields were present and the nonce incremented by exactly one per bet; after rotation, the previous seed was revealed and hashed to its commitment.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-PF-002Pass

Nonce sequence within a seed period

Control assessed
The nonce advances by exactly one per bet under a single commitment.
Testing approach
Ten consecutive bets on one server seed.
Observed result
The nonce advanced from 0 to 10, one step per bet, under one commitment, with no unintended rotation.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Entropy / PF Verification1/1
LIQD-MINES-ENTROPY-004Pass

Nonce reset after seed rotation

Control assessed
Rotating the seed commits a fresh server seed and restarts the nonce at 0.
Testing approach
Bets, a rotation, then further bets.
Observed result
The nonce reset to 0, and a distinct new seed hash was committed.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Precision / Payout2/2
LIQD-MINES-PREC-002MediumRemediated

Payout precision against the exact multiplier

Control assessed
Every win is settled from the exact closed-form multiplier, not a multiplier cut to two decimals.
Testing approach
Raised by the RTP derivation (Section 4.3): each win’s payout compared with the exact closed-form multiplier, then re-checked on every win of the production capture.
Observed result
The original build credited the multiplier floored to two decimals, so wins paid slightly under the formula wherever the exact multiplier has more than two decimals: 98.78% average return over the 24 single-reveal settings (98.28%–99.00% per setting) against the advertised 99%. LIQD moved to full-precision settlement; on the production capture all 2,691 winning bets are settled from the exact multiplier — the USDT wallet field uses it at 8 decimals, and all 109 wins at the 10.00 stake book 11.25 where a 2-decimal multiplier would give 11.20.
Impact
Medium · payout accuracy — before the fix, wins paid slightly less than the advertised return. Fixed by LIQD and re-verified.
Limitations
Raised by the RTP derivation rather than a test on LIQD’s running service; its full working is published in Section 4.3.
LIQD-MINES-PREC-001Pass

Settlement precision at scale

Control assessed
Every payout matches the balance change, with no settlement mismatch.
Testing approach
Two hundred consecutive one-mine games; each payout compared with the balance change.
Observed result
Every payout matched the balance change across all 200 games; the 94.5% win rate fits one mine (a first-tile gem 24 times in 25).
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Event Replay2/2
LIQD-MINES-REPLAY-001Pass

Duplicate bet sent twice at once

Control assessed
Of two identical bets sent at once, one is accepted and one refused, with no ID or nonce collision.
Testing approach
A pair of identical bet requests sent in parallel.
Observed result
Exactly one was accepted and one rejected, with no bet-ID or nonce collision.
Impact
None — the single-active-game guard held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-REPLAY-002Pass

Tile reveal with no active game

Control assessed
A tile cannot be revealed without an active game.
Testing approach
Reveal requests sent with no game in play.
Observed result
All three were rejected.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Adversarial Seeds3/3
LIQD-MINES-SEED-001Pass

Client-seed length and character sets

Control assessed
A consistent length limit is enforced, and every character set is stored as literal text.
Testing approach
Client seeds of increasing length and across Unicode classes, each followed by a bet.
Observed result
A consistent 255-character limit applies, and every Unicode class was accepted and stored literally. One length at the limit drew a generic server error rather than a clean rejection.
Impact
None on the game; the generic error is an input-hygiene note.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-SEED-002Pass

Unicode forms of one seed

Control assessed
Composed and decomposed Unicode forms of the same seed are handled consistently.
Testing approach
The same visible seed submitted in both forms.
Observed result
Both forms were accepted and stored byte for byte, without normalisation, so they hash differently — a valid, consistent design.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-MINES-SEED-003Pass

Rapid seed rotation

Control assessed
Each bet uses the seed set by the rotation immediately before it.
Testing approach
Three back-to-back rotations, each followed by a bet.
Observed result
Every bet’s echoed seed matched the one set just before it.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Technical Evidence & Verification4 sections
5.3Coverage Summary11 categories

Coverage by category — 31 tests: 27 pass, 4 remediated.

3 columns
CategoryTestsResult
Race Conditions4All pass
Input Validation42 pass · 2 remediated (PARAM-001, PARAM-002)
Atomic Balance / Idempotency32 pass · 1 remediated (IDEMP-003)
Broken Authorization2All pass
Max-win Bypass3All pass
Nonce Manipulation4All pass
RNG / PF Verification3All pass
Entropy / PF Verification1All pass
Precision / Payout21 pass · 1 remediated (PREC-002)
Event Replay2All pass
Adversarial Seeds3All pass
Method: Every test except the payout-precision check ran against LIQD’s running service on its pre-launch environment; that check came from the RTP derivation and was re-verified on the production capture; remediations were re-tested on LIQD’s current build. Sections 1–4 verify the captured 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 & Remediation3 records

3 findings from 4 tests, all three remediated and re-verified. Each test’s card in the matrix above gives its control, approach, result, impact and limitations.

3 columns
TestsFindingStatus
PREC-002The original build credited wins with the multiplier floored to two decimals, returning 98.78% against the advertised 99%. LIQD moved to full precision; fixed and re-verified.Remediated · Medium
PARAM-001 · PARAM-002Wrong-type mine-count and stake values were converted instead of refused, inside the valid ranges. Fixed by LIQD and re-verified.Remediated · Low
IDEMP-003Some aggressive client disconnects drew a server error from the recovery path, with no orphaned debit. Remediated: recovery was clean on a broader re-test.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 input and recovery remediations were re-tested on LIQD’s current build, and the payout-precision fix on the production capture.
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 live 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. The payout-precision check is the exception: its working is in Section 4.3 and reproduces from the repository.

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 .............. 31Categories ............................ 11Pass .................................. 27Remediated ............................ 4Findings reported ..................... 3 · 3 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 Mines 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 mine layout matches the game, 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 Mines 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 recomputed mines match the game, the bet was provably fair
  • Most players can verify in LIQD’s Provably Fair panel, and LIQD’s verifier checks a published round without a login

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
  • Mine Count — the configuration you played (1–24)
4 Stepsto verify any bet
  • Every Mines 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 recomputed mines match the game, the bet was provably fair
  • Most players can verify in LIQD’s Provably Fair panel, and LIQD’s verifier checks a published round without a login
From Bet to Independent Verification — 4-step flow — illustrated flow
Server SeedRevealed after rotation
Client SeedPlayer-controlled input
NonceRecorded bet sequence
Mine Count1–24, as played
  1. 1

    Save the Commitment Before You Bet

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed for the pair and your bet count. Save the hashed server seed before your first bet with the pair: the seed revealed later must match it, and the round view doesn’t list it.

  2. 2

    Place and Finish the Bet

    Choose your mine count (1–24) on the 25-tile grid, then place the bet and play it out. The full layout is fixed by the seeds before any tile flips: which tiles you open and when you cash out never move the mines.

  3. 3

    Rotate the Seed and Check the Hash

    Rotating reveals the server seed, shown under the round in My Bets. Check it first: its SHA-256 hash must equal the hash you saved in step 1. Across this audit’s 36 seed pairs, it always did.

  4. 4

    Recompute & Confirm

    In the panel’s Verify tab, choose Mines and enter the revealed server seed, your client seed, the bet’s nonce and the mine count you played, or use the ProvablyFair.org verifier. If the hash check in step 3 passed and the recomputed mines sit exactly where your board showed them (tiles are numbered 1–25 across the rows from the top left), the bet was provably fair. The scripts under Manual Verification also check both payout amounts.

Visual Walkthroughstep-by-step
6.1Step 1: Save the Commitment Before You Bet

Open the Provably Fair panel. It has two tabs, Seeds and Verify. The Seeds tab holds your active pair and its commitment, the Active Server Seed (Hashed), with the pre-committed next pair below it. Save the Active Server Seed (Hashed) before your first bet with the pair: it is the value the revealed seed must hash to, and after the rotation the round view lists only the client seed, server seed, nonce and mines.

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, set through the Next Client Seed field before you rotate.

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

Next Server Seed — labelled as a seed, but it holds the next epoch’s hash: the pre-commitment for the pair that follows.

The Seeds tab — Active Server Seed (Hashed) 62a07d03…9954a5c8, with the next server seed’s hash already published. Captured after the pair’s 2 bets; the commitment is the same from the pair’s first bet.

The Seeds tab — Active Server Seed (Hashed) 62a07d03…9954a5c8, with the next server seed’s hash already published. Captured after the pair’s 2 bets; the commitment is the same from the pair’s first bet.

6.2Step 2: Place and Finish the Bet

Pick a mine count on the 5×5 grid and place a bet. The platform computes the entire layout from (serverSeed, clientSeed, nonce) and the mine count before any tile is revealed — the round below runs at 6 mines, with two tiles opened before the cash-out.

LIQD Mines on liqd.com — a round on 6 mines (the slider shows 19 gems and 6 mines): two gems opened, at row 3 column 3 and row 4 column 3, and cashed out at 1.73×, with the rest of the board revealed.

LIQD Mines on liqd.com — a round on 6 mines (the slider shows 19 gems and 6 mines): two gems opened, at row 3 column 3 and row 4 column 3, and cashed out at 1.73×, with the rest of the board revealed.

6.3Step 3: Rotate the Seed and Check the Hash

Rotation ends the epoch: the outgoing server seed is revealed, and the pre-committed next pair becomes the active one — the Seeds tab then shows the next client seed and next server-seed hash from before the rotation as the active pair, with zero bets made. That pre-commitment is the chain the audit’s Step 2 checks across all 33 links of the production capture, plus each capture run’s pre-capture link. Open the round under My Bets: its Provably Fair section shows the revealed server seed beside the client seed, nonce and mine count. Check that the seed’s SHA-256 equals the hash you saved in step 1: for the round in step 2, the revealed seed 87fa8ed51f12a86318a7f725e07894fd hashes to 62a07d03…9954a5c8. Then enter the round’s four values in the panel’s Verify tab.

The Verify tab filled in for that round — Mines, client seed audit08ae3af4e63a, the revealed server seed 87fa8ed5…07894fd, nonce 1 and 6 mines. The seed hashes to 62a07d03…9954a5c8, the commitment saved in step 1.

The Verify tab filled in for that round — Mines, client seed audit08ae3af4e63a, the revealed server seed 87fa8ed5…07894fd, nonce 1 and 6 mines. The seed hashes to 62a07d03…9954a5c8, the commitment saved in step 1.

6.4Step 4: Recompute & Confirm

In the Verify tab, choose Mines and enter the four values the round’s Provably Fair section lists: the revealed server seed, your client seed, the round’s nonce and the mine count you played. For the round in step 2: client seed audit08ae3af4e63a, server seed 87fa8ed51f12a86318a7f725e07894fd, nonce 1 — the pair’s second bet — and 6 mines. Press Verify. The tab recomputes the full 25-tile layout, so you can check that every tile you opened — and the mine that ended the round, if you hit one — sits exactly where the recomputed layout says. Tiles are numbered 1–25 across the rows from the top-left. The round computes to the 6 mines [10, 11, 2, 9, 3, 5], in draw order: tiles 2, 3, 5, 9, 10 and 11 — the board in step 2, with both opened tiles, 13 and 18, safe. Two safe tiles on 6 mines pay 1.73×, the exact multiplier 1.736842… cut to two decimals for display. The scripts under Manual Verification reproduce all of it.

The result: the board recomputed from those four values — mines at tiles 2, 3, 5, 9, 10 and 11, every other tile a gem, and the two tiles opened in step 2, 13 and 18, outlined. It matches the board the round showed.

The result: the board recomputed from those four values — mines at tiles 2, 3, 5, 9, 10 and 11, every other tile a gem, and the two tiles opened in step 2, 13 and 18, outlined. It matches the board the round showed.

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)

Five pieces, in the order they come into play:

  • 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 — each shuffle position asks HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:cursor) for one uniform number, discarding the biased tail of the 32-bit space first.
  • Shuffle — tiles 1…25 are swapped one position at a time (cursor 0…24); when the shuffle finishes, the first mineCount tiles are the mines, in the order they were drawn.
  • Board — tile t sits at row ⌈t / 5⌉, column ((t − 1) mod 5) + 1: numbered across the rows from the top-left.
  • Pay — cashing out after k safe tiles pays stake × 0.99 × Π (25−i)/(25−m−i) in USDT: the wallet stake × the multiplier cut to 8 decimals, itself cut to 8 decimals; LIQD books the win in your display currency cut to the cent, and the panel displays the multiplier cut to 2 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.

6.7Casino Verifier vs ProvablyFair.org Verifier5 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 captureDirectly — queried for all 6,574 rounds, it names the recomputed mines and each round’s opened tiles (Step 22); LIQD’s own validation vectors also agree with our implementation (3 / 3)Directly — its Mines module, pinned by hash, reproduces 6,574 / 6,574 captured layouts in draw order (Step 5)
Login neededNo — it answers a published round from a browser on liqd.com with no session (read 11 November 2026, E23)No
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; for a round booked in CAD, pass its USDT wallet stake as the last argument. Run on every captured round, it reproduces all 6,574 layouts and both settlement amounts of all 2,691 wins:

verify-mines.js · Standalone Node.js
// verify-mines.js — standalone LIQD Mines verifier (Node.js, no dependencies)// Usage: node verify-mines.js <serverSeed> <clientSeed> <nonce> <mineCount> [tilesOpened] [stake] [walletStake]const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, minesArg, tilesArg, stakeArg, walletArg] = argv.length  ? argv  : ['e74ccb9f5ee4495a0e0dc35a0373e3e3', 'pfaudit-prod-mines-d4-7db3c7d5315c', '87', '3', '8', '0.10'];const nonce = Number(nonceArg), mineCount = Number(minesArg);const k = Number(tilesArg ?? '1'), stake = stakeArg ?? '0.10';const walletStake = walletArg ?? stake;   // the USDT stake — the stake itself on a round booked in USD // 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 uniform draw per shuffle position — HMAC keyed on the DECODED bytesfunction draw(cursor, range) {  const digest = createHmac('sha256', Buffer.from(serverSeed, 'hex'))    .update(`${clientSeed}:${nonce}:${cursor}`).digest();  const maxFair = Math.floor(0x1_0000_0000 / range) * range;  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % range;  }  throw new Error('all eight chunks rejected (not specified; below 1e-66 per draw)');} // 3) Sequential Fisher-Yates over tiles 1..25 — the first mineCount tiles are the mines, in draw order.//    Tile t sits at row ceil(t / 5), column ((t − 1) % 5) + 1, counting across the rows from the top-left.const tiles = Array.from({ length: 25 }, (_, i) => i + 1);for (let c = 0; c < 25; c++) {  const j = c + draw(c, 25 - c);  [tiles[c], tiles[j]] = [tiles[j], tiles[c]];}const mines = tiles.slice(0, mineCount);console.log('mines      =', JSON.stringify(mines)); // 4) Cash-out after k safe tiles: exact = 0.99 × Π (25−i)/(25−m−i), kept as an exact fraction (BigInt)let num = 99n, den = 100n;for (let i = 0; i < k; i++) { num *= BigInt(25 - i); den *= BigInt(25 - mineCount - i); }const units = (s) => { const [w, f = ''] = s.split('.'); return BigInt(w + f.padEnd(8, '0').slice(0, 8)); };  // 1e-8 unitsconst booked = (units(stake) * num) / den / 1_000_000n;     // floor2(stake × exact), in centsconst mult8 = (100_000_000n * num) / den;                    // floor8(exact)const wallet = (units(walletStake) * mult8) / 100_000_000n;  // floor8(walletStake × floor8(exact))const display = (100n * num) / den;                          // floor2(exact), in centsconst fmt = (u, d) => `${u / 10n ** BigInt(d)}.${String(u % 10n ** BigInt(d)).padStart(d, '0')}`;console.log('display    =', `${fmt(display, 2)}×`, '| booked =', fmt(booked, 2), '| wallet =', fmt(wallet, 8));// Expected for the defaults (bet jpXQbNX_SfiZoj7AaxWXU, epoch 28 nonce 87, 3 mines, 8 tiles, 0.10 USD)://   commitment = 338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02//   mines      = [18,8,25]//   display    = 3.34× | booked = 0.33 | wallet = 0.33485294
6.9Python Verification Script

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

verify-mines.py · Standalone Python
# verify-mines.py — standalone LIQD Mines verifier (Python 3, stdlib only)# Usage: python3 verify-mines.py <serverSeed> <clientSeed> <nonce> <mineCount> [tilesOpened] [stake] [walletStake]import hashlib, hmac, struct, sysfrom fractions import Fraction args = sys.argv[1:] or ['e74ccb9f5ee4495a0e0dc35a0373e3e3', 'pfaudit-prod-mines-d4-7db3c7d5315c', '87', '3', '8', '0.10']server_seed, client_seed, nonce, mine_count = args[0], args[1], int(args[2]), int(args[3])k = int(args[4]) if len(args) > 4 else 1stake = Fraction(args[5] if len(args) > 5 else '0.10')wallet_stake = Fraction(args[6]) if len(args) > 6 else stake   # the USDT stake — the stake itself on a USD round # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) Bias-free uniform draw — HMAC-SHA256 keyed on the 16 decoded bytesdef draw(cursor, rng):    digest = hmac.new(bytes.fromhex(server_seed),                      f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest()    max_fair = (2**32 // rng) * rng    for chunk in struct.unpack('>8I', digest):        if chunk < max_fair:            return chunk % rng    raise ValueError('all eight chunks rejected (not specified; below 1e-66 per draw)') # 3) Sequential Fisher-Yates over tiles 1..25 — draw order preservedtiles = list(range(1, 26))for c in range(25):    j = c + draw(c, 25 - c)    tiles[c], tiles[j] = tiles[j], tiles[c]mines = tiles[:mine_count]print('mines      =', mines) # 4) Cash-out after k safe tiles — exact rational multiplier; booked cut to the cent, wallet field to 8 dpexact = Fraction(99, 100)for i in range(k):    exact *= Fraction(25 - i, 25 - mine_count - i)booked = Fraction(int(stake * exact * 100), 100)mult8 = Fraction(int(exact * 10**8), 10**8)wallet = Fraction(int(wallet_stake * mult8 * 10**8), 10**8)display = Fraction(int(exact * 100), 100)print('display    = %.2fx | booked = %.2f | wallet = %.8f' % (display, booked, wallet))# Expected for the defaults (bet jpXQbNX_SfiZoj7AaxWXU, epoch 28 nonce 87, 3 mines, 8 tiles, 0.10 USD):#   commitment = 338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02#   mines      = [18, 8, 25]#   display    = 3.34x | booked = 0.33 | wallet = 0.33485294
6.10Evidence Records4 records

The evidence is the data and the code: the scored dataset, the three raw production captures and the balance check (S7) carry every round, and these four records carry what was read from LIQD outside the capture. The walkthrough’s screenshots are live-session captures from liqd.com that illustrate the player path; they are not rounds from the audited dataset.

2 columns
FileShows
liqd-verifier-no-login-2026-11-11.jsonE23 — LIQD’s verifier queried on 11 November 2026 with a published round’s inputs, with the session and with credentials omitted: both replies name the round’s mines and opened tiles, while a control request without a session is refused
liqd-account-history-cad-run-2026-11-11.jsonE24 — LIQD’s account bet history for the 8–9 November run, read from the capture account on 11 November 2026: 5,000 Mines rows with exactly the captured bet ids, each charged in USDT, every payout equal to the reply’s wallet field (1,979 of 1,979)
liqd-account-history-usd-runs-2026-11-11.jsonE25 — the same for the 10 November runs: 1,574 rows, every payout equal to the reply’s wallet field (712 of 712), including 2.47500000 on each of the 3 rounds LIQD settled by itself
rtp-page-labels-2026-10-01.jsonE14 — the RTP and house-edge figures on LIQD’s Mines 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

    Save the Commitment Before You Bet

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed for the pair and your bet count. Save the hashed server seed before your first bet with the pair: the seed revealed later must match it, and the round view doesn’t list it.

  2. 2

    Place and Finish the Bet

    Choose your mine count (1–24) on the 25-tile grid, then place the bet and play it out. The full layout is fixed by the seeds before any tile flips: which tiles you open and when you cash out never move the mines.

  3. 3

    Rotate the Seed and Check the Hash

    Rotating reveals the server seed, shown under the round in My Bets. Check it first: its SHA-256 hash must equal the hash you saved in step 1. Across this audit’s 36 seed pairs, it always did.

  4. 4

    Recompute & Confirm

    In the panel’s Verify tab, choose Mines and enter the revealed server seed, your client seed, the bet’s nonce and the mine count you played, or use the ProvablyFair.org verifier. If the hash check in step 3 passed and the recomputed mines sit exactly where your board showed them (tiles are numbered 1–25 across the rows from the top left), the bet was provably fair. The scripts under Manual Verification also check both payout amounts.

Visual Walkthroughstep-by-step
6.1Step 1: Save the Commitment Before You Bet

Open the Provably Fair panel. It has two tabs, Seeds and Verify. The Seeds tab holds your active pair and its commitment, the Active Server Seed (Hashed), with the pre-committed next pair below it. Save the Active Server Seed (Hashed) before your first bet with the pair: it is the value the revealed seed must hash to, and after the rotation the round view lists only the client seed, server seed, nonce and mines.

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, set through the Next Client Seed field before you rotate.

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

Next Server Seed — labelled as a seed, but it holds the next epoch’s hash: the pre-commitment for the pair that follows.

The Seeds tab — Active Server Seed (Hashed) 62a07d03…9954a5c8, with the next server seed’s hash already published. Captured after the pair’s 2 bets; the commitment is the same from the pair’s first bet.

The Seeds tab — Active Server Seed (Hashed) 62a07d03…9954a5c8, with the next server seed’s hash already published. Captured after the pair’s 2 bets; the commitment is the same from the pair’s first bet.

6.2Step 2: Place and Finish the Bet

Pick a mine count on the 5×5 grid and place a bet. The platform computes the entire layout from (serverSeed, clientSeed, nonce) and the mine count before any tile is revealed — the round below runs at 6 mines, with two tiles opened before the cash-out.

LIQD Mines on liqd.com — a round on 6 mines (the slider shows 19 gems and 6 mines): two gems opened, at row 3 column 3 and row 4 column 3, and cashed out at 1.73×, with the rest of the board revealed.

LIQD Mines on liqd.com — a round on 6 mines (the slider shows 19 gems and 6 mines): two gems opened, at row 3 column 3 and row 4 column 3, and cashed out at 1.73×, with the rest of the board revealed.

6.3Step 3: Rotate the Seed and Check the Hash

Rotation ends the epoch: the outgoing server seed is revealed, and the pre-committed next pair becomes the active one — the Seeds tab then shows the next client seed and next server-seed hash from before the rotation as the active pair, with zero bets made. That pre-commitment is the chain the audit’s Step 2 checks across all 33 links of the production capture, plus each capture run’s pre-capture link. Open the round under My Bets: its Provably Fair section shows the revealed server seed beside the client seed, nonce and mine count. Check that the seed’s SHA-256 equals the hash you saved in step 1: for the round in step 2, the revealed seed 87fa8ed51f12a86318a7f725e07894fd hashes to 62a07d03…9954a5c8. Then enter the round’s four values in the panel’s Verify tab.

The Verify tab filled in for that round — Mines, client seed audit08ae3af4e63a, the revealed server seed 87fa8ed5…07894fd, nonce 1 and 6 mines. The seed hashes to 62a07d03…9954a5c8, the commitment saved in step 1.

The Verify tab filled in for that round — Mines, client seed audit08ae3af4e63a, the revealed server seed 87fa8ed5…07894fd, nonce 1 and 6 mines. The seed hashes to 62a07d03…9954a5c8, the commitment saved in step 1.

6.4Step 4: Recompute & Confirm

In the Verify tab, choose Mines and enter the four values the round’s Provably Fair section lists: the revealed server seed, your client seed, the round’s nonce and the mine count you played. For the round in step 2: client seed audit08ae3af4e63a, server seed 87fa8ed51f12a86318a7f725e07894fd, nonce 1 — the pair’s second bet — and 6 mines. Press Verify. The tab recomputes the full 25-tile layout, so you can check that every tile you opened — and the mine that ended the round, if you hit one — sits exactly where the recomputed layout says. Tiles are numbered 1–25 across the rows from the top-left. The round computes to the 6 mines [10, 11, 2, 9, 3, 5], in draw order: tiles 2, 3, 5, 9, 10 and 11 — the board in step 2, with both opened tiles, 13 and 18, safe. Two safe tiles on 6 mines pay 1.73×, the exact multiplier 1.736842… cut to two decimals for display. The scripts under Manual Verification reproduce all of it.

The result: the board recomputed from those four values — mines at tiles 2, 3, 5, 9, 10 and 11, every other tile a gem, and the two tiles opened in step 2, 13 and 18, outlined. It matches the board the round showed.

The result: the board recomputed from those four values — mines at tiles 2, 3, 5, 9, 10 and 11, every other tile a gem, and the two tiles opened in step 2, 13 and 18, outlined. It matches the board the round showed.

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)

Five pieces, in the order they come into play:

  • 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 — each shuffle position asks HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:cursor) for one uniform number, discarding the biased tail of the 32-bit space first.
  • Shuffle — tiles 1…25 are swapped one position at a time (cursor 0…24); when the shuffle finishes, the first mineCount tiles are the mines, in the order they were drawn.
  • Board — tile t sits at row ⌈t / 5⌉, column ((t − 1) mod 5) + 1: numbered across the rows from the top-left.
  • Pay — cashing out after k safe tiles pays stake × 0.99 × Π (25−i)/(25−m−i) in USDT: the wallet stake × the multiplier cut to 8 decimals, itself cut to 8 decimals; LIQD books the win in your display currency cut to the cent, and the panel displays the multiplier cut to 2 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.

6.7Casino Verifier vs ProvablyFair.org Verifier5 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 captureDirectly — queried for all 6,574 rounds, it names the recomputed mines and each round’s opened tiles (Step 22); LIQD’s own validation vectors also agree with our implementation (3 / 3)Directly — its Mines module, pinned by hash, reproduces 6,574 / 6,574 captured layouts in draw order (Step 5)
Login neededNo — it answers a published round from a browser on liqd.com with no session (read 11 November 2026, E23)No
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; for a round booked in CAD, pass its USDT wallet stake as the last argument. Run on every captured round, it reproduces all 6,574 layouts and both settlement amounts of all 2,691 wins:

verify-mines.js · Standalone Node.js
// verify-mines.js — standalone LIQD Mines verifier (Node.js, no dependencies)// Usage: node verify-mines.js <serverSeed> <clientSeed> <nonce> <mineCount> [tilesOpened] [stake] [walletStake]const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, minesArg, tilesArg, stakeArg, walletArg] = argv.length  ? argv  : ['e74ccb9f5ee4495a0e0dc35a0373e3e3', 'pfaudit-prod-mines-d4-7db3c7d5315c', '87', '3', '8', '0.10'];const nonce = Number(nonceArg), mineCount = Number(minesArg);const k = Number(tilesArg ?? '1'), stake = stakeArg ?? '0.10';const walletStake = walletArg ?? stake;   // the USDT stake — the stake itself on a round booked in USD // 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 uniform draw per shuffle position — HMAC keyed on the DECODED bytesfunction draw(cursor, range) {  const digest = createHmac('sha256', Buffer.from(serverSeed, 'hex'))    .update(`${clientSeed}:${nonce}:${cursor}`).digest();  const maxFair = Math.floor(0x1_0000_0000 / range) * range;  for (let o = 0; o + 4 <= digest.length; o += 4) {    const chunk = digest.readUInt32BE(o);    if (chunk < maxFair) return chunk % range;  }  throw new Error('all eight chunks rejected (not specified; below 1e-66 per draw)');} // 3) Sequential Fisher-Yates over tiles 1..25 — the first mineCount tiles are the mines, in draw order.//    Tile t sits at row ceil(t / 5), column ((t − 1) % 5) + 1, counting across the rows from the top-left.const tiles = Array.from({ length: 25 }, (_, i) => i + 1);for (let c = 0; c < 25; c++) {  const j = c + draw(c, 25 - c);  [tiles[c], tiles[j]] = [tiles[j], tiles[c]];}const mines = tiles.slice(0, mineCount);console.log('mines      =', JSON.stringify(mines)); // 4) Cash-out after k safe tiles: exact = 0.99 × Π (25−i)/(25−m−i), kept as an exact fraction (BigInt)let num = 99n, den = 100n;for (let i = 0; i < k; i++) { num *= BigInt(25 - i); den *= BigInt(25 - mineCount - i); }const units = (s) => { const [w, f = ''] = s.split('.'); return BigInt(w + f.padEnd(8, '0').slice(0, 8)); };  // 1e-8 unitsconst booked = (units(stake) * num) / den / 1_000_000n;     // floor2(stake × exact), in centsconst mult8 = (100_000_000n * num) / den;                    // floor8(exact)const wallet = (units(walletStake) * mult8) / 100_000_000n;  // floor8(walletStake × floor8(exact))const display = (100n * num) / den;                          // floor2(exact), in centsconst fmt = (u, d) => `${u / 10n ** BigInt(d)}.${String(u % 10n ** BigInt(d)).padStart(d, '0')}`;console.log('display    =', `${fmt(display, 2)}×`, '| booked =', fmt(booked, 2), '| wallet =', fmt(wallet, 8));// Expected for the defaults (bet jpXQbNX_SfiZoj7AaxWXU, epoch 28 nonce 87, 3 mines, 8 tiles, 0.10 USD)://   commitment = 338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02//   mines      = [18,8,25]//   display    = 3.34× | booked = 0.33 | wallet = 0.33485294
6.9Python Verification Script

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

verify-mines.py · Standalone Python
# verify-mines.py — standalone LIQD Mines verifier (Python 3, stdlib only)# Usage: python3 verify-mines.py <serverSeed> <clientSeed> <nonce> <mineCount> [tilesOpened] [stake] [walletStake]import hashlib, hmac, struct, sysfrom fractions import Fraction args = sys.argv[1:] or ['e74ccb9f5ee4495a0e0dc35a0373e3e3', 'pfaudit-prod-mines-d4-7db3c7d5315c', '87', '3', '8', '0.10']server_seed, client_seed, nonce, mine_count = args[0], args[1], int(args[2]), int(args[3])k = int(args[4]) if len(args) > 4 else 1stake = Fraction(args[5] if len(args) > 5 else '0.10')wallet_stake = Fraction(args[6]) if len(args) > 6 else stake   # the USDT stake — the stake itself on a USD round # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) Bias-free uniform draw — HMAC-SHA256 keyed on the 16 decoded bytesdef draw(cursor, rng):    digest = hmac.new(bytes.fromhex(server_seed),                      f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest()    max_fair = (2**32 // rng) * rng    for chunk in struct.unpack('>8I', digest):        if chunk < max_fair:            return chunk % rng    raise ValueError('all eight chunks rejected (not specified; below 1e-66 per draw)') # 3) Sequential Fisher-Yates over tiles 1..25 — draw order preservedtiles = list(range(1, 26))for c in range(25):    j = c + draw(c, 25 - c)    tiles[c], tiles[j] = tiles[j], tiles[c]mines = tiles[:mine_count]print('mines      =', mines) # 4) Cash-out after k safe tiles — exact rational multiplier; booked cut to the cent, wallet field to 8 dpexact = Fraction(99, 100)for i in range(k):    exact *= Fraction(25 - i, 25 - mine_count - i)booked = Fraction(int(stake * exact * 100), 100)mult8 = Fraction(int(exact * 10**8), 10**8)wallet = Fraction(int(wallet_stake * mult8 * 10**8), 10**8)display = Fraction(int(exact * 100), 100)print('display    = %.2fx | booked = %.2f | wallet = %.8f' % (display, booked, wallet))# Expected for the defaults (bet jpXQbNX_SfiZoj7AaxWXU, epoch 28 nonce 87, 3 mines, 8 tiles, 0.10 USD):#   commitment = 338f011074b865e671f92039f6bf1835b4aac5a3c56fd3e7a0e7c99a9bbfbb02#   mines      = [18, 8, 25]#   display    = 3.34x | booked = 0.33 | wallet = 0.33485294
6.10Evidence Records4 records

The evidence is the data and the code: the scored dataset, the three raw production captures and the balance check (S7) carry every round, and these four records carry what was read from LIQD outside the capture. The walkthrough’s screenshots are live-session captures from liqd.com that illustrate the player path; they are not rounds from the audited dataset.

2 columns
FileShows
liqd-verifier-no-login-2026-11-11.jsonE23 — LIQD’s verifier queried on 11 November 2026 with a published round’s inputs, with the session and with credentials omitted: both replies name the round’s mines and opened tiles, while a control request without a session is refused
liqd-account-history-cad-run-2026-11-11.jsonE24 — LIQD’s account bet history for the 8–9 November run, read from the capture account on 11 November 2026: 5,000 Mines rows with exactly the captured bet ids, each charged in USDT, every payout equal to the reply’s wallet field (1,979 of 1,979)
liqd-account-history-usd-runs-2026-11-11.jsonE25 — the same for the 10 November runs: 1,574 rows, every payout equal to the reply’s wallet field (712 of 712), including 2.47500000 on each of the 3 rounds LIQD settled by itself
rtp-page-labels-2026-10-01.jsonE14 — the RTP and house-edge figures on LIQD’s Mines game page, read logged out on 1 October 2026 — the source of the RTP claim (S4.2)
✓  Any Player Can Reproduce Mines 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 round 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.2.0release audited

Repository Details

Prerequisites

  • Node.js 22.23.1 or a later 22.x: npm test needs nothing installed
  • Git
  • TypeScript tools via npm ci (TypeScript 5.9.3, ts-node 10.9.2, Mocha 11.7.6), for the source commands
  • Python 3.9+, only for npm run bootstrap-replay and the optional standalone checker in Section 6
v1.2.0release audited
github.com/ProvablyFair-org/liqd-mines

Commands to Reproduce

Everything ships inside the repo: the 6,574-round dataset, its three raw captures, the balance check and the committed results, with every hash checked before anything runs. npm test needs only Node.js 22: it runs the 48 unit tests and the 23-step verification, which replays all 24 million simulated rounds, then checks the release. Our run for this report took about 9 minutes on two CPU cores.

sh
git clone https://github.com/ProvablyFair-org/liqd-mines.gitcd liqd-minesgit checkout v1.2.0npm ci # Run the entire audit end-to-end (48 unit tests + 23-step verification + release-manifest check)npm test
Expected output
▶ [test] stale-build and report-count gate: node scripts/check-standalone.mjs[standalone] Source inventory, unit-test inventory and both compiled entry points match the build manifest.…▶ [test] bundled unit specs: node test.js# tests 48# pass 48# fail 0[standalone] 48/48 unit specs passed (src/pins.ts EXPECTED_UNIT_TESTS). ▶ [test] bundled verifier (verdict): node verify.js…  Passed:     23/23  Hard fails: 0  Flags:      0 (0 verdict-affecting, 0 capture-origin)   VERDICT: PROVABLY FAIR — Full Pass…  Reproduction vs the committed artifacts on Node 22.23.4: REPRODUCED ▶ [test] release manifest and release bar: node scripts/release-manifest.mjs --check  [release-manifest] OK: release bar met; 14 artifact hashes match disk, verdict "PROVABLY FAIR — Full Pass", scored 23/23 ── run-stages: test ── every stage ran  stale-build and report-count gate            ok  bundled unit specs                           ok  bundled verifier (verdict)                   exit 0 (verdict: Full Pass)  release manifest and release bar             ok  RESULT: exit 0 — every other stage passed; the exit code is the verifier's verdict code
Audit Reproducibility Pinning25 records
Release Commit
063ebe65c7fa6e08a5c0e521a301bf2c2ba5761a — github.com/ProvablyFair-org/liqd-mines/commit/063ebe6
Framework
ProvablyFair.org Audit Framework 1.1 · Mines 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 a later 22.x (package.json engines and .nvmrc) — committed artifacts produced on 22.23.1, this report’s runs on 22.23.4
Primary Dataset
data/mines-prod-full-6574bets.json (6,574 bets, 36 seed epochs)
Primary Dataset Hash (SHA-256)
4d684d5e035e0be384685a2b44b9f5ab13b3f638e58686310cd778945c31741b
Raw Production Captures
data/liqd-mines-prod-capture-2026-11-09T04-45-17-843Z.ndjson · data/liqd-mines-prod-capture-2026-11-10T06-06-19-772Z.ndjson · data/liqd-mines-prod-capture-2026-11-10T10-27-49-259Z.ndjson (three runs, 48,577 lines)
Raw Capture Hashes (SHA-256)
f4a35b0635fd8a196d31ebccd64fa3b617ab127716def789a0f1529b9ffe7d60 · 3b8f81d5de58ccbf60fc809a53a34174d2c088aa78aba67ab1a0742a6d866141 · 795825a548d786946d8ab0d9331dcd80d86a59b5b73dcea197707482bf177376
Balance Check Capture
data/liqd-mines-prod-capture-2026-11-12T17-38-16-806Z.ndjson (12 November 2026, 100 rounds, 1,275 lines; scored by Step 23, not part of the primary dataset)
Balance Check Hash (SHA-256)
9ee1a9213837b1dbd0229b9df5e0273cbefedf0211e199a81bfcb96c50bebbda
Simulation Artifact Hash (SHA-256)
50bef42d729a973376dee69e274900a037d6baa1d4b17a600c144beb46b329e6
Bootstrap Null Hash (SHA-256)
c8a946c806faa4e8896d68a70f66c6f20fa282571cfc4e14ef29fd29dae160a0
Pass 1 Replay Report Hash (SHA-256)
6de3935092af3db155c9e608f7f5993b68b31ac25364ad24ac0c0ce021c8d6bc
Convergence Chart Hash (SHA-256)
ad969c106e979f3f0eabcea69b5d2d881eb4a44be248e670a215e6a561989d2d
RTP Claim Table Hash (SHA-256)
cfd654a112dec6815da92ae700e5fbc47afe9756a335627c5701e23c08fb4211
Verification Results Hash (SHA-256)
9fc853b0e91029465cfbbadeb359254acf28547aa4ac970577ea6d7f8b3f0253
Derived Figures
outputs/audit-figures.json — pinned by SHA-256 and re-derived field-for-field from the pinned dataset on every run (Step 19)
Reproduction Gate
Every run writes only to outputs/run/ and is compared field by field with the committed artifacts (outputs/run/diff.json) — exact content byte for byte, a derived floating-point statistic within 1e-14 + 1e-12 relative; anything beyond tolerance exits 1
Exit Codes
0 Full Pass · 2 operator-origin flag (Conditional Pass) · 5 RTP FIGURE OVERSTATED · 1 hard fail or reproduction beyond tolerance
Mutation Battery
66 must-fail source mutations, each caught by the step it names, plus 10 declared survivors; 80 forged datasets, raw captures and artifacts the suite must reject. The package records each run: the 5 mutations and 3 forgeries added with Step 23 ran on this release’s code and were all caught; the other 61 mutations, the 10 survivors and 77 forgeries last ran on the code of 11 November (several hours per battery)
Runtime
npm test ≈ 9 min on 2 CPU cores, most of it the 24M-round replay · Node 22.23.4
Capture Environment
liqd.com (production) · one anonymous, self-funded account · three runs, plus the 12 November balance check, from a logged-in browser tab
Audit Date
July–November 2026 (production capture 8–10 November 2026, balance check 12 November 2026); RTP page read 1 October 2026; LIQD’s verifier and account bet history read 11 November 2026; player-path screenshots are live-session captures, not dataset rounds
Audit ID
PF-2026-LQ02
Output Artifacts9 files committed
3 columns
FileContentsSize
verification-results.jsonSteps 1–23 results — per-step pass states with evidence detail strings, profile coverage (MINES-01 … MINES-30), artifact hashes, info items, verdict~71 KB
rtp-claim-table.jsonThe RTP claim rule’s table — LIQD’s published 99% against all 300 settings, each with exact RTP, gap and outcome~41 KB
simulation-results.jsonPass 1 per-config results (saved seed pairs, first-draw χ², joint max |z|, serial, convergence traces) + Pass 2 bootstrap scan of the 36 production seeds with the recorded master seed~45 KB
simulation-provenance.jsonReplay inputs for both passes — master seed, derivation version, parameters, artifact and null hashes, replay commands~2 KB
audit-figures.jsonDerived figures (300-setting reference grid, settlement floors of the booked amount and the wallet field, per-run booked and wallet totals, client-seed controls, rejection census, live aggregate, false-alarm accounting, simulation summary) — re-derived by Step 19~199 KB
bootstrap-nulls.float64leThe retained sorted bootstrap null — 10,000 float64 statistics per opening mine count, mine counts 1–3240 KB
bootstrap-replay-report.jsonIndependent Python replay of Pass 2 — 30,000 statistics and 36 p-values, 0 mismatches~6 KB
deep-replay-report.jsonFull Pass 1 replay — 24 rows, 24,000,000 rounds, 0 differences~6 KB
rtp-convergence.htmlConvergence chart, self-contained (Chart.js inlined) — the same data as the chart on this page~210 KB
Repository Structure
liqd-mines/
├── src/
│   ├── rng.ts                  → commitHash · HMAC draw (generateProvablyFairNumber) · revealMines (sequential Fisher-Yates, draw order) — written from docs/ALGORITHM.md
│   ├── bias.ts                 → the draw-bias bound for every range, from the same maxFairFor the draw applies
│   ├── config.ts               → closed-form multiplier (exact, rational + BigInt display cents), anti-circular win probability, game constants
│   ├── pins.ts                 → pinned population (6,574 · 36 epochs · per-run phase and settings plan), nonce windows, dataset, raw-capture, balance-check and artifact hashes, declared disclosures
│   ├── prod-capture.ts         → the three raw production captures, read as recorded behind their SHA-256 pins
│   ├── balance-check.ts        → the 12 November balance check, read as recorded behind its SHA-256 pin (Step 23)
│   ├── 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 300-setting exact RTP table, LIQD’s published claim and the page’s rounding sentence
│   ├── profile-map.ts          → which Mines profile check (MINES-01 … MINES-30) each step implements
│   ├── site-verifier.ts        → loads the vendored ProvablyFair.org verifier for the Step 5 parity arm
│   ├── loader.ts               → dataset loader + SHA-256 guard (aborts on mismatch)
│   ├── simulate.ts · seed-derivation.ts → a new Pass 1 + Pass 2 experiment under a recorded master seed → outputs/run/
│   ├── replay.ts · replay-pool.ts · deep-replay.ts → the 24M-round Pass 1 replay (inside every verify run, or stand-alone)
│   ├── stats.ts                → chi-squared (exact incomplete gamma), max-|z| joint test, autocorrelation, runs test
│   ├── false-alarm.ts          → nominal false-alarm accounting of the eight scored screens
│   ├── figures.ts · write-figures.ts → outputs/audit-figures.json, the producing artifact for every quoted figure
│   ├── convergence-chart.ts · write-chart.ts → the self-contained convergence chart
│   ├── 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)
│   └── types.ts                → dataset record types
├── docs/
│   ├── ALGORITHM.md            → the specification the RNG is written from, with the production evidence for every step
│   └── INTERFACE.md            → the module interface the RNG implements
├── verifier-parity/            → the ProvablyFair.org site verifier’s Mines module, vendored byte for byte and pinned (Step 5)
├── tests/
│   ├── verify.ts               → 23-step verification runner (results under outputs/run/; PF_EMIT=1 to regenerate the committed record)
│   ├── mines/                  → 48 unit tests (rngTests 10 · rngSpecTests 1 [97 checks] · regressionTests 32 · balanceCheckTests 5)
│   ├── mutations.ts · mutations.json · survivors.json → 66 must-fail source mutations + 10 declared survivors
│   ├── forgeries.ts            → 80 forged datasets, raw captures and artifacts that must be rejected
│   └── steps/
│       ├── commitment.ts       → Steps 1–4 (seed hashes, three chains + pre-capture links + recorded order on both clocks, epoch consistency, nonce windows)
│       ├── determinism.ts      → Steps 5–6 (layout recompute + draw-bias census + site-verifier parity, client-seed influence)
│       ├── payouts.ts          → Steps 7–10 (display field, floor2 booked identity + win condition, configs, house edge + settlement floors + RTP claim)
│       ├── dataset.ts          → Steps 11–12 (phase labels, epoch size — population guard)
│       ├── anti-circularity.ts → Step 13 (combinatorial win probability + counting anchor)
│       ├── phase-d.ts          → Step 14 (player-set client seeds, seed order on every epoch)
│       ├── phase-e.ts          → Step 15 (multi-reveal verification, phases A and D)
│       ├── simulation.ts       → Steps 16–17 (Pass 1 replay, served-config test + Pass 2 bootstrap replay)
│       ├── standardization.ts  → Steps 18–21 (bet size, artifact integrity, reveal sequence, reveal position)
│       ├── raw-capture.ts      → Step 22 (raw-capture binding: rows, reveals, self-settled rounds, wallet field, LIQD’s verifier, ledger debits)
│       ├── balance.ts          → Step 23 (the balance check: which amount of a win reaches the balance)
│       ├── statistical.ts      → informational items (live RTP, lag-1, win rate)
│       └── context.ts          → shared context + step helper
├── scripts/                    → run-stages (npm test), standalone build + check, release manifest + release bar, site-verifier check, spec-check, Python bootstrap replay
├── data/
│   ├── mines-prod-full-6574bets.json   → 6,574 bets · 36 epochs · SHA-256 pinned
│   └── liqd-mines-prod-capture-2026-11-….ndjson (×4) → the three raw production captures and the balance check, every request and reply · SHA-256 pinned
├── outputs/
│   ├── verification-results.json    → 23 steps + profile coverage + info items + artifact hashes + verdict
│   ├── rtp-claim-table.json         → the RTP claim rule over all 300 settings
│   ├── simulation-results.json      → Pass 1 rows (saved seed pairs, convergence) + Pass 2 (master seed recorded)
│   ├── simulation-provenance.json   → replay inputs, parameters and hashes for both passes
│   ├── audit-figures.json           → derived figures, re-derived field-for-field by Step 19
│   ├── bootstrap-nulls.float64le    → the retained sorted bootstrap null (10,000 × 3 statistics)
│   ├── bootstrap-replay-report.json → Python replay: 30,000 statistics + 36 p-values, 0 mismatches
│   ├── deep-replay-report.json      → Pass 1 replay: 24 rows, 24,000,000 rounds, 0 differences
│   └── rtp-convergence.html         → self-contained convergence chart (same data as the chart on this page)
├── evidence/                   → E14 RTP page labels · E23 LIQD’s verifier without a login · E24, E25 LIQD’s account bet history
├── .github/workflows/reproduce.yml → second-machine reproduction on a clean runner
├── test.js · verify.js         → dependency-free bundles run by `npm test`
├── README.md · MANIFEST.md     → the report (findings, rulings, worked examples, limitations register)
├── evidence.md · SUMMARY.md    → evidence register, contents (MANIFEST.md links the fairness-integrity matrix and battery results)
├── RELEASE-MANIFEST.json       → release identity: tag, framework, artifact hashes, verdict, signing key
├── package.json                → npm test = staleness gate → node test.js → node verify.js → release-manifest --check
└── package-lock.json · tsconfig.json · standalone-manifest.json · .mocharc.yml · .nvmrc · .gitattributes · .gitignore · LICENSE
Step-to-Section Cross-Reference23 verification steps mapped
3 columns
StepTest NameReport Section
1Seed Hash IntegrityS1
2Next-Seed Pre-Commitment ChainS1
3Hash Consistency Within EpochS1
4Nonce AuditS1
5Mine-Layout RecomputationS1, S2, S3
6Client Seed InfluenceS1, S2
7Displayed Multiplier Field (floored, cosmetic)S3, S4
8Payout Math + Win-Condition (wins: winningAmount == floor2(betAmount × EXACT multiplier), the booked fiat amount; losses: 0; label ⇔ mine opened)S3, S4
9Config Completeness (the production plan: 60 phase settings, every mine count)S3, S4
10House Edge / RTP Audit (closed-form identity, per-config, anti-circular)S4 (also scores the RTP claim rule)
11Phase LabelsS3
12Epoch SizeS1, S3
13Anti-Circularity (Combinatorial Win Probability)S4
14Client Seed Variation (Phase D player-set seeds; seed order on every epoch)S1, S2, S3
15Multi-Reveal Verification (phases A and D, every round)S3, S4
16Simulation — Pass 1 (First-Draw · Joint · Serial, FWER)S2, S4
17Simulation — Pass 2 Cherry-Pick TestS4
18Bet-Size Invariance (phase C at the elevated stake)S3, S4
19Artifact Integrity (dataset pin + derived figures)S7
20Reveal-Sequence ConsistencyS3
21Reveal-Position IndependenceS3
22Production Raw-Capture Binding (wallet field, reveals, LIQD verifier)S3, S4, S6
23Balance Reconciliation (12 November balance check: the wallet field reaches the balance)S3, S4
Game Profile CoverageMines profile 1.0.2 · 30 checks

Every check in the ProvablyFair.org Mines profile, version 1.0.2, is covered by a scored step or by a package check — 24 by scored steps and 6 by package checks. For MINES-09, MINES-16, MINES-17 and MINES-25 the row states the exact scope it covers. The map ships in src/profile-map.ts and is written into each run’s verification results.

4 columns
CheckWhat it requiresCovered byCoverage
MINES-01Every revealed seed hashes to its commitmentStep 1Full
MINES-02Next-seed pre-commitment chain, including each capture run’s pre-capture linkStep 2Full
MINES-03One commitment and one client seed per epochSteps 3, 4Full
MINES-04Nonce contiguity, no reuse, no withholding; capture-retry gaps flagged, operator gaps failedStep 4Full
MINES-05Audited population bound to code constants, not the dataset headerSteps 11, 12Full
MINES-06Client-seed control and sensitivitySteps 6, 14Full
MINES-07Every served mine layout recomputes, in draw orderStep 5Full
MINES-08Draw-bias bound computed from the draw’s own rejection ceilingStep 5Full
MINES-09Reference RNG provenance and known-input vectorsPackage check: docs/ALGORITHM.md, src/rng.ts, 48 unit testsThe RNG is our own implementation, written from the specification, whose vectors are five production rounds; LIQD’s three validation vectors run as a second check, and LIQD’s own verifier is queried for every captured round (Step 22)
MINES-10Win/loss label against the recomputed board; reveal-sequence rulesSteps 8, 20Full
MINES-11Settlement — the booked amount at floor2(stake × exact), the wallet field at LIQD’s 8-decimal rule, losses at 0Steps 7, 8, 22Full
MINES-12Bet-size invarianceStep 18Full
MINES-13Multiplier formula at every setting; display rounding, with both amounts from the exact valueSteps 7, 10, 13, 15Full
MINES-14Multiplier monotonicity; the payout limit is reported in S4.7Step 10Full
MINES-15Coverage — all 24 mine counts, several depths, all 25 first picks, every planned setting witnessed by a winSteps 9, 21, 22Full
MINES-16Wallet balance ledger reconciliationStep 23The balance check of 12 November 2026: 100 rounds at 1 mine with two tiles on 0.10 and 3 mines with five tiles on 0.01, booked in USD; the USDT balance moved by the wallet field on 71 of 71 wins, by −stake on 29 of 29 losses and 0 of 99 times between rounds. Not read on the 6,574 scored rounds, where LIQD’s account history records the wallet field as the payout (S4.7)
MINES-17Multi-reveal — layouts, per-reveal status, cash-out amount, order independenceSteps 15, 20, 21, 22Layouts, the mine/safe status of all 19,498 reveals, cash-out amounts and order independence; LIQD’s reveal replies carry no running multiplier, so the cash-out amount is the compared value
MINES-18Anti-circularity — the identity at every setting, counting anchor and negative controlSteps 10, 13Full
MINES-19Effective edge against the claimed edge; the RTP claim ruleStep 10Full
MINES-20Simulation Pass 1 — replayed, not trustedStep 16Full
MINES-21Cherry-pick test — served-config returnStep 17Full
MINES-22Live-sample fit (informational)Step 9Full
MINES-23Framework fairness-integrity rows S5-1 … S5-8, kept as a package checklist (Section 5 reports the live integrity tests)Package check: the fairness-integrity matrix linked from MANIFEST.mdFull
MINES-24Player-verifier parity — the ProvablyFair.org verifierStep 5Full
MINES-25Player verification path, in LIQD’s field namesPackage check: README.md and MANIFEST.md Verify a betThe path in LIQD’s field names, with a script and five worked production rounds; LIQD’s panel itself is shown in the S6 walkthrough
MINES-26Dataset and raw captures pinned by SHA-256 before any step runsStep 19Full
MINES-27Artifacts of record pinned and re-hashed; every numeric value inside a declared domainStep 19Full
MINES-28Release gate — fresh clone, pinned runtime, zero-install npm testPackage check: scripts/run-stages.mjs, package.json, .nvmrcFull
MINES-29Mutation and forgery batteries with declared survivorsPackage check: tests/mutations.json, tests/survivors.json, tests/forgeries.tsFull
MINES-30Limitations register and numbered evidencePackage check: MANIFEST.md, evidence.mdFull
reproduce-audit.sh
reproduce-audit.sh
# Clone and setupgit clone https://github.com/ProvablyFair-org/liqd-mines.gitcd liqd-minesgit checkout v1.2.0npm ci # Run the full audit end-to-end (48 unit tests + the 23 verification steps + release-manifest check)npm test # Or run individual componentsnpm run verify              # 23-step verification from source — writes outputs/run/, never the committed resultsnpm run deep-replay         # the 24M-round Pass 1 replay, stand-alone (read-only)npm run bootstrap-replay    # independent Python rebuild of all 30,000 Pass 2 null statistics (Python 3.9+)node scripts/spec-check.mjs # the written specification and its nearest alternatives on every production roundnpm run simulate            # a new 24M-round experiment into outputs/run/ under a fresh master seed # View the committed resultscat outputs/verification-results.jsoncat outputs/rtp-claim-table.json | head -40
provablyfair.org/verify-bets/liqd
This is an open-source audit. Every scored finding, dataset, and line of verification code is publicly accessible. You don't need to trust us or the casino. Clone the repo, run the tests, and reproduce every scored result yourself.
✓  Fully Reproducible

Every scored result reproduces from release v1.2.0 with the commands above. The dataset, its raw captures and the balance check are pinned by SHA-256 and checked before any check runs, so you are testing the same 6,574 rounds, and every reply they came from, that we did. The simulation and the RTP claim table are pinned the same way, and every npm test replays all 24 million simulated rounds from their saved seeds.