
Keno
Independent verification, backed by open-source code.
- Live Bets Verified
- 7,457
- Parity Rate
- 100%
- Simulated Rounds
- 10M
- Simulated RTP 99.0143% across all 40 settings, against 98.9850% exact
- Proven RTP (mean)
- 98.9850%
- 98.9031% to 99.0689% across all 40 settings
Verification pipeline
Real bets. Independently reproduced.
Placed anonymously at LIQD.com. We rebuilt the game logic from scratch and matched all 7,457 recorded outcomes.
The casino result, reproduced.
- Casino outcome
- 0 of 1 hit · 0×
- Our reproduction
- 0 of 1 hit · 0×
- Recorded payout
- $0.0000
- Seed Hash IntegrityPass
- Forward Commitment ChainPass
- Hash ConsistencyPass
- Nonce ContinuityPass
- Population & Epoch BindingPass
- Draw RecomputationPass
- Client-Seed InfluencePass
- Draw Bias BoundPass
- Draw Structure & Hit CountingPass
- Pick-Set IndependencePass
- Paytable ProvenancePass
- Payout ArithmeticPass
- Bet-Size InvariancePass
- Paytable Shape & BoundsPass
- Configuration & Cell CoveragePass
- Stake InvariancePass
- Anti-CircularityPass
- RTP by Exact EnumerationPass
- Simulation Pass 1Pass
- Cherry-Pick DetectionPass
- Live-Sample FitPass
- Dataset & Config PinsPass
- Artifacts of RecordPass
- LIQD Verifier ParityPass
The repo is the credential. You don’t have to trust us: all 24 production audit checks ship as open-source code. One command, npm test, re-runs them with nothing to install and re-verifies all 7,457 live rounds; node test.js && node verify.js runs the same two bundles directly.
This audit independently checks the Keno game on LIQD under the ProvablyFair.org Audit Framework 1.1. We played 7,457 real rounds on liqd.com on 9 and 10 November 2026, from an anonymous account we funded ourselves, on all 40 settings and at two stake sizes, with client seeds of our own. Then we recomputed every draw, every hit and every payout with our own implementation of the game’s algorithm, and LIQD’s own verifier agreed every time.
Audit Verdict
| Check | Result | Evidence |
|---|---|---|
| Overall Status | Pass | PROVABLY FAIR — Full Pass. All 24 checks passed with no hard fails, and all 7,457 live rounds, played on 9 and 10 November 2026, recompute exactly. |
| RTP Verified | Pass | Proven RTP of 98.9031% to 99.0689% across all 40 settings, so LIQD’s 1% edge holds on every setting within a tenth of a percentage point. Production bets reached 196 of 260 paytable cells; LIQD’s verifier confirmed the other 64 multipliers. |
| Live ↔︎ Verifier Parity | Pass | 100%. Our own implementation reproduced all 7,457 draws exactly, every number in order, with every hit and payout, and LIQD’s own verifier returned the same round every time. |
| Commit-Reveal System | Pass | All 47 revealed server seeds match their published hashes, and every new seed matched the hash announced for it in advance. Our capture records show each hash was published before its rounds. |
| Client Seed | Pass | 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 changing the client seed changes the draw on all 7,457 rounds. |
| RNG Analysis | Pass | Each round’s ten numbers come from HMAC-SHA256 over the seeds and nonce only; all 7,457 draws reproduced in order with our own implementation, written from the specification. Plain modulo and rejection sampling agree on every captured draw. |
| Payout Logic | Pass | All 7,477 reported payouts matched stake × paytable multiplier exactly: every multiplier is the cell for your risk, picks and hits, and all 4,516 zero-cell rows pay 0. Classic / 3 matched at $0.10 and $10.00. |
| Anti-Circularity | Pass | We worked out the odds of every hit count ourselves from the 40-number board, never from a casino figure, and priced all 40 settings with LIQD’s paytable as exact fractions. |
| Fairness Integrity | Pass | 34 integrity tests reported across 12 categories, run on LIQD’s pre-launch environment: 33 pass and 1 remediated, a paytable LIQD corrected to meet the RTP claim. |
| Determinism | Pass | The same server seed, client seed and nonce always give the same ten numbers, never shaped by your picks or stake, and every payout follows from the draw, your picks, risk and stake, on all 7,457 rounds. |
Overall StatusPass
RTP VerifiedPass
Live ↔︎ Verifier ParityPass
Commit-Reveal SystemPass
Client SeedPass
RNG AnalysisPass
Payout LogicPass
Anti-CircularityPass
Fairness IntegrityPass
DeterminismPass
What Was Audited
✓ Audited
- LIQD’s live Keno game on liqd.com, played on 9 and 10 November 2026 in USDT, checked with release v1.2.0 of the audit package
- Every round’s ten numbers can be reproduced, in order, from the server seed, client seed and nonce
- LIQD commits to each server seed with a SHA-256 hash, and each rotation announces the hash of the next seed
- Your client seed is under your control, and it changes the draw: seeds we set were used exactly as typed
- Nonces count every round from 0 in every seed pair, with no gaps or repeats
- Each round draws ten different numbers from the 40-number board, one HMAC-SHA256 value per number
- Hits are recounted from the drawn numbers, and every multiplier is the paytable cell for your risk, picks and hits
- Every reported payout is your stake times that multiplier exactly, row by row, and zero cells pay exactly 0
- Proven RTP is exact for every setting: 98.9031% to 99.0689%, 98.9850% on average
- LIQD’s published 1% edge holds on all 40 settings, within a tenth of a percentage point
- With Add Second Bet, both rows play on the same ten numbers, each paid on its own cell
- The numbers you pick and the amount you stake do not change the draw
- Players can independently verify every round
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
| Area | Description |
|---|---|
| Commit-Reveal System | SHA-256 server seed hashing, pre-bet commitment, next-seed pre-commitment, reveal on rotation |
| Client Seed Origin | Player-controlled seed set after the server commitment — five seeds of our own choosing and a fresh seed from our own CSPRNG in each of the other 38 epochs, 43 distinct in all |
| Seed Handling | Client seed control, nonce lifecycle, seed epoch rotation |
| RNG Analysis | Our own HMAC-SHA256 implementation, written from the specification; LIQD’s verifier used as a cross-check; the 10-step Fisher–Yates draw and its modulo-bias bound |
| Payout Logic | Declared paytable cells (260 over 40 settings), served-vs-declared multipliers, payout arithmetic in 1e-8 units, two-row rounds, zero-cell rounds and the wallet fields in each bet reply, at $0.10 and, on Classic / 3, $10.00 |
| Live Parity | Independent draw, hit-count and payout recomputation vs live game results on all 7,457 rounds (7,477 rows), in served draw order; LIQD’s verifier on every round |
| RTP Validation | Exact hypergeometric RTP for all 40 settings, the RTP claim rule, simulated RTP (10M rounds), cherry-pick test on the served rounds’ return |
| Fairness Integrity | Integrity tests on LIQD’s pre-launch environment — 34 across 12 categories: race conditions, input validation, atomic balance / idempotency, broken authorization, max-win bypass, nonce manipulation, RNG / PF verification, RNG / information leak, entropy / PF verification, precision / payout, event replay and adversarial seeds |
What Audit Guarantees
- Outcomes are deterministic and reproducible from the recorded inputs
- Live game results match independent recomputation for every captured round (7,457 / 7,457)
- Draws are consistent with the uniform distribution expected from the HMAC-driven Fisher–Yates shuffle — 10,000,000 simulated rounds pass their uniformity screens, and the 7,457 captured draws fit the same law (informational)
- RTP is proven analytically: Σ P(k hits) × cell, with the exact hypergeometric P(k hits) = C(n,k)·C(40−n,10−k)/C(40,10), gives every one of the 40 settings as an exact fraction
- LIQD’s published 1.00% edge is met by every one of the 40 settings under the RTP claim rule — Proven RTP 98.9031% to 99.0689%, the closest at −0.096947 pp (Low/5)
- Simulated RTP of 99.0143% across the 40 settings in a 10,000,000-round run — all 40 converge within 5 standard errors of their exact values (largest |z| 1.73)
- The draw is fixed by the seed pair and nonce before your picks are applied — every scored round’s ten numbers recompute from the seeds and nonce alone, with no pick or stake input, so the numbers you pick never change the numbers drawn
- Client seed is a genuine, player-controlled input that materially influences results — five seeds of our own choosing were used exactly as typed on 200 / 200 rounds, and a changed client seed changes the drawn numbers on 7,457 / 7,457 rounds
- Every reported payout equals stake × cell on the declared paytable exactly — 7,477 / 7,477 rows, at $0.10 and, on Classic / 3, at 100 times that stake
- Every fairness integrity test in Section 5 passed or was remediated and re-verified — no test altered, replayed or injected an outcome
References
Keno — Game Rules7 sections▶
How LIQD Keno plays on liqd.com, exactly as verified by this audit — the interactive board below is wired to the audited paytable and hit odds.
Game Rules
Keno draws 10 different numbers from a board of 40. Before the draw you pick 1 to 10 numbers and choose one of four risk levels — Classic, Low, Medium or High. Your hits are the picks that appear among the ten drawn numbers, and the paytable cell for your risk, pick count and hits is the multiplier. The ten numbers come from HMAC-SHA256 seeded by (serverSeed, clientSeed, nonce) — a 10-step Fisher–Yates shuffle of the board, fixed before your picks and stake are applied; your picks and stake decide which cell pays, never which numbers are drawn. Add Second Bet plays a second row, with its own picks and stake, against the same ten numbers. The bet panel also shows a fifth tab, WTF, greyed out: liqd.com does not offer it, and this audit covers the four risk levels it does.
How to Play
1. Pick your numbers — choose 1 to 10 numbers on the 1–40 board; the pick count selects the paytable row.
2. Choose a risk level — Classic, Low, Medium or High. Each has its own row for every pick count, so the risk sets how the return is spread across hit counts.
3. Set the stake and play — the platform derives ten numbers from the committed server seed, your client seed and the current nonce. Add Second Bet plays a second row on the same draw; the two rows cannot share a number.
4. Settle — your hits select the cell; each row credits floor(stake × cell) at the 8th decimal. A zero cell pays 0. The nonce advances by 1 per round, one row or two.
5. Verify — after rotating your seed pair, recompute any round from the revealed seed (Section 6 walks it).
Win Conditions
One rule for every risk level — hits = |picks ∩ drawn|, and the cell for (risk, picks, hits) is the multiplier. The chance of each hit count depends only on how many numbers you pick; for 3 picks, with the Classic row:
| Hits | Exact chance | Classic / 3 pays |
|---|---|---|
| 0 | 203/494 · 41.0931% | 0× |
| 1 | 435/988 · 44.0283% | 1× |
| 2 | 135/988 · 13.6640% | 3.1× |
| 3 | 3/247 · 1.2146% | 10.4× |
259× (bet dr1ZSM-B…).Risk vs Reward
Every risk level returns close to the same 99% — the risk changes the shape of the payouts, never the fairness of the price:
- Classic — the gentlest spread: small multipliers from a single hit at low pick counts, top cell
100×(10 of 10). Proven RTP 98.9605%–99.0385% - Low — frequent small wins, a consolation cell on Low/1 (
0.7×on 0 hits), top cells1,000×at 9 and 10 picks. 98.9031%–99.0689% - Medium — fewer small wins and larger middle cells, a consolation cell on Medium/1 (
0.4×on 0 hits), top cells1,000×. 98.9236%–99.0316% - High — the return sits in the high-hit cells (3 picks pays only on 3 hits,
81.5×), top cells1,000×. 98.9058%–99.0083% - Variance changes with the risk and pick count; the price does not: every one of the 40 settings returns between 98.9031% and 99.0689%
Parameters
| Parameter | Value | Notes |
|---|---|---|
| Board | 1 – 40 | 10 numbers drawn per round, all different, served in draw order |
| Picks | 1 – 10 | All ten pick counts captured — 728 rows each, 925 with 3 picks (the elevated-stake setting) |
| Risk levels | Classic · Low · Medium · High | All four captured — 1,810 to 2,027 rows each; the WTF tab is greyed out and production refuses a WTF bet |
| Settings | 40 | 4 risks × 10 pick counts, 175 rounds each in Phase A; every one held to the RTP claim (S4.2) |
| Paytable | 260 cells | LIQD’s client table, read from liqd.com (E02); 196 cells reached by a production round, the other 64 checked with LIQD’s verifier |
| House edge | 0.9311% – 1.0969% | Per setting; LIQD states a flat 1.00% (E03), met within ±0.1 pp on all 40 |
| Seed epoch | 20 – 200 rounds | Nonces from 0, then the pair rotates — the audit’s cadence (200 per Phase A epoch), not a platform limit |
| Rows per round | 1 or 2 | Add Second Bet plays a second row on the same draw and nonce; the two rows cannot share a number |
| Settlement | floor at 1e-8 | floor(stake × cell), row by row — reproduced with zero tolerance |
| Stakes captured | $0.10 · $10.00 | 7,280 rows at $0.10 and 197 rounds at $10.00, in USDT |
Seed Formats
The three verification inputs, exactly as they appear in LIQD’s panel and the round record:
| Seed Type | Format | Example | Purpose |
|---|---|---|---|
| Server seed | 32-char hex (16 bytes) | 4ac1632b65c42e1c4fdbad5afaf513cd | HMAC key (decoded); committed via SHA-256 of the string before play |
| Client seed | free-form string | audit047790ed49c5 | Player-editable entropy — mixed into every draw step |
| Nonce | integer from 0 (0–199 in a Phase A epoch) | 193 | The round counter under the active pair |
Multiplier & Payout
The payout is a lookup — LIQD’s client paytable gives one multiplier per (risk, picks, hits) cell, and the chance of each hit count follows from the board alone:
P(k hits) = C(n, k) · C(40 − n, 10 − k) / C(40, 10)
m = table[risk][n][k]
payout = floor(stake × m) in 1e-8 units, per row| Setting | Hits → multiplier | Proven RTP |
|---|---|---|
| Classic / 1 | 1 → 3.96× | 99.0000% |
| Classic / 3 | 1 → 1× · 2 → 3.1× · 3 → 10.4× | 99.0182% |
| Classic / 10 | 3 → 1.4× · 4 → 2.25× · 5 → 4.5× · 6 → 8× · 7 → 17× · 8 → 50× · 9 → 80× · 10 → 100× | 99.0374% |
| High / 4 (featured round) | 3 → 10× · 4 → 259× | 98.9058% |
floor(stake × multiplier) in 1e-8 units with zero tolerance (Step 12) — the featured round paid $0.10 × 259 = $25.90000000.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
| Check | What it proves |
|---|---|
| Server seed hash shown before play | With the hash shown first, the casino cannot change the draw after you bet |
| SHA-256 of the revealed seed matches the commitment | The revealed seed is the one that was committed |
| Next epoch's hash pre-committed at rotation | The casino cannot mint a fresh seed in response to your play |
| One commitment per epoch, no mid-epoch switching | Every round is pinned to a single verified commitment |
Seed System
| Check | What it proves |
|---|---|
| Client seed is player-editable after the commitment exists | The operator cannot pre-evaluate seeds against yours |
| Client seeds of the player’s own choosing are used as typed | Your own seed, not a server default, drives the draw |
| Client seed changes the draw when substituted | Your seed genuinely enters every derivation |
| Nonces run contiguously from 0 in every epoch | No skipped round where a discarded outcome could hide |
RNG & Parity
| Check | What it proves |
|---|---|
Draw recomputes from (serverSeed, clientSeed, nonce) | No hidden inputs influence the numbers drawn |
| Ten distinct numbers, in served order, from a forward Fisher–Yates over 1–40 | Every captured draw is the shuffle the specification describes |
| Hits recounted from our own draw on 7,477 / 7,477 rows | The game counts your hits the way its rules say |
Payout & RTP
| Check | What it proves |
|---|---|
| Every served multiplier equals its declared paytable cell | The table the game shows is the table that pays |
| The same cell pays the same multiplier at $0.10 and at $10.00 | The stake scales the payout, never the odds |
Σ P(k hits) × cell in exact fractions for all 40 settings | The RTP is an identity, not a sampled estimate |
| Closed-form hit law equals a draw-by-draw derivation, cell for cell | The probability side cannot share an arithmetic slip with the formula |
Integrity
| Check | What it proves |
|---|---|
| Zero cells pay exactly 0 | No round settles money against a losing draw |
| The draw takes no pick set or stake | Your choices cannot reach the numbers drawn |
| Dataset, capture files and paytable SHA-256 pinned (a mismatch stops the suite); results pins scored in Step 23 | The evidence itself is tamper-evident |
High-Level Flow
One round of LIQD Keno, from commitment to settlement:
1. Commit — the server generates a 32-hex server seed and publishes SHA-256(utf8(seed)) as its commitment. 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 1–10 numbers, a risk level and a stake, on one row or two. The ten numbers are already fixed by (serverSeed, clientSeed, nonce).
4. Draw — ten HMAC-SHA256 values drive a forward Fisher–Yates over 1–40.
5. Settle — your hits select the paytable cell; each row credits floor(stake × cell). The nonce increments by 1.
6. Rotate & verify — rotation reveals the outgoing seed (and pre-commits the next). Check the hash, recompute any round.
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 ten numbers are a pure function of those three inputs — and the picks and stake enter only afterwards, as the rule and the price — neither side can steer an outcome without the other side's input, and everything needed to check the result is disclosed by design.
Commit-Reveal Model
Three phases, each independently verified by this audit:
Commit phase
The server generates a 32-hex seed and publishes SHA-256 of that string (UTF-8) as its commitment. The raw seed stays secret. Verified for all 47 reveals — the 43 epochs and the four pre-capture anchors (Step 1).
Bet phase
Rounds settle under the committed pair; the nonce increments from 0 (0–199 in a Phase A epoch). The draw is fixed per (seed, clientSeed, nonce) before the picks are applied. Verified by full recomputation (Step 6).
Reveal phase
Rotation reveals the outgoing seed and pre-commits the next epoch’s hash — the chain is consistent on 47 / 47 rotations, each of the four captures anchored before its first round (Step 2).
Verify phase
Anyone re-hashes the reveal against the commitment and recomputes every round it served — the panel, the ProvablyFair.org verifier, or the standalone scripts in S6 all work.
Player-Controlled Client Seed
The client seed is the mechanism that structurally contains server-seed cherry-picking — when it is unpredictable and set after the commitment — and this audit exercised the control live:
- Set by the player whenever the seed pair rotates — our capture submitted its own at all 43 epoch openings, each after the server commitment it pairs with was published
- Mixed into every HMAC message (
clientSeed:nonce:cursor) — it mathematically cannot be ignored - Five epochs ran on seeds of our own choosing (
pfaudit-prod-keno-d1-…to-d5-…), used exactly as typed on 200 / 200 rounds; the other 38 on fresh seeds from our own CSPRNG — all 7,457 rounds recomputed exactly - Sensitivity control: changing the client seed changed the drawn numbers on 7,457 / 7,457 recomputed rounds (Step 7)
Nonce Lifecycle
The nonce is the round counter under an active pair. In this capture the audit rotated the pair after a planned number of rounds — 200 per epoch in Phase A, 40 in Phases D and E, 20 in Phase T and 197 in Phase C: the nonce starts at 0 and increments by 1 per round, a two-row round included. 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 43 epochs
- 0 gaps, 0 duplicates, 0 resets across 7,457 rounds
- Every rotation serves nonce 0 for the new pair — 47 / 47 (Step 2)
"epoch": 6,"nonceStart": 0,"nonceEnd": 199,"hashedServerSeed": "4bfb427891c66da97dc3808fcf613a0b…"Determinism Guarantee
Determinism is what turns a fairness claim into a checkable fact: the same inputs must always produce the same draw. LIQD's derivation is a pure function of three arguments — verified by reproducing every captured draw, number for number and in order, with an independent implementation.
computeDraw(serverSeed, clientSeed, nonce) → [33, 2, 5, 17, 12, 29, 25, 35, 3, 28] // ten numbers in draw order — nothing else in, nothing else outPhase Map
The capture is engineered — five phases on liqd.com, each built to isolate one property:
| Phase | Rounds | What it isolates |
|---|---|---|
| A — every setting | 7,000 | 35 epochs of 200 on 9 November — the four risk levels × 1–10 picks, 175 rounds on each of the 40 settings, a fresh pick set every round |
| D — player-set seeds | 200 | Five client seeds of our own choosing, one per epoch, each playing all 40 settings once |
| E — random picks | 40 | Every setting once, with picks drawn at random by our own CSPRNG and marked as such in the dataset |
| T — two rows | 20 | Add Second Bet: two rows per round on one draw and one nonce, 10 rounds on Classic and 10 on Low |
| C — elevated stake | 197 | Classic, 3 picks at $10.00 — 100 times the base stake; 109 of the 197 paid |
Technical Glossary7 categories▶
Every term used in this report, defined the way the audit uses it.
Core Concepts
| Term | Definition |
|---|---|
| Provably Fair | A 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 draw without detection. |
| Commit-Reveal | The mechanism underlying provably fair. The server publishes the hash of its seed (a commitment) before any round, then reveals the plaintext serverSeed after the seed rotates. The auditor checks SHA-256(utf8(serverSeed)) == commitment for every epoch. All 47 revealed seeds in this dataset — the 43 epochs and the four pre-capture anchors — passed. |
| House Edge | The operator’s cut. LIQD’s Keno page states “Edge: 1.00%” (E03), a flat 99% RTP. The effective edge is derived independently for each of the 40 settings from the exact hit probabilities and the declared paytable: 0.9311% – 1.0969%, every setting within 0.1 pp of the stated 1.00%. |
| RTP (Return to Player) | 1 − houseEdge. For LIQD Keno the RTP depends on the setting: Proven RTP 98.9031% – 99.0689% across the 40 settings, mean 98.9850% — exact fractions from the hit law and the declared paytable (Step 18), checked against 10M simulated rounds (Step 19). Live-capture return (101.30%) is informational only. |
| Anti-Circularity | The requirement that the RTP derivation and the simulation expectations take the hit probabilities from the board alone — C(n,k)·C(40−n,10−k)/C(40,10) — never from an operator-supplied odds or RTP field, so the RTP claim cannot validate itself (Step 17). |
| RTP Claim Rule | RTP-CLAIM 1.2.0, part of the audit method: the RTP a casino publishes — on the game page, fairness page, help page, bet panel, rules or game settings — must hold at every setting to within ±0.1 percentage points. A house-side miss ends the verdict as RTP FIGURE OVERSTATED. LIQD’s published 1.00% edge holds on all 40 Keno settings; the closest is Low/5 at −0.096947 pp. |
Seed System
| Term | Definition |
|---|---|
| Server Seed | A 32-character (16-byte) hexadecimal string generated by LIQD. Kept secret during play, revealed after epoch rotation. Used as the HMAC key in its hex-decoded form: Buffer.from(serverSeed, 'hex'). |
| Commitment / Server Seed Hash | SHA-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 round under the pair. A revealed seed that fails this check would prove tampering. Distinct from the HMAC key, which uses the decoded bytes. |
| Client Seed | A string controlled by the player (or generated by the platform), mixed into the HMAC message as ${clientSeed}:${nonce}:${cursor}. Changing it changes every draw 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. |
| Nonce | An incrementing integer identifying a round’s position within an epoch, starting at 0. Part of the HMAC message. Every epoch in this dataset ran contiguous nonces from 0 — 0–199 in a Phase A epoch — with no gaps; a two-row round uses one nonce. |
| Epoch | The rounds played under one (serverSeed, clientSeed) pair. At epoch end the seed rotates and the previous server seed is revealed. This dataset covers 43 epochs: 35 of 200 rounds (Phase A), six of 40 (Phases D and E), one of 20 two-row rounds (Phase T) and one of 197 (Phase C). |
Cryptographic Functions
| Term | Definition |
|---|---|
| HMAC-SHA256 | Hash-based Message Authentication Code using SHA-256: a deterministic 256-bit (32-byte) output from a key and a message. Keno makes one call per draw step; the first 4 bytes of each digest, read as a big-endian uint32, drive that step. |
| Cursor | The third component of the HMAC message, one per draw step: cursors 0–9 on every risk level, one per drawn number. |
| Fisher–Yates Draw | A forward partial Fisher–Yates over the board [1 … 40]: at step i (0–9), j = i + (value mod (40 − i)) and positions i and j swap; the first ten positions, in order, are the drawn numbers — ten different numbers, every ordered draw equally likely up to the modulo bias below. |
| Modulo Bias | value mod r for r = 40 … 31 favours the lowest 2³² mod r residues by at most 2.070 × 10⁻¹⁰ per draw. A rule that rejects that top tail instead has bias 0; the two rules can disagree only on a draw step that lands in the tail — 0 of the 74,570 draw steps in the scored rounds (Step 8). |
Verification Terms
| Term | Definition |
|---|---|
| Paytable Cell | table[risk][picks][hits] — the multiplier for one combination. The declared table has 260 cells across the 40 settings; the production rounds reached 196 of them (Step 15), and LIQD’s verifier returns the declared multiplier for each of the other 64 (E10). |
| Declared Paytable | LIQD’s own client paytable, read from the Keno page code of liqd.com, saved byte for byte and pinned by SHA-256 (E02). All four captures name it by that digest, and every served multiplier equals its cell (Step 11). |
| Draw Order | The order in which the ten numbers leave the shuffle. LIQD serves the drawn list in that order, and every comparison of a recomputed draw with a served round is order-sensitive — a stricter test than comparing sets. |
| Floor Settlement | floor(stake × multiplier) in exact integer arithmetic on 1e-8 units, row by row. Reproduces all 7,477 credited amounts with zero tolerance (Step 12). |
Game Mechanics
| Term | Definition |
|---|---|
| Picks | The 1 to 10 numbers the player selects on the 1–40 board. The pick count and the risk choose the paytable row; the pick set itself never enters the draw — every epoch varies its pick sets under one seed pair, and all 7,457 rounds recompute (Step 10). |
| Hits | |picks ∩ drawn| — how many picks are among the ten drawn numbers. The served count equals the recount from our own draw on 7,477 / 7,477 rows (Step 9). |
Risk Level (mode) | One of the four paytables liqd.com offers — Classic, Low, Medium and High — each with a row for every pick count. All four were captured at volume, 1,810 rounds or more each. |
| Setting | A (risk, picks) pair: 4 × 10 = 40 settings, each with its own exact RTP. The capture placed 175 Phase A rounds on every setting (Step 15). |
| Two-Row Round | A round with two rows — “Add Second Bet” — each with its own picks and stake, settled against one draw and one nonce. In this capture: 20 rounds and 40 rows, each row paid on its own cell (Steps 4, 9, 12); a round whose rows share a number is refused (Step 15). |
| Consolation Cell | A cell that pays on 0 hits: Low/1 pays 0.7× and Medium/1 pays 0.4× when the single pick is not drawn (Step 14). |
Audit Terms
| Term | Definition |
|---|---|
| Board Uniformity | A simulation test: how often each of the 40 numbers is drawn in a Pass 1 stream of 1,000,000 rounds, against an equal share, with a statistic corrected for drawing ten numbers without replacement (df 39). All 10 streams pass; the 7,457 captured draws give p = 0.8497 on the same test (Step 21). |
| Hit Law | The exact hypergeometric distribution of hits for a pick count, C(n,k)·C(40−n,10−k)/C(40,10). Each Pass 1 stream’s hit histogram is tested against it with χ² (smallest p = 0.0841); the captured rows are fitted to it per pick count too (Step 21, informational). |
| Bonferroni Correction | The 30 Pass 1 screens — board, hit law and lag-1 on each of the 10 streams — each run at α/30 = 3.333 × 10⁻⁵, so the family has level α = 0.001. The smallest p-value of the 30 is 0.0288. |
| Served-Row Return | The Pass 2 cherry-pick statistic: each of the 43 epoch seeds is replayed for 10,000 nonces with its recorded client seed, and the return of the rounds LIQD actually served (each epoch’s own nonces) is compared with a null that moves each window to later, never-served nonces (10,000 replicates). One-sided, failing below p = 0.001: p = 0.6116 on a fixed Classic/3 bet and p = 0.3626 on the served rows. |
| Cherry-Picking (Server-Seed) | The residual risk in any beacon-free commit-reveal scheme: an operator with foreknowledge of the upcoming client seed could pre-evaluate candidate server seeds and commit to an unfavourable one. The structural defence is a client seed set after the commitment; the statistical check is the served-row return in Pass 2, which detects a 6.64 pp house-favouring shift on a fixed Classic/3 bet at 80% power. |
| Selective Orphaning | A 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 every one of the 7,457 requests settled, with contiguous nonces in every epoch (Steps 4, 5); a signed server-side audit log closes the channel in general. |
| Hard Fail | Any FAIL on a scored step — a broken commitment or chain link, a draw, hit, multiplier or credit mismatch, an operator-side nonce gap, a population or artifact-integrity fault. A hard fail ends the verdict as NOT PROVABLY FAIR. None triggered: Passed 24/24, Hard fails 0. |
Data Formats
| Term | Definition |
|---|---|
drawn | The ten drawn numbers in draw order, from the bet reply (outcome.drawn), shared by both rows of a two-row round. Compared as an ordered list with our recomputation on all 7,457 rounds (Step 6). |
rows | The rows of a round — one, or two with Add Second Bet — each with its own picks, stake, hits, multiplier and credit. The round’s total stake and payout are the sums of its rows’ on every round (Step 12); lightning is served as null on every round. |
hits, multiplier, winningAmount | The served hit count, multiplier and credited amount of a row. hits is recounted from our draw; multiplier equals the declared cell; winningAmount is floor(stake × multiplier) in 1e-8 units, 0 on a zero cell, and equals the wallet-denominated winningAmountWallet on all 7,477 rows (Step 12). |
| Phases A, D, E, T and C | The five parts of the capture: A — 7,000 rounds at $0.10 in 35 epochs of 200, each setting 175 times; D — 200 rounds under five player-set client seeds; E — 40 rounds with random picks; T — 20 two-row rounds; C — 197 rounds at $10.00 on Classic / 3. Pick sets chosen by our own CSPRNG. |
Seed, Nonce & Determinism
Can the casino change your outcome after you bet?
Every Keno draw comes from three inputs: a server seed from LIQD, a client seed you control, and a nonce that counts your rounds. LIQD shows a SHA-256 hash of its server seed before the seed is used: a fingerprint that locks the seed in without revealing it. When you rotate your seed pair, the seed is revealed and anyone can check it against that hash. Our capture records show each hash was published before its rounds, so the casino cannot change the draw after you bet.
What we verified
- All 47 revealed server seeds match the hash LIQD published for them, and our capture records show each was published before play
- Each rotation also announces the hash of the next server seed, and every seed we played under matched the hash announced for it in advance
- We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
- Five seed pairs ran on client seeds we set as a player, used exactly as typed, and LIQD used the seed we submitted on all 43
- The nonce counts your rounds from 0, with no gaps or repeats, in all 43 seed pairs
- The ten numbers are fixed by the seeds and nonce before your picks or stake are applied
- The same inputs always give the same draw, confirmed on all 7,457 rounds, every number in order
- Your client seed really counts: changing it changes the draw
What this means for you
- With the hash shown before you bet, the casino cannot change the draw afterwards
- A client seed of your own adds randomness the casino cannot predict or plan around
- Every round has its own nonce, so no two rounds share the same inputs
- You can check any result yourself, with the public audit code or the ProvablyFair.org verifier
- Results stay checkable months later: the revealed seeds and the algorithm are all you need
- Because LIQD commits to its seed before you set or change your client seed, it cannot pick a server seed to work against you
- All 47 revealed server seeds match the hash LIQD published for them, and our capture records show each was published before play
- Each rotation also announces the hash of the next server seed, and every seed we played under matched the hash announced for it in advance
- We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
- Five seed pairs ran on client seeds we set as a player, used exactly as typed, and LIQD used the seed we submitted on all 43
- The nonce counts your rounds from 0, with no gaps or repeats, in all 43 seed pairs
- The ten numbers are fixed by the seeds and nonce before your picks or stake are applied
- The same inputs always give the same draw, confirmed on all 7,457 rounds, every number in order
- Your client seed really counts: changing it changes the draw
- With the hash shown before you bet, the casino cannot change the draw afterwards
- A client seed of your own adds randomness the casino cannot predict or plan around
- Every round has its own nonce, so no two rounds share the same inputs
- You can check any result yourself, with the public audit code or the ProvablyFair.org verifier
- Results stay checkable months later: the revealed seeds and the algorithm are all you need
- Because LIQD commits to its seed before you set or change your client seed, it cannot pick a server seed to work against you
Seed hash integrityPass
Next-seed linkPass
One commitment per seed pairPass
Nonce sequencingPass
Client seed originPass
Client seed controlPass
Client seed influencePass
Deterministic outputPass
Draw and hit reproductionPass
All 47 revealed seeds match their published hashes, and every new seed matched the hash announced for it in advance. Nonces count every round with no gaps, and the same inputs always give the same ten numbers, in the same order. With each hash published before its rounds, as our capture records show, the casino cannot change your result after you bet.
| Check | Result | Evidence |
|---|---|---|
| Seed hash integrity | Pass | All 47 revealed server seeds match their published hashes, with no mismatches |
| Next-seed link | Pass | Every new server seed matched the hash announced for it at the rotation before, and each capture read and rotated the active pair before its first round |
| One commitment per seed pair | Pass | Every round in each of the 43 seed pairs carries that pair’s hash and client seed: no seed was swapped mid-pair |
| Nonce sequencing | Pass | Nonces run 0, 1, 2… in every seed pair with no gaps or repeats, and LIQD’s own records of each round agree |
| Client seed origin | Pass | Every client seed was set after LIQD committed to its server seed, each in the rotation that opened its seed pair |
| Client seed control | Pass | Five seeds we set as a player were accepted and used exactly as typed, and all 200 rounds under them recompute |
| Client seed influence | Pass | A wrong or empty client seed changes the drawn numbers on all 7,457 rounds |
| Deterministic output | Pass | The same server seed, client seed and nonce always give the same ten numbers, in the same order, on all 7,457 rounds |
| Draw and hit reproduction | Pass | Every draw holds ten different numbers from 1 to 40, and the hits we count from our own draw match the game’s on all 7,477 rows |
Seed hash integrityPass
Next-seed linkPass
One commitment per seed pairPass
Nonce sequencingPass
Client seed originPass
Client seed controlPass
Client seed influencePass
Deterministic outputPass
Draw and hit reproductionPass
All 47 revealed seeds match their published hashes, and every new seed matched the hash announced for it in advance. Nonces count every round with no gaps, and the same inputs always give the same ten numbers, in the same order. With each hash published before its rounds, as our capture records show, the casino cannot change your result after you bet.
How It Works — Seed, Nonce & Determinism7 sections
1.1Server Seed Commitment
Before any round is placed under a seed pair, LIQD shows the SHA-256 hash of a secret 32-character hex server seed as the active commitment (activeServerSeedHash; every round carries it as serverSeedHash). 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. Step 1 rebuilds every check from the raw rotation replies stored in the four capture files, never from the verification fields the capture wrote itself.
/** * The published commitment for a server seed (spec §1.2): SHA-256 over the * seed's ASCII text (the 32 hex characters themselves), NOT over the 16 bytes * the hex encodes. Lowercase hex output. */export function commitHash(serverSeedHexString: string): string { return sha256Buffer(Buffer.from(serverSeedHexString, "ascii"));}Real Example from Live Data:
{ "epoch": 6, "phase": "A", "clientSeed": "audit047790ed49c5", "hashedServerSeed": "4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845", "nextHashedServerSeed": "88f35f6cf95435f55e3ddd4d1ba67233987a4899f7e2f75596ad9465b5684d75", "serverSeed": "4ac1632b65c42e1c4fdbad5afaf513cd", "nonceStart": 0, "nonceEnd": 199}Verification:
// verify-seed.js — check any revealed LIQD server seed against its commitmentconst { createHash } = require('node:crypto');const serverSeed = '4ac1632b65c42e1c4fdbad5afaf513cd'; // revealed 32-hex seed (epoch 6)const committed = '4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845';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
Every rotation reply publishes two hashes: the active commitment and nextServerSeedHash, the commitment of the seed that will follow. The nextServerSeedHash published before a rotation must equal the activeServerSeedHash after it, so the successor seed is fixed before the previous epoch ends. Step 2 rebuilds the chain from each capture file’s raw replies, in the order they arrived, and checks all 47 links — the 43 epoch rotations and one anchor rotation per capture. Each of the four captures is anchored on its own: before its first round it read the active pair and rotated it, so the seed its first epoch runs on was committed before any bet. The Phase A anchor: the active read at 10:31:29.087 UTC on 9 November (commitment d86e7eae…, next 4270b33b…) and the rotation that revealed its seed both came before the first round at 10:31:29.711 UTC; the revealed seed hashes to that commitment, and its pre-committed next hash became epoch 0’s commitment. Every rotation reply also serves nonce 0 for the new pair (47 / 47). A hash chain shows the values are consistent and fixes their order; it does not carry a date. Our capture records — every reply in the order it arrived — show each commitment was published before the rounds it covers.
export function p2One(v: View, ctx: Context): Part { const L = chain(v.j), s = v.s, pre = v.j.pre; let linked = 0; const bad: string[] = []; for (const l of L) { if (l.nextBefore !== null && l.nextBefore === l.after.active) linked++; else bad.push(`rotation ${l.k}`); } const nonceZero = L.filter(l => l.after.nonce === NONCE_BASE).length; // The anchor: an active read BEFORE any bet of the capture, then a rotation that reveals the seed behind the commitment that read showed. const firstBetAt = v.bets.map(b => b.at).sort()[0]; const anchorRot = L[0]; const anchorBeforeBets = !!pre && pre.at < firstBetAt && !!anchorRot && anchorRot.at < firstBetAt && anchorRot.closes === 'pre'; const anchorCommit = !!pre && !!anchorRot && commitHash(anchorRot.revealed) === pre.raw.activeServerSeedHash; const anchorLink = !!pre && !!anchorRot && pre.raw.nextServerSeedHash === anchorRot.after.active; const betsOnAnchor = ctx.ds.bets.filter(b => b.serverSeedHash === pre?.raw.activeServerSeedHash).length; // …1.3Hash Consistency Within an Epoch
Each round carries the commitment of the pair it was played under (serverSeedHash) and its client seed. Step 3 does not trust the capture’s own epoch tag: it places every round in the rotation interval its timestamp falls in, taken from the capture file’s rotation replies, and then checks that the round carries that interval’s commitment and client seed, that the raw provablyFair block of LIQD’s reply says the same, and that the capture’s epoch tag agrees — 7,457 / 7,457 on every count. A second commitment inside one epoch would indicate a mid-epoch seed substitution — a critical commit-reveal violation. No capture rotated while a round was in flight. What binds each round to its seed is the recomputation: the round’s commitment matches the reveal (Step 1), and the revealed seed reproduces every draw in the epoch (Step 6).
export function p3One(v: View): Part { const E = epochsFromChain(v.j); let inEpoch = 0, csOk = 0, tagOk = 0, pfOk = 0; const bad: string[] = []; for (const b of v.bets) { const e = E.find(x => x.openedAt <= b.at && (x.closedAt === null || b.at <= x.closedAt)); if (!e) { bad.push(`${b.betId} outside every rotation interval`); continue; } if (b.serverSeedHash === e.active) inEpoch++; else bad.push(`${b.betId} hash ${b.serverSeedHash.slice(0, 8)} ≠ epoch ${e.index} ${e.active.slice(0, 8)}`); if (b.clientSeed === e.clientSeed && b.roundClientSeed === e.clientSeed) csOk++; else bad.push(`${b.betId} client seed`); if (b.captureEpoch === e.index) tagOk++; else bad.push(`${b.betId} tagged epoch ${b.captureEpoch}, timestamp says ${e.index}`); if (b.raw?.provablyFair?.serverSeedHash === b.serverSeedHash && b.raw?.provablyFair?.clientSeed === b.clientSeed) pfOk++; else bad.push(`${b.betId} raw provablyFair`); } // …1.4Client Seed Origin & Control
Players control their client seed: it is set when the seed pair rotates, after the server-seed commitment for the coming epoch is already published, and it enters every HMAC-SHA256 computation — changing it produces a completely different draw. 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. This audit exercised both kinds of seed a player can use. In Phase D five epochs ran on seeds of our own choosing — pfaudit-prod-keno-d<k>- plus 12 random hex characters, written into the capture plan before its first read of the seed pair — each submitted in the rotation that opened its epoch and played on all 40 settings; the other 38 epochs ran on fresh seeds from our own CSPRNG, "audit" plus 6 bytes of crypto.getRandomValues. LIQD made the submitted seed active at all 43 epoch openings (Step 7). One example per phase:
audit2431b6dfdbe9— epoch 0, Phase Apfaudit-prod-keno-d1-1dcff8353b77— epoch 35, Phase D (our own choice)audit8d7175c6306f— epoch 40, Phase Eauditb51475756777— epoch 41, Phase Taudit8398a308fb4d— epoch 42, Phase C
audit047790ed49c5 (epoch 6). Evidence: keno-prod-full-7457bets.json1.5Nonce Incrementation
The nonce begins at 0 and increments by 1 for each round under the same seed pair — one nonce per round, a two-row round included. The nonce resets to 0 when the player rotates their seed, starting a new epoch. In this audit we rotated after a planned number of rounds — 200 per epoch in Phase A, 40 in Phases D and E, 20 in Phase T and 197 in Phase C — as our chosen sampling cadence; epoch length is not enforced by the casino — players can rotate at any time. Step 4 audits every epoch for gaps, reuse, and resets: a skipped nonce is where a discarded unfavourable outcome would hide, so the sequence must be contiguous. The epoch sizes are bound to constants in src/pins.ts rather than read from the dataset, so a withheld round cannot be absorbed by shrinking the declared epoch. The round’s nonce must also equal the consumedNonce LIQD reports, the round record’s own nonce and the nonce in the provablyFair block — 7,457 / 7,457 — and every rotation serves nonce 0 for the new pair (Step 2).
export function p4One(v: View): Part { const s = v.s; let exactWindows = 0, fieldsAgree = 0; const bad: string[] = []; for (const x of v.seeds) { const size = s.epochSizeByPhase[x.phase]; const ns = v.bets.filter(b => b.serverSeedHash === x.hashedServerSeed).map(b => b.nonce).sort((a, b) => a - b); const want = Array.from({ length: size ?? 0 }, (_, i) => NONCE_BASE + i); if (size !== undefined && J(ns) === J(want)) exactWindows++; else bad.push(`${x.hashedServerSeed.slice(0, 8)} (phase ${x.phase}) nonces ${ns[0]}…${ns[ns.length - 1]} (${ns.length}), declared ${size}`); } for (const b of v.bets) { if (b.nonce === b.consumedNonce && b.nonce === b.roundNonce && b.nonce === b.raw?.provablyFair?.nonce && b.nonce === b.raw?.consumedNonce) fieldsAgree++; else bad.push(`${b.betId} nonce fields disagree`); } // …1.6Deterministic Mapping
The RNG algorithm is fully deterministic: given the same server seed, client seed and nonce, computeDraw always produces the exact same ten numbers in the same order. It is a forward Fisher–Yates over the board 1–40, stopped after ten swaps: at step i (0–9) the HMAC-SHA256 value of cursor i, taken modulo 40 − i, picks which of the remaining numbers moves into position i, and the first ten positions are the draw. No timing, no picks, no stake, no UI state enters the derivation. Our implementation, written from the specification, reproduced all 7,457 captured drawn lists number for number, in served order. The round below is the featured round used throughout this report — the capture’s largest multiplier, 259× — recompute it yourself with the snippet.
/** * Forward partial Fisher-Yates over 1..40 (spec §2.3), draw cursors starting * at c0: step i uses r = 40 - i and swaps a[i] with a[i + integer(c0+i, r)]. * Returns a[0..9] in that order (the served order). */function partialFisherYates(serverSeed: string, clientSeed: string, nonce: number, c0: number): number[] { const a: number[] = Array.from({ length: GRID }, (_, k) => k + 1); for (let i = 0; i < DRAWN; i++) { const r = DRAW_RANGES[i]; const j = i + generateProvablyFairNumber(serverSeed, clientSeed, nonce, c0 + i, r); const t = a[i]; a[i] = a[j]; a[j] = t; } return a.slice(0, DRAWN);} /** * Normal modes (classic/low/medium/high): no lightning, draw cursors start * at 0 (spec §2.2, §2.3). Picks and stake never enter (spec §1.1). */export function computeDraw(serverSeed: string, clientSeed: string, nonce: number): number[] { return partialFisherYates(serverSeed, clientSeed, nonce, 0);}computeDraw (Step 6) — Phases A, D, E, T and C alike, each two-row round with its one draw. Zero mismatches, zero skipped. No external entropy is mixed into the Keno RNG.Real Round Verified:
{ "betId": "dr1ZSM-Bw58uvkmG4DpdY", "phase": "A", "epoch": 6, "nonce": 193, "clientSeed": "audit047790ed49c5", "mode": "high", "picks": [25, 35, 33, 5], "stake": "0.10000000", "drawn": [33, 2, 5, 17, 12, 29, 25, 35, 3, 28], "hits": 4, "multiplier": 259, "winningAmount": "25.90000000"}Verification:
// verify-keno.js — recompute a LIQD Keno draw from its seedsconst { createHmac } = require('node:crypto');function draw(seed, client, nonce) { const value = cursor => createHmac('sha256', Buffer.from(seed, 'hex')) .update(`${client}:${nonce}:${cursor}`).digest().readUInt32BE(0); const board = Array.from({ length: 40 }, (_, k) => k + 1); for (let i = 0; i < 10; i++) { // forward Fisher–Yates const j = i + value(i) % (40 - i); [board[i], board[j]] = [board[j], board[i]]; } return board.slice(0, 10);}const drawn = draw('4ac1632b65c42e1c4fdbad5afaf513cd', 'audit047790ed49c5', 193);console.log(drawn.join(', ')); // → 33, 2, 5, 17, 12, 29, 25, 35, 3, 28console.log([25, 35, 33, 5].filter(p => drawn.includes(p)).length); // → 4 hits1.7Draw Reproduction, Hit Count & Client Seed Influence
Determinism covers the numbers; Steps 6 and 9 cover what LIQD did with them. Step 6 compares every served drawn list with our recomputation as an ordered list — 7,457 / 7,457 rounds under computeDraw — and checks that both rows of a two-row round carry the round’s one drawn list. Step 9 then checks each round itself: 7,457 / 7,457 served lists hold ten distinct numbers from 1 to 40, every pick set on the 7,477 rows is legal, the served hits value equals |picks ∩ drawn|, and the hits counted from our own draw equal the served hits on every row. To confirm the client seed is a genuine input, Step 7 re-derives every round with a wrong client seed (clientSeed + "x") and with an empty one. An unrelated draw repeats the same ten numbers about once in C(40,10) = 847,660,528 rounds, so each control’s gate is E + 5σ = 1.484 × 10⁻² unchanged rounds; both controls leave 0 of 7,457 unchanged. The seed is demonstrably load-bearing.
export function p7(ctx: Context): Part { const bets = ctx.ds.bets, seeds = ctx.ds.seeds; const sameSet = (a: number[], b: number[]) => { const s = new Set(a); return a.length === b.length && b.every(x => s.has(x)); }; let wrongUnchanged = 0, emptyUnchanged = 0, reproduces = 0; for (const b of bets) { const ss = ctx.seedMap.get(b.serverSeedHash); if (ss === undefined) continue; const own = computeDraw(ss, b.clientSeed, b.nonce); if (sameDraw(own, b.drawn)) reproduces++; if (sameSet(computeDraw(ss, b.clientSeed + 'x', b.nonce), own)) wrongUnchanged++; if (sameSet(computeDraw(ss, '', b.nonce), own)) emptyUnchanged++; } const n = bets.length, E = n / Number(comb(GRID, DRAWN)), gate = E + 5 * Math.sqrt(E);Technical Evidence & Verification5 sections
1.8Evidence Coverage Summary7 checks
| Verification Area | Coverage | Result |
|---|---|---|
| Seed hash integrity (Step 1) | 47 / 47 revealed seeds hash-verified — 43 epochs and the four pre-capture anchors | Pass |
| Next-seed pre-commitment chain (Step 2) | 47 / 47 rotations; each of the four captures anchored before its first round | Pass |
| Hash consistency (Step 3) | 43 / 43 epochs; 7,457 / 7,457 rounds placed by timestamp | Pass |
| Nonce continuity (Step 4) | 0 gaps, 0 duplicates across 43 epochs; nonce fields agree on 7,457 / 7,457 | Pass |
| Draw recomputation (Step 6) | 7,457 / 7,457 drawn lists in served order, with our own implementation | Pass |
| Draw structure & hit counting (Step 9) | 7,457 / 7,457 rounds — ten distinct numbers from 1 to 40; hits recounted from our own draw on 7,477 / 7,477 rows | Pass |
| Client seed influence & control (Step 7) | Wrong and empty client seeds change the draw on 7,457 / 7,457 rounds; five seeds of our own choosing drive 200 / 200 rounds as typed | Pass |
1.9Code References7 source files
| File | Purpose |
|---|---|
| tests/verify.ts | 24-step verification pipeline (Steps 1–4, 6, 7 and 9 cover S1) |
| tests/steps/commitment.ts | Steps 1–5: commit-reveal integrity, nonce continuity and population binding |
| tests/steps/determinism.ts | Steps 6–10: draw recomputation, client-seed controls, bias bound, structure & hits, pick-set independence |
| tests/steps/primary.ts | The capture-scoring part of each step — each capture’s chain rebuilt from its file’s raw rotation replies |
| src/rng.ts | HMAC-SHA256 draw (commitHash, computeDraw, countHits) — written from docs/ALGORITHM.md |
| src/loader.ts | Dataset, capture-file and paytable loading + SHA-256 guard — aborts before any step on a mismatch |
| src/dataset.ts | Reads the dataset and the four capture files; keys every revealed seed by its hash and recomputes every round |
1.10Datasets UsedSource artifacts
| Property | Value |
|---|---|
| Source | Live Keno game data from liqd.com, LIQD’s production site — 7,457 real rounds, all four risk levels, USDT |
| Capture environment | liqd.com · one anonymous account, funded by ProvablyFair.org · four capture runs |
| Total Records | 7,457 rounds (7,477 rows) across 43 epochs |
| Captured | 9 November 2026 (10:31–13:05 UTC) and 10 November 2026 (06:07–11:30 UTC) |
| SHA-256 | 8fe47261fcb208bf0ddef1eb52b68038f34bb2050756b8fbeac9c130142851be |
| Capture files | 4 files, 22,481 records in all — each run’s own export: the plan, the pre-capture read, every rotation reply, every bet request and reply, and LIQD’s verifier reply for every round |
Fields used: serverSeed, hashedServerSeed, nextHashedServerSeed, serverSeedHash, clientSeed, nonce, consumedNonce, mode, drawn, rows (each row’s picks, stake, hits, multiplier, winningAmount), stakeWallet, winningAmountWallet, and from each raw reply the provablyFair block; from the capture files, every rotation’s activeServerSeedHash, nextServerSeedHash, revealedServerSeed, clientSeed and nonce
src/loader.ts recomputes the SHA-256 of the dataset, the four capture files and the declared paytable, and aborts the suite before any step runs on a mismatch (Step 22). Every computational claim downstream of the dataset is reproducible from the file itself.
1.11Verified Invariants10 invariants
| Invariant | Result |
|---|---|
| SHA-256(utf8(serverSeed)) = the commitment in force before its reveal, for all 47 revealed seeds | Pass |
| Next-seed pre-commitment chain intact on all 47 rotations, each capture anchored before its first round | Pass |
| Every round carries its epoch’s commitment and client seed — 7,457 / 7,457, placed by timestamp | Pass |
| Zero nonce gaps within any epoch (contiguous from 0) | Pass |
| Zero nonce duplicates within any epoch; a two-row round uses one nonce | Pass |
| Every epoch holds exactly its declared number of rounds (43 / 43), bound to code constants, not the dataset | Pass |
| Every rotation serves nonce 0 for the new pair (47 / 47) | Pass |
| Same inputs produce the same ten numbers in the same order for all 7,457 rounds | Pass |
| Hits counted from our own draw equal the served hits on all 7,477 rows | Pass |
| A wrong or an empty client seed changes the drawn numbers on 7,457 / 7,457 rounds; five seeds of our own choosing are used as typed | Pass |
1.12Reproduction InstructionsRun locally
Clone the repository, install dependencies, and run the verification suite:
git clone https://github.com/ProvablyFair-org/liqd-keno.gitcd liqd-keno && git checkout v1.2.0npm cinpm run verify# Expected output: Steps 1–4, 6, 7 and 9 PASSSteps 1–4, 6, 7 and 9 cover the Seed, Nonce & Determinism checks. Expected output:
[PASS] Step 1: Seed hash integrity
[PASS] Step 2: Forward commitment chain
[PASS] Step 3: Hash consistency within epoch
[PASS] Step 4: Nonce continuity
[PASS] Step 6: Outcome recomputation (drawn list)
[PASS] Step 7: Client-seed influence & controls
[PASS] Step 9: Draw structure & hit countingRNG & Entropy Model
Is the randomness genuinely random, or could it be rigged?
Each round draws ten numbers from the 40-number board using HMAC-SHA256, a standard cryptographic function, keyed by your seeds and the nonce. Each value picks one of the numbers left, so the ten are always different. 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 7,457 live draws in order. Plain modulo and rejection sampling, the bias-free method, agree on every captured draw.
What we verified
- Each number is drawn with one HMAC-SHA256 value over the client seed, nonce and step, keyed by the server seed
- Only the disclosed inputs affect the draw: no timestamps, no hidden server state, no extra randomness
- Plain modulo and rejection sampling, the bias-free method, agree on every captured draw
- Our own implementation, written from the specification without LIQD’s code, reproduces all 7,457 live draws, in order
- In 10 million simulated rounds the board spreads evenly, hits follow the exact odds, and one round shows no link to the next
- Your client seed is a real input: changing it changed the draw on all 7,457 rounds
What this means for you
- Each draw is generated fairly and cannot be skewed
- The modulo step favoured no number on any captured draw: the bias-free method draws the same ones
- No hidden randomness or server-side tricks influence the draw
- Consecutive rounds are independent: past results don’t affect future ones
- The algorithm depends only on seeds you can verify
- Each number is drawn with one HMAC-SHA256 value over the client seed, nonce and step, keyed by the server seed
- Only the disclosed inputs affect the draw: no timestamps, no hidden server state, no extra randomness
- Plain modulo and rejection sampling, the bias-free method, agree on every captured draw
- Our own implementation, written from the specification without LIQD’s code, reproduces all 7,457 live draws, in order
- In 10 million simulated rounds the board spreads evenly, hits follow the exact odds, and one round shows no link to the next
- Your client seed is a real input: changing it changed the draw on all 7,457 rounds
- Each draw is generated fairly and cannot be skewed
- The modulo step favoured no number on any captured draw: the bias-free method draws the same ones
- No hidden randomness or server-side tricks influence the draw
- Consecutive rounds are independent: past results don’t affect future ones
- The algorithm depends only on seeds you can verify
RNG derived only from disclosed inputsPass
No hidden inputsPass
Our own implementationPass
LIQD verifier cross-checkPass
Draw biasPass
Seed encodingPass
Serial independencePass
Client seed influencePass
Every draw is computed only from the server seed, client seed and nonce, and our own implementation, written from the specification, reproduces every live draw, number for number and in order. In 10 million simulated rounds the board spreads evenly and hits follow the exact odds, with no sign of a link between rounds. The client seed is a real input: changing it changed the draw on every round.
| Check | Result | Evidence |
|---|---|---|
| RNG derived only from disclosed inputs | Pass | One HMAC-SHA256 value per number drawn, ten per round, from the server seed, client seed and nonce, with no hidden randomness |
| No hidden inputs | Pass | No timestamps, outside services or server-side state: every draw recomputes from the three disclosed inputs alone |
| Our own implementation | Pass | Written from the specification, not from LIQD’s code, it reproduces all 7,457 live draws in order |
| LIQD verifier cross-check | Pass | LIQD’s own verifier returned the same numbers, in order, for all 7,457 rounds: a second check, not the source |
| Draw bias | Pass | Plain modulo and rejection sampling agree on all 7,457 captured draws: none of the 74,570 draw steps fell where the two can differ |
| Seed encoding | Pass | The server seed is used as bytes for the draw and as text for its hash, and every round and every revealed seed matches that way |
| Serial independence | Pass | No sign of a link between one round’s hits and the next, in any of ten simulated streams of a million rounds |
| Client seed influence | Pass | A wrong or empty client seed changes the drawn numbers on all 7,457 rounds |
RNG derived only from disclosed inputsPass
No hidden inputsPass
Our own implementationPass
LIQD verifier cross-checkPass
Draw biasPass
Seed encodingPass
Serial independencePass
Client seed influencePass
Every draw is computed only from the server seed, client seed and nonce, and our own implementation, written from the specification, reproduces every live draw, number for number and in order. In 10 million simulated rounds the board spreads evenly and hits follow the exact odds, with no sign of a link between rounds. The client seed is a real input: changing it changed the draw on every round.
How It Works — RNG & Entropy Model7 sections
2.1RNG Function Implementation
Each Keno round makes ten draws, one per HMAC cursor. An HMAC-SHA256 digest is computed with the hex-decoded server seed as key and clientSeed:nonce:cursor as the message; its first 4 bytes, read as a big-endian unsigned integer, give value(cursor), and value mod r picks a position among the r numbers still on the board. Cursor i (0–9) draws with r = 40 − i, so the ranges run 40, 39, … 31, and a forward Fisher–Yates swap moves the chosen number into position i; the first ten positions, in order, are the drawn list. The picks and stake never enter this function — they are applied to the drawn list afterwards.
| Component | Detail |
|---|---|
| Hash function | HMAC-SHA256 (32-byte digest) |
| Key | hex_decode(serverSeed) — 16 raw bytes (distinct from the commitment domain, which hashes the seed text) |
| Message | clientSeed:nonce:cursor — UTF-8, literal colons, no padding |
| Cursor schedule | Cursors 0–9, one per drawn number, on every risk level |
| Extraction | First 4 digest bytes → readUInt32BE → uint32; the specification reads no further bytes |
| Reduction | uint32 mod r with r = 40 − i — ranges 40, 39, … 31 |
| Board | [1 … 40]; step i swaps position i with position i + (uint32 mod r) |
| Output order | Positions 0–9 after the ten swaps, in that order — the served drawn list, compared as an ordered list |
| Output | Ten distinct numbers per round — the picks of each row are compared with them afterwards |
const U32_SPACE = 0x1_0000_0000; // 2^32// …/** * value(cursor) (spec §2.1): HMAC-SHA256 keyed by the decoded seed over the * UTF-8 message, first 4 digest bytes read as an unsigned big-endian 32-bit * integer. The remaining 28 bytes are unused. */function cursorValue(serverSeed: string, clientSeed: string, nonce: number, cursor: number): number { const digest = createHmac("sha256", hmacKey(serverSeed)) .update(Buffer.from(hmacMessage(clientSeed, nonce, cursor), "utf8")) .digest(); return digest.readUInt32BE(0);}// …export function maxFairFor(range: number): number { assertRange(range); return U32_SPACE;} /** * integer(cursor, range) (spec §2.1): value(cursor) mod range, in [0, range). * One chunk per cursor; under the spec's rule it is always accepted, so the * "throw if none accepted" path is unreachable but kept as a guard. */export function generateProvablyFairNumber( serverSeed: string, clientSeed: string, nonce: number, cursor: number, range: number,): number { assertRange(range); const v = cursorValue(serverSeed, clientSeed, nonce, cursor); if (v >= maxFairFor(range)) { throw new Error(`no accepted value for cursor ${cursor}, range ${range}`); } return v % range;}docs/ALGORITHM.md), not from LIQD’s code, which the audit does not hold; its unit specs reproduce production rounds from their revealed seeds as fixed vectors — a Phase A round, a round under a client seed of our own choosing, a two-row round and an elevated-stake round (tests/keno/rngTests.ts). LIQD’s own verify endpoint is queried as-is and used only as a cross-check — it returns the served drawn list on 7,457 / 7,457 scored rounds (Step 24).2.2Entropy Sources
All randomness derives exclusively from the deterministic HMAC-SHA256 function combining cleanly separated inputs — each visible in the fairness panel or the round record:
| Source | Controlled By | Purpose |
|---|---|---|
| Server Seed | Casino | Base randomness — the HMAC key, committed via SHA-256 hash of the seed text before play |
| Client Seed | Player | Player-contributed entropy — mixed into every HMAC message |
| Nonce | System | Uniqueness per round (from 0 within each epoch, audited gap-free) |
| Cursor | System | The draw step, 0–9. An index, not an entropy source |
How we know: 7,457 / 7,457 rounds were recomputed using only the declared inputs. If any hidden entropy source existed, recomputation would fail. It does not.
Verified absent: No timestamps, no Math.random(), no external APIs, no server-side mutable state, and no external beacon (no drand round, block hash, or VRF). Only: HMAC-SHA256(hexDecode(serverSeed), clientSeed:nonce: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 step takes uint32 mod r for r from 40 down to 31. Modulo bias occurs because 2^32 is not evenly divisible by most of these ranges — for r = 40 the 32-bit space holds 107,374,182 complete cycles plus a remainder of 16 values, so the residues 0–15 are each reachable one extra time. Our specification takes plain modulo, which leaves a bias far below any measurable level; a rule that instead rejects any value at or above floor(2^32 / r) × r and reads the next 4 bytes would make the bias exactly 0. The two rules can draw differently only when a step’s value lands in that top zone:
range r 2^32 mod r worst bias per draw (plain mod)
40 16 1.397e-10
39 22 1.313e-10
38 6 1.961e-10
37 7 1.888e-10
36 4 2.070e-10 ← worst
35 11 1.597e-10
34 18 1.233e-10
33 4 2.046e-10
32 0 0 (exact)
31 4 2.028e-10
2^-32 for comparison 2.328e-10
expected zone steps = 92 / 2^32 ≈ 2.142e-8 per round
a different round ≈ 1 in 4.8 × 10^7 (about 1 round in 48 million)
zone steps observed = 0 of 74,570 (7,457 rounds × 10 steps)The bound is computed in exact integer arithmetic from the ranges the draw uses (src/bias.ts), so the figures describe the code that produced the draws: every range’s worst bias stays below 2⁻³², and Step 8 fails the audit if one does not. Step 8 also counts, over every scored round, the steps whose value falls in the zone where plain modulo and a rejection rule part ways: 0 of 74,570 steps (expected 1.597 × 10⁻⁴). With no zone step in the capture, the two rules give the same draw on every scored round.
2.4RNG Isolation & Pick-Set Independence
Each round uses a unique nonce in the HMAC message (clientSeed:nonce:cursor), ensuring per-round outputs are cryptographically independent. HMAC-SHA256 is a pseudorandom function — knowing one round’s draw gives no usable information about any other round under the same seed pair. There is no shared state between rounds or between epochs, and the picks never meet the RNG: the ten numbers are produced first, in isolation, and the picks are compared with them afterwards — on a two-row round, both rows against the same ten numbers.
computeDraw takes three arguments and names no pick, risk or stake field; 43 / 43 epochs changed the risk and pick set from round to round under one seed pair (20–200 distinct combinations per epoch), and all 7,457 of their rounds recompute by the same picks-free function — the 40 rounds with random picks (Phase E) included (Step 10).Evidence: The computeDraw implementation in 1.6 confirms this — it is a pure function with no class state, no external calls, and no cross-round memory. It takes exactly three arguments (serverSeed, clientSeed, nonce) — no picks, no risk, no stake, no timestamp, no account identifier — and returns ten numbers. Same inputs always produce the same output; if any hidden input influenced the draw, the reference implementation (which lacks that input) could not reproduce 7,457 / 7,457 rounds. The strongest in-capture evidence: every Phase A epoch changes the risk, the pick count and the pick set from round to round — 192 to 199 distinct pick sets in each 200-round epoch under one seed pair — and every draw still recomputes.
2.5Monte Carlo Simulation (10M Rounds)
A 10,000,000-round Monte Carlo simulation checks the algorithm’s distribution at scale. It runs ten streams of 1,000,000 rounds, one per pick count (pick set 1…n), on seed pairs derived from a pinned master seed — independent of LIQD’s seeds — so the whole experiment replays byte for byte: npm run test:full regenerates the committed artifact and compares it field by field, and every verify replays the first 50,000 rounds of each stream exactly. computeDraw takes no pick, risk or stake argument (Step 10), so the four risk levels of a pick count share one stream’s draws, and each stream prices every risk level’s row. Each stream records integer counts only — how often each of the 40 numbers was drawn, the hit histogram and the sums for the serial screen — and Step 19 re-derives every statistic from those integers.
| Metric | Value |
|---|---|
| Rounds | 10,000,000 — 10 streams × 1,000,000, one per pick count |
| Seeds | Our own, from the pinned master seed b5f1c0de6b656e6f2d706173732d3120 — replayable byte for byte |
| Replay on every verify | The first 50,000 rounds of all 10 streams reproduce the recorded census exactly |
| Board uniformity (df 39) | 10 / 10 streams pass; smallest p = 0.0288 (1 pick) |
| Hit law (χ², exact probabilities) | 10 / 10 streams pass; smallest p = 0.0841 (1 pick) |
| Serial screen (lag-1 of hit counts) | 10 / 10 streams pass; |ρ| ≤ 0.0018, smallest p = 0.0724 |
| Picks | Board uniformity p | Hit law χ² p | Lag-1 ρ (p) |
|---|---|---|---|
| 1 | 0.0288 | 0.0841 | −0.00180 (0.0724) |
| 2 | 0.6442 | 0.8531 | 0.00103 (0.3009) |
| 3 | 0.2241 | 0.9181 | −0.00067 (0.5042) |
| 4 | 0.6905 | 0.2310 | 0.00035 (0.7275) |
| 5 | 0.3409 | 0.2175 | 0.00064 (0.5221) |
| 6 | 0.2944 | 0.7791 | −0.00118 (0.2382) |
| 7 | 0.6026 | 0.9334 | 0.00005 (0.9564) |
| 8 | 0.4811 | 0.5592 | −0.00065 (0.5129) |
| 9 | 0.6677 | 0.5674 | −0.00099 (0.3202) |
| 10 | 0.0911 | 0.9388 | 0.00075 (0.4508) |
export const PASS1_MASTER_SEED = 'b5f1c0de6b656e6f2d706173732d3120';export const PASS1_ROUNDS = 1_000_000;export const PASS1_PREFIX = 50_000;export const PASS1_PICK_COUNTS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];// …export function pass1Seeds(picks: number): { serverSeed: string; clientSeed: string } { return { serverSeed: deriveSeedHex(PASS1_MASTER_SEED, 'pass1-server', picks), clientSeed: deriveSeedHex(PASS1_MASTER_SEED, 'pass1-client', picks) };}All thirty screens pass. Each stream gets three tests — board uniformity (the 40 number counts against an equal share, with a statistic corrected for drawing ten numbers without replacement, df 39), the hit law (the hit histogram against the exact hypergeometric probabilities, χ²) and the lag-1 correlation of consecutive hit counts — each judged against α / 30 = 3.333 × 10⁻⁵, so the family of 30 has level α = 0.001. The smallest of the 30 p-values is 0.0288.
Methodology: a Keno round draws ten numbers without replacement, so the 40 counts are negatively correlated and the plain χ² has mean 40 − 10 = 30 rather than 39; multiplying it by (40 − 1) / (40 − 10) restores the χ²(39) reference. The hit law is the direct test of what the player experiences — how many of their picks come up — and it is checked against exact probabilities, never against an estimate. The RTP convergence of every paytable row, priced from the same streams, is reported in S4.5.
2.6Serial Independence
Serial independence ensures consecutive rounds are not correlated — a round with many hits does not make the next one more or less likely to hit. The screen runs on every Pass 1 stream, and the 7,457 captured rounds are fitted as well, informationally:
Lag-1 autocorrelation: The correlation between consecutive hit counts in each 1,000,000-round stream, computed from the integer sums the stream records (Σh, Σh², Σh_t·h_{t+1}), standardised as z = ρ · √n and judged two-sided at α / 30. All ten streams clear it: |ρ| ≤ 0.0018, smallest p = 0.0724 (Step 19).
Live-sample fit (informational): The 7,457 captured draws against a uniform board give corrected T = 29.984, df 39, p = 0.8497; the served hit counts fit the exact law at every pick count (p from 0.1697 to 0.7576, 728 rows each and 925 with 3 picks) (Step 21). These fits are reported for information rather than scored; the draw itself is proven round by round in Step 6.
/** Lag-1 correlation from integer sums: n, Σx, Σx², Σ x_t·x_{t+1} (n−1 pairs). */export function lag1(n: number, sx: number, sxx: number, sxy: number): number { const mean = sx / n, v = sxx / n - mean * mean; if (v <= 0 || n < 3) return 0; return (sxy / (n - 1) - mean * mean) / v;}2.7Worked Example — Full Draw Trace
Real round from the dataset — bet dr1ZSM-Bw58uvkmG4DpdY (epoch 6, nonce 193), High, 4 picks — the capture’s largest multiplier. Verified from the production capture. Ten HMAC digests, one per cursor; each step picks a position among the numbers still on the board and swaps it into place:
serverSeed = 4ac1632b65c42e1c4fdbad5afaf513cd (HMAC key: its 16 decoded bytes)
clientSeed = audit047790ed49c5
nonce = 193
risk = High (the draw is the same for every risk)
picks = 25, 35, 33, 5
message = audit047790ed49c5:193:<cursor>
digest (cursor 0) = 31a66a60067368666ae73b260d291df025fd0e0c4bd723c480987a5998467a82
board = [1, 2, …, 40]; step i takes the first 4 bytes of cursor i mod (40 − i)| cursor | range | first 4 bytes | uint32 | j′ = uint32 mod r | swap a[i] ↔ a[i + j′] | drawn[i] |
|---|---|---|---|---|---|---|
| 0 | 40 | 31a66a60 | 832,989,792 | 32 | 1 ↔ 33 | 33 |
| 1 | 39 | f1380ced | 4,046,982,381 | 0 | 2 stays | 2 |
| 2 | 38 | 93314db6 | 2,469,481,910 | 2 | 3 ↔ 5 | 5 |
| 3 | 37 | 5b03f3af | 1,526,985,647 | 13 | 4 ↔ 17 | 17 |
| 4 | 36 | 0cdf616b | 215,966,059 | 7 | 3 ↔ 12 | 12 |
| 5 | 35 | 8502e473 | 2,231,559,283 | 23 | 6 ↔ 29 | 29 |
| 6 | 34 | 8ef158f4 | 2,398,181,620 | 18 | 7 ↔ 25 | 25 |
| 7 | 33 | 15dd01f0 | 366,805,488 | 27 | 8 ↔ 35 | 35 |
| 8 | 32 | a34a5103 | 2,739,556,611 | 3 | 9 ↔ 3 | 3 |
| 9 | 31 | 69a6e268 | 1,772,544,616 | 18 | 10 ↔ 28 | 28 |
Technical Evidence & Verification5 sections
2.8Evidence Coverage Summary11 checks
| Verification Area | Coverage | Result |
|---|---|---|
| Our implementation (Step 6) | 7,457 / 7,457 rounds in served order — written from the specification; its unit specs hold production rounds as fixed vectors | Pass |
| LIQD verifier cross-check (Step 24) | 7,457 / 7,457 replies return the served drawn list — every scored round | Pass |
| Key encoding (hex vs UTF-8) | HMAC keys the decoded bytes (7,457 / 7,457 recomputed, Step 6); the commitment hashes the text (47 / 47 reveals, Step 1) | Pass |
| Draw bias bound (Step 8) | Worst 2.070 × 10⁻¹⁰ per draw, below 2⁻³² on every range; 0 of 74,570 captured steps in the rejection zone | Pass |
| External entropy non-participation (Step 6) | 7,457 / 7,457 reproduced from disclosed inputs alone | Pass |
| Pick-set independence (Step 10) | No pick, risk or stake argument; 43 / 43 epochs vary their picks, 7,457 / 7,457 recompute | Pass |
| Board uniformity (Step 19) | 10 / 10 streams of 1,000,000 rounds; smallest p = 0.0288 against 3.333 × 10⁻⁵ | Pass |
| Hit law (Step 19) | 10 / 10 streams fit the exact hypergeometric probabilities; smallest p = 0.0841 | Pass |
| Serial independence (Step 19) | Lag-1 of hit counts on 10 / 10 streams; |ρ| ≤ 0.0018, smallest p = 0.0724 | Pass |
| Live-sample fit (Step 21, informational) | The 7,457 captured draws: board p = 0.8497; hit law p 0.1697–0.7576 | Pass |
| Client seed influence (Step 7) | Wrong and empty client seeds change the draw on 7,457 / 7,457 rounds | Pass |
2.9Code References10 source files
| File | Purpose |
|---|---|
| src/rng.ts | HMAC-SHA256 draw (commitHash, generateProvablyFairNumber, computeDraw) — written from docs/ALGORITHM.md |
| docs/ALGORITHM.md | The specification the RNG was written from — inputs, commitment, derivation, hits and payout, a worked production round, and how each rule is held to the game |
| src/bias.ts | The draw-bias bound and the rejection-zone census over every scored round (Step 8) |
| src/sim.ts | Simulation kernels shared by the producer and the verifier — Pass 1 streams from the pinned master seed |
| src/simulate.ts | npm run simulate — produces the simulation artifact; --compare regenerates it and diffs it field by field |
| src/stats.ts | Board uniformity corrected for drawing without replacement, χ² fit (regularized incomplete gamma), lag-1 from integer sums |
| tests/steps/determinism.ts | Steps 6–10: draw recomputation, client-seed controls, bias bound, structure & hits, pick-set independence |
| tests/steps/simulation.ts | Steps 19–20: Pass 1 statistics re-derived from the artifact’s integer rows and the 50,000-round replay; Pass 2 |
| tests/keno/rngTests.ts | 13 unit tests — the commitment convention, production rounds as fixed vectors (Phases A, D, T and C), the worked example of docs/ALGORITHM.md, client-seed sensitivity, the bias bound and hit counting |
| tests/keno/exactTests.ts | 8 unit tests — the exact hit law, the paytable read digit for digit, fixed RTP vectors |
2.10Verified Invariants11 invariants
| Invariant | Result |
|---|---|
| HMAC-SHA256 output matches the live game for all 7,457 rounds — drawn list in order | Pass |
| Key is hex-decoded (16 bytes, not UTF-8) — wrong encoding produces wrong draws | Pass |
| Message format is clientSeed:nonce:cursor — literal colons, no padding | Pass |
| First 4 digest bytes, big-endian — one value per cursor | Pass |
| Ranges 40 … 31 in step order; forward Fisher–Yates over 1–40; output order = served order | Pass |
| Plain-modulo bias below 2⁻³² on every range (worst 2.070 × 10⁻¹⁰ per draw) | Pass |
| Zero rejection-zone steps across all 74,570 captured draw steps (expected 1.597 × 10⁻⁴) | Pass |
| No external entropy sources required for draw computation | Pass |
computeDraw takes no pick, risk or stake argument — 7,457 / 7,457 rounds recompute by it | Pass |
| Board uniformity, hit law and lag-1 pass on all 10 simulated streams at α / 30 | Pass |
| A client seed change produces a different draw on 7,457 / 7,457 rounds under both controls | Pass |
2.11Datasets UsedSource artifacts
2.12Reproduction InstructionsRun locally
Clone the repository, install dependencies, and regenerate the simulation before verifying:
git clone https://github.com/ProvablyFair-org/liqd-keno.gitcd liqd-keno && git checkout v1.2.0npm cinpm run test:full # regenerates the 10M-round simulation from its pinned master seed, compares it, then verifiescat outputs/simulation-results.json | head -40S2-related steps:
[PASS] Step 6: Outcome recomputation (drawn list)
[PASS] Step 7: Client-seed influence & controls
[PASS] Step 8: Draw bias bound
[PASS] Step 10: Pick-set independence
[PASS] Step 19: Simulation Pass 1 (fresh seeds)
[PASS] Step 21: Live-sample fit (informational)
[PASS] Step 24: Operator-verifier parity
The regenerated outputs/run/simulation-results.json matches the committed outputs/simulation-results.json field for field (SHA-256 8c1a95a4…): REPRODUCED, with no difference even within tolerance.Verifier Parity
Does the live game actually follow its own rules?
For every one of the 7,457 rounds, we recomputed the draw from the revealed seeds and compared it with what the live game served: all ten numbers, in the order they were drawn. We also recounted every hit, matched every multiplier to its cell in LIQD’s paytable, and checked every payout to the 8th decimal, row by row and at both stakes. A single mismatch would break the fairness guarantee. There were none.
What we verified
- Every round recomputed from its seeds: all ten numbers matched, in order, not just the payout
- Hits recounted from our own draw on every row, and every multiplier is its paytable cell
- All 7,477 reported payouts matched stake × paytable multiplier exactly, and the 4,516 zero-cell rows paid 0
- LIQD’s own verifier returned the same round for all 7,457
- All 40 settings covered, 175 rounds each, plus two-row rounds and 197 Classic / 3 rounds at $10.00
What this means for you
- Our recomputation gets the exact draw the live game served, on every round
- Every round you play can be independently recomputed by anyone
- No hidden logic changes the draw based on the numbers you pick
- The live game we tested follows its algorithm and its paytable exactly
- Every round recomputed from its seeds: all ten numbers matched, in order, not just the payout
- Hits recounted from our own draw on every row, and every multiplier is its paytable cell
- All 7,477 reported payouts matched stake × paytable multiplier exactly, and the 4,516 zero-cell rows paid 0
- LIQD’s own verifier returned the same round for all 7,457
- All 40 settings covered, 175 rounds each, plus two-row rounds and 197 Classic / 3 rounds at $10.00
- Our recomputation gets the exact draw the live game served, on every round
- Every round you play can be independently recomputed by anyone
- No hidden logic changes the draw based on the numbers you pick
- The live game we tested follows its algorithm and its paytable exactly
Draw recomputationPass
Hit countingPass
Paytable cell matchPass
Payout arithmeticPass
Wallet fields in bet repliesPass
Two-row roundsPass
LIQD verifier parityPass
Setting coveragePass
All 7,457 rounds matched our recomputation exactly: the numbers in order, hits, multipliers and payouts, on all 40 settings and on both rows of every two-row round, with Classic / 3 matching at both $0.10 and $10.00. Every multiplier is the paytable cell, and LIQD’s own verifier returns the same result for every round.
| Check | Result | Evidence |
|---|---|---|
| Draw recomputation | Pass | All 7,457 draws match exactly, every number in the order served, in every part of our run |
| Hit counting | Pass | Every hit count matches the numbers you picked against the draw, on all 7,477 rows |
| Paytable cell match | Pass | Every multiplier is exactly its paytable cell, on all 7,477 rows |
| Payout arithmetic | Pass | All 7,477 reported payouts matched stake × paytable multiplier exactly; all 4,516 zero-cell rows pay exactly 0 |
| Wallet fields in bet replies | Pass | The wallet fields in each of LIQD’s bet replies match its game fields on all 7,477 rows, and each round’s totals equal the sum of its rows |
| Two-row rounds | Pass | All 20 two-row rounds: one draw and one nonce, each row paid on its own cell, and the two rows never share a number |
| LIQD verifier parity | Pass | LIQD’s own verifier returned the same round on all 7,457: the numbers in order, and every row’s hits and multiplier |
| Setting coverage | Pass | All 40 settings played 175 times each in our main run, reaching 196 of the 260 paytable cells |
Draw recomputationPass
Hit countingPass
Paytable cell matchPass
Payout arithmeticPass
Wallet fields in bet repliesPass
Two-row roundsPass
LIQD verifier parityPass
Setting coveragePass
All 7,457 rounds matched our recomputation exactly: the numbers in order, hits, multipliers and payouts, on all 40 settings and on both rows of every two-row round, with Classic / 3 matching at both $0.10 and $10.00. Every multiplier is the paytable cell, and LIQD’s own verifier returns the same result 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 drawn list from raw inputs with our own code, recounts the hits, looks up the multiplier in LIQD’s declared paytable and recomputes the credit — then compares all of it against what LIQD’s bet replies report. 100% parity is required: a single mismatch anywhere in 7,457 rounds would indicate a bug in the verification logic, manipulation in the live game, or an inconsistent RNG implementation.
3.2Collection Design
The scored capture is five phases built for coverage, all on liqd.com: every risk level and every pick count at the base stake, client seeds of our own choosing, randomly chosen picks, two-row rounds and an elevated stake. In Phase A the setting moves on with every round, so each 200-round epoch plays all 40 settings five times; pick sets are drawn at random for every round, and every epoch runs on a fresh client seed.
| Phase | Rounds | Config | Bet Amount | Purpose |
|---|---|---|---|---|
| A — every setting | 7,000 | Classic, Low, Medium, High × picks 1–10, 175 rounds each (35 epochs of 200) | $0.10 | Draw, hits, cell and payout on all 40 settings |
| D — player-set seeds | 200 | All 40 settings once under each of five client seeds of our own choosing (5 epochs of 40) | $0.10 | The client seed a player sets is used exactly as typed |
| E — random picks | 40 | All 40 settings once, picks drawn at random (1 epoch) | $0.10 | Any legal pick set settles like any other |
| T — two rows | 20 | Add Second Bet: two rows per round, 10 rounds on Classic and 10 on Low (1 epoch) | $0.10 per row | One draw and one nonce per round, each row paid on its own cell |
| C — elevated stake | 197 | Classic, 3 picks (1 epoch) | $10.00 | The same draw and the same cells at 100 times the base stake |
3.3Draw Recomputation (Step 6)
For every round, the audit computes the drawn list as computeDraw(serverSeed, clientSeed, nonce) with the epoch’s revealed server seed — ten HMAC-SHA256 steps of a forward Fisher–Yates shuffle over 1–40 — and compares it with the served drawn as an ordered list: the same ten numbers in the same order, no tolerance. Every row of a round must carry that same list — a two-row round has one draw. Every revealed seed is used and every round is compared — coverage equals the population.
export function recomputeAll(ds: Dataset, seedMap: Map<string, string>): Map<string, number[]> { const out = new Map<string, number[]>(); for (const b of ds.bets) { const ss = seedMap.get(b.serverSeedHash); if (ss !== undefined) out.set(b.betId, computeDraw(ss, b.clientSeed, b.nonce)); } return out;}// …export function p6(ctx: Context): Part { let match = 0, oneDraw = 0; const bad: string[] = []; for (const b of ctx.ds.bets) { const r = ctx.recomputed.get(b.betId); if (r && sameDraw(r, b.drawn)) match++; else bad.push(`${b.betId} (${b.mode}/${b.picks.length} epoch ${b.epoch} nonce ${b.nonce})`); // One draw per round: every served row of the round carries the same drawn list. if (b.raw.round.wagers.every(w => sameDraw(w.outcome.drawn, b.drawn))) oneDraw++; else bad.push(`${b.betId} rows carry different drawn lists`); }drawn field.3.4Paytable Cell & Multiplier (Step 11)
Keno has no multiplier formula: each (risk, picks, hits) cell of LIQD’s paytable is its own multiplier, so the table itself is the payout rule. The audit’s declared table is LIQD’s client paytable — the object literal shipped in the Keno page code of liqd.com, read on 28 October 2026 (and on 19 October, the same bytes) and saved byte for byte (E02, SHA-256 767b7230…). It is parsed as data and never evaluated: 4 risk levels × 1–10 picks = 40 rows, 260 cells; the literal also carries a fifth key, wtf, a risk liqd.com does not offer, which is never priced. All four captures name the table they were priced by with that digest. Step 11 looks up every row’s cell from our own hit count — never the served one — and compares the served multiplier with it as an exact rational: 7,477 / 7,477 rows equal their cell exactly. 196 of the 260 cells were reached by at least one production row, 108 of them paying cells; for each of the other 64 — the rare high-hit cells — LIQD’s verifier, asked about a revealed round with picks that land in the cell, returns the declared multiplier (64 / 64, E10). No operator odds or probability field is read.
| Metric | Count |
|---|---|
Rows where multiplier equals the declared cell, exactly | 7,477 / 7,477 |
| Paying rows | 2,961 |
| Captures that name the declared table by its SHA-256 | 4 / 4 |
| Paytable cells reached by a production row | 196 of 260 (108 of the 172 paying cells) |
| Unreached cells where LIQD’s verifier returns the declared multiplier | 64 / 64 (E10) |
export function price(ctx: Context, x: ScoredRow) { const r = ctx.recomputed.get(x.bet.betId); const hits = countHits(x.row.picks, r ?? x.bet.drawn); return { hits, cell: clientCell(ctx.clientTable, x.bet.mode, x.row.picks.length, hits) };}// … let equal = 0; const paying: Record<string, number> = {}; const cells = new Map<string, boolean>(); for (const x of ctx.rows) { const p = price(ctx, x); if (!p.cell) { bad.push(`no declared cell ${x.bet.betId} row ${x.index}`); continue; } if (eq(p.cell.q, decimalToQ(x.row.multiplier))) equal++; else bad.push(`${x.bet.betId} row ${x.index} ${cellKey(x, p.hits)} served ${x.row.multiplier} declared ${p.cell.text}`); if (p.cell.q.n > 0n) paying[x.bet.phase] = (paying[x.bet.phase] ?? 0) + 1; cells.set(cellKey(x, p.hits), p.cell.q.n > 0n);3.5Payout Arithmetic & Wallet Fields (Step 12)
Step 12 replays the money in exact integer arithmetic on 1e-8 units: each row’s winningAmount must equal floor(stake × cell) with zero tolerance, and a zero cell must pay exactly 0. At both stakes played, $0.10 and $10.00, every product falls exactly on the 8-decimal grid (7,477 / 7,477), so no row needed rounding at all. The wallet-denominated fields stakeWallet and winningAmountWallet must equal the game fields, result must read won exactly when the multiplier is above 0, and a round’s total stake and payout must be the sums of its rows’. Step 14 adds a bound on every row: no payout may exceed the stake times its row’s top cell.
| Scope | Coverage | Verified |
|---|---|---|
Credit — winningAmount == floor(stake × cell), in 1e-8 units | 7,477 rows | 7,477 / 7,477 |
Zero cells — winningAmount == 0 | 4,516 rows | 4,516 / 4,516 |
Wallet fields — stakeWallet / winningAmountWallet equal the game fields | 7,477 rows | 7,477 / 7,477 |
Label — result is won exactly when the multiplier is above 0 | 7,477 rows | 7,477 / 7,477 |
| Round totals — stake and payout are the sums of the rows’ | 7,457 rounds | 7,457 / 7,457 |
| Bound — payout ≤ stake × the row’s top cell, Step 14 | 7,477 rows | 7,477 / 7,477 |
const p = price(ctx, x); if (!p.cell) { bad.push(`no cell ${x.bet.betId} row ${x.index}`); continue; } const prod = mul(q(units8(x.row.stake)), p.cell.q); // exact, in 1e-8 units const floor = prod.n / prod.d, rem = prod.n % prod.d; const win = units8(x.row.winningAmount); if (rem === 0n) onGrid++; else offGrid++; if (win === floor) paid++; else bad.push(`${x.bet.betId} row ${x.index} stake ${x.row.stake} × ${p.cell.text} paid ${x.row.winningAmount}`); if (p.cell.q.n === 0n) { zeroN++; if (win === 0n) zeroOk++; } const w = x.bet.raw.round.wagers[x.index]; if (w && w.stakeWallet === x.row.stake && w.winningAmountWallet === x.row.winningAmount) walletSame++; else bad.push(`wallet ${x.bet.betId} row ${x.index}`); if (x.row.result === (p.cell.q.n > 0n ? 'won' : 'lost')) labelOk++; else bad.push(`label ${x.bet.betId} row ${x.index} ${x.row.result}`);// … // Round totals: the round's stake and payout are the sums of its rows' (each row floored on its own). let totals = 0; for (const b of ctx.ds.bets) { const st = b.rows.reduce((a, r) => a + units8(r.stake), 0n), wn = b.rows.reduce((a, r) => a + units8(r.winningAmount), 0n); if (units8(b.stakeTotal) === st && units8(b.wonTotal) === wn) totals++; else bad.push(`round totals ${b.betId}`); }3.6Hit Counting & Draw Structure (Step 9)
Before a hit can be counted, the round itself must be well formed. Step 9 checks every served round: the drawn list holds ten distinct whole numbers from 1 to 40; the picks of every row are a legal set of 1–10 distinct numbers from 1 to 40; the served hits value equals |picks ∩ drawn|; and the recorded fields equal the raw bet reply. It then counts the hits again from our own recomputed draw and requires it to equal the served count — 7,477 / 7,477 rows. lightning is null on every round, and the two rows of each two-row round share no number.
const legalDraw = (d: unknown) => Array.isArray(d) && d.length === DRAWN && new Set(d).size === DRAWN && d.every(x => Number.isInteger(x) && x >= INDEX_BASE && x < INDEX_BASE + GRID);export const legalPicks = (p: unknown) => Array.isArray(p) && p.length >= PICKS_MIN && p.length <= PICKS_MAX && new Set(p).size === p.length && p.every(x => Number.isInteger(x) && x >= INDEX_BASE && x < INDEX_BASE + GRID);// …/** hits = |set(picks) intersect set(drawn)| (spec §2.4). */export function countHits(picks: readonly number[], drawn: readonly number[]): number { const d = new Set(drawn); let hits = 0; for (const p of new Set(picks)) if (d.has(p)) hits++; return hits;}3.7LIQD Verifier Cross-Check (Step 24)
LIQD publishes its own verifier — the Verify tab inside the Keno game, backed by POST /api/v1/originals/keno/verify. Each capture run, after its last bet, called that endpoint once for every round it had settled — no bet placed — and stored every reply as received in the capture file, with its request, HTTP status, date header, body and the body’s SHA-256: 7,457 replies, dated 9 and 10 November 2026. Each reply must be the only reply for its round, intact, and carry the round’s own revealed server seed, client seed, nonce, risk and picks — both rows on a two-row round — and return the served drawn list in order, lightning null, and every row’s hits and multiplier. Coverage equals the population: there is no sample. LIQD’s verifier is a cross-check, not the source: all 7,457 rounds are recomputed by our own implementation (Step 6).
| Check | Result |
|---|---|
| Replies stored as received, HTTP 200 — one per scored round | 7,457 / 7,457 |
| Body intact — its recorded length and SHA-256 | 7,457 / 7,457 |
| Request = the round’s revealed seeds, nonce, risk and picks | 7,457 / 7,457 |
| Drawn list, in order = served = our recomputation | 7,457 / 7,457 |
lightning null | 7,457 / 7,457 |
| Hits of every row | 7,457 / 7,457 |
| Multiplier of every row = served = the declared cell | 7,457 / 7,457 |
| Rows covered — both rows of the 20 two-row rounds included | 7,477 / 7,477 |
const ss = seedMap.get(b.serverSeedHash); if (ss !== undefined && v.request?.body === expectedRequest(b, ss) && v.nonce === b.nonce) c.request++; else c.problems.push(`${b.betId} request is not the round's revealed inputs`); // … if (Array.isArray(o?.drawn) && sameDraw(o.drawn, b.drawn)) c.drawn++; else c.problems.push(`${b.betId} verifier drawn ≠ served`); const mine = recomputed.get(b.betId); if (Array.isArray(o?.drawn) && mine && sameDraw(o.drawn, mine)) c.ours++; else c.problems.push(`${b.betId} verifier drawn ≠ recomputed`); if (o?.lightning === null) c.lightning++; else c.problems.push(`${b.betId} verifier lightning`); const rows = Array.isArray(o?.rows) ? o.rows : []; if (rows.length === b.rows.length && b.rows.every((x, k) => rows[k]?.hits === x.hits)) c.hits++; else c.problems.push(`${b.betId} verifier hits ≠ served`); if (rows.length === b.rows.length && b.rows.every((x, k) => rows[k]?.multiplier === x.multiplier)) c.multiplier++; else c.problems.push(`${b.betId} verifier multiplier ≠ served`);3.8Bet-Size Invariance (Steps 13, 16)
In the specification, Keno’s draw cannot see your stake: computeDraw(serverSeed, clientSeed, nonce) takes three arguments and its body names no pick, risk or stake field (Step 10). LIQD’s declared paytable is keyed by risk, picks and hits only — it has no stake dimension, so it specifies the same multiplier at every stake — and the stake enters once, at settlement, as floor(stake × multiplier). Phase C puts that to the test on the live game: 197 rounds on Classic / 3 at $10.00, 100 times the base stake. All 197 recompute by the same draw function as the base-stake rounds; every one is paid its declared cell, which is the one multiplier the same cell paid at $0.10; and 109 of the 197 paid, so the payout path was exercised at the elevated stake, not only the draw:
| Classic / 3 cell | Multiplier | Rows at $0.10 | Rounds at $10.00 |
|---|---|---|---|
| 0 hits | 0× | 78 | 88 |
| 1 hit | 1× | 82 | 71 |
| 2 hits | 3.1× | 22 | 36 |
| 3 hits | 10.4× | 1 | 2 |
3.9Two Rows, One Draw (Add Second Bet)
With Add Second Bet a player places two rows — each with its own picks and stake — on one draw. Phase T played 20 such rounds, 10 on Classic and 10 on Low, every first-row pick count from 1 to 10 on each, at $0.10 per row. Each round consumed one nonce (Step 4) and carries one drawn list in both rows (Step 6); each row is settled on its own cell — its hits counted against the same ten numbers, floor(stake × cell) per row — and the round’s total payout is the sum of its two rows (Steps 9, 12). LIQD’s verifier, asked once per round with both rows, returns the drawn list and both rows’ hits and multipliers (Step 24). The two rows of a round cannot share a number: liqd.com answered HTTP 400, “a number may be picked in only one bet box”, to a round whose rows both held 32 and 39, and returned no round (Step 15). One of the 20, in full:
bet RRygBCOdn8faTh0R7ISut · Phase T · Classic · nonce 7
clientSeed auditb51475756777
drawn 26, 19, 21, 3, 8, 39, 12, 28, 4, 18 (one draw)
row 1 picks 19, 3, 31, 21, 16, 29, 30, 12 → hits 19, 3, 21, 12 = 4 → Classic / 8 cell 4× → $0.40000000
row 2 picks 5, 32, 28 → hit 28 = 1 → Classic / 3 cell 1× → $0.10000000
round stake $0.20000000 · paid $0.50000000 = row 1 + row 2 // Two-row rounds: the two rows of a round share no number (production refuses a round whose rows do: Step 15). const two = ctx.ds.bets.filter(b => b.rows.length === ROWS_MAX); const disjoint = two.filter(b => !b.rows[0].picks.some(p => b.rows[1].picks.includes(p))).length;// … // Round totals: the round's stake and payout are the sums of its rows' (each row floored on its own). let totals = 0; for (const b of ctx.ds.bets) { const st = b.rows.reduce((a, r) => a + units8(r.stake), 0n), wn = b.rows.reduce((a, r) => a + units8(r.winningAmount), 0n); if (units8(b.stakeTotal) === st && units8(b.wonTotal) === wn) totals++; else bad.push(`round totals ${b.betId}`); }3.10Worked Example — Full Parity Verification
Real round from the scored capture — bet dr1ZSM-Bw58uvkmG4DpdY (epoch 6, nonce 193), High, 4 picks at $0.10 — the capture’s largest multiplier. Verified from keno-prod-full-7457bets.json — the same round LIQD’s own verifier reproduced in the Step 24 cross-check, traced cursor by cursor in S2.7:
serverSeed = 4ac1632b65c42e1c4fdbad5afaf513cd
clientSeed = audit047790ed49c5
nonce = 193
risk = High · picks 25, 35, 33, 5
betAmount = $0.10
recorded = drawn 33, 2, 5, 17, 12, 29, 25, 35, 3, 28
hits 4 · multiplier 259 · winningAmount 25.90000000
commitment = 4bfb427891c66da9…| Step | Process | Output |
|---|---|---|
| 1 | Recompute the commitment — SHA-256(utf8(serverSeed)) | Matches the pre-published hash |
| 2 | Run computeDraw(serverSeed, clientSeed, 193) | 33, 2, 5, 17, 12, 29, 25, 35, 3, 28 — the served list, in order |
| 3 | Count hits — picks ∩ drawn | 33, 5, 25, 35 → 4 hits — the served hits |
| 4 | Look up the declared cell — High, 4 picks, 4 hits | 259× — the served multiplier |
| 5 | Settle floor(0.10 × 259) in 1e-8 units | 25.90000000 — the credited winningAmount and its wallet field, verbatim |
sha256(utf8(serverSeed)) → 4bfb427891c66da9… = the published commitment ✓computeDraw(serverSeed, clientSeed, 193) → 33, 2, 5, 17, 12, 29, 25, 35, 3, 28 = the served list, same order ✓picks ∩ drawn = {33, 5, 25, 35} → 4 hits = served hits ✓table.high[4][4] → 259 = the served multiplier ✓floor(10,000,000 × 259), 1e-8 units → 2,590,000,000 = 25.90000000 = winningAmount ✓Technical Evidence & Verification5 sections
3.11Evidence Coverage Summary11 checks
| Verification Area | Coverage | Result |
|---|---|---|
| Draw recomputation (Step 6) | 7,457 / 7,457 drawn lists in served order by computeDraw; one draw per round, two-row rounds included | Pass |
| Draw structure & hit counting (Step 9) | 7,457 / 7,457 rounds well formed; hits recounted from our own draw on 7,477 / 7,477 rows | Pass |
| Pick-set independence (Step 10) | computeDraw takes (serverSeed, clientSeed, nonce) only — no pick, risk or stake field; 7,457 / 7,457 recompute | Pass |
| Paytable provenance & cell match (Step 11) | Declared table pinned by SHA-256 and named by all four captures; 7,477 / 7,477 rows equal the cell | Pass |
| Payout arithmetic & wallet fields (Step 12) | 7,477 / 7,477 credits = floor(stake × cell) in 1e-8 units; 4,516 zero-cell rows pay 0; wallet fields and round totals equal | Pass |
| Bet-size invariance (Step 13) | 197 / 197 rounds at $10.00 recompute and are paid the cell the same setting pays at $0.10; 109 paying | Pass |
| Payout bounds (Step 14) | 7,477 / 7,477 payouts within stake × the row’s top cell | Pass |
| Configuration & cell coverage (Step 15) | 40 / 40 settings at exactly 175 Phase A rounds; 196 / 260 cells reached | Pass |
| One multiplier per cell (Step 16) | 196 / 196 reached cells pay one multiplier; the 4 cells reached at both stakes pay the same at both | Pass |
| Dataset & paytable pins (Step 22) | Dataset, four capture files and declared table match their SHA-256 pins; the dataset equals the capture files round for round on 7,457 / 7,457 | Pass |
| LIQD verifier parity (Step 24) | 7,457 / 7,457 replies equal the served round — every scored round, 7,477 rows | Pass |
3.12Code References9 source files
| File | Purpose |
|---|---|
| tests/steps/determinism.ts | Steps 6–10: draw recomputation, client-seed controls, bias bound, structure & hits, pick-set independence |
| tests/steps/payouts.ts | Steps 11–16: paytable provenance, payout arithmetic, bet-size invariance, payout bounds, coverage and what production refuses, one multiplier per cell |
| tests/steps/primary.ts | The capture-scoring part of each step — the cell lookup (price), the settlement in 1e-8 units (p12), the elevated stake (p13) |
| tests/steps/standardization.ts | Steps 22–24: dataset and paytable pins, artifacts of record, operator-verifier parity |
| src/verifier.ts | Step 24: every stored verifier reply checked against its served round — request, intact body, drawn order, hits and multiplier of every row |
| src/client-paytable.ts | Parses LIQD’s client paytable literal as data, never evaluated (clientCell, clientRowQ) |
| src/rng.ts | computeDraw, countHits and sameDraw — written from docs/ALGORITHM.md |
| src/dataset.ts | Loads the dataset and the capture files and recomputes every round from its epoch’s revealed seed (recomputeAll) |
| src/probes.ts | The record of the two requests liqd.com refused — a WTF bet and a two-row bet whose rows share a number (E09) |
3.13Datasets UsedSource artifacts
3.14Verified Invariants12 invariants
| Invariant | Result |
|---|---|
| Computed drawn list equals the served list, in order, for all 7,457 rounds | Pass |
| Both rows of a two-row round carry the round’s one drawn list — 20 / 20 | Pass |
| hits == |picks ∩ drawn|, counted from our own draw, for all 7,477 rows | Pass |
| multiplier == the declared cell for all 7,477 rows | Pass |
| winningAmount == floor(stake × cell) in integer 1e-8 units for all 7,477 rows, zero tolerance | Pass |
| winningAmount == 0 for all 4,516 zero-cell rows | Pass |
| Wallet settle fields equal the game fields on all 7,477 rows; round totals equal the sums of the rows | Pass |
| Every payout ≤ stake × its row’s top cell | Pass |
| The same cell pays the same multiplier at $0.10 and at $10.00 | Pass |
| No hidden inputs: the draw takes (serverSeed, clientSeed, nonce) only — no picks, no stake | Pass |
| LIQD’s verifier returns the served round on 7,457 / 7,457 calls | Pass |
| All 40 settings present at exactly 175 Phase A rounds | Pass |
3.15Reproduction InstructionsRun locally
Clone the repository, install dependencies, and run the verification suite:
git clone https://github.com/ProvablyFair-org/liqd-keno.gitcd liqd-keno && git checkout v1.2.0npm cinpm run verify# Expected output: Steps 6, 9–16, 22 and 24 all PASSS3-related steps:
[PASS] Step 6: Outcome recomputation (drawn list)
[PASS] Step 9: Draw structure & hit counting
[PASS] Step 10: Pick-set independence
[PASS] Step 11: Paytable provenance & served-vs-declared
[PASS] Step 12: Payout arithmetic
[PASS] Step 13: Bet-size invariance (elevated stake)
[PASS] Step 14: Paytable shape & bounds
[PASS] Step 15: Configuration & cell coverage
[PASS] Step 22: Dataset & config pins
[PASS] Step 24: Operator-verifier parityRTP & Payout Logic
Is the house edge what the casino claims?
LIQD shows a 1% house edge on Keno, a 99% RTP. We checked it without taking any casino figure on trust; that is what anti-circularity means. We worked out the exact odds of every hit count from the 40-number board, then priced each of the 40 settings with LIQD’s paytable. Every setting returns within a tenth of a percentage point of 99%. We also ran 10 million simulated rounds, tested whether LIQD picked its seeds against players, and checked that Classic / 3 pays the same multiplier at $10.00 as at $0.10. We found nothing out of line.
What we verified
- LIQD’s advertised 1% edge holds on all 40 settings, every one within a tenth of a percentage point of 99%: from 98.9031% to 99.0689%
- We worked out the odds of every hit count ourselves from the 40-number board, never from a casino figure, and priced each setting exactly with LIQD’s paytable
- Those odds match a draw-by-draw count, for every pick count from 1 to 10
- 10 million simulated rounds agree: every setting lands within normal variation of its exact RTP
- No sign that LIQD chose seeds against players: the rounds under all 43 seeds returned as chance predicts
- All 7,477 reported payouts matched stake × paytable multiplier exactly; Classic / 3 matched at both $0.10 and $10.00
What this means for you
- The house edge on Keno is about 1%: between 0.93% and 1.10%, depending on risk level and pick count
- The 99% LIQD advertises is what each setting returns, within a tenth of a percentage point
- The RTP proof is derived independently, without trusting the casino
- The casino’s seeds show no sign of being chosen against the player
- You are paid exactly the paytable multiplier for your hits
- Your stake doesn’t enter the multiplier: Classic / 3 paid the same at $10.00 as at $0.10
- LIQD’s advertised 1% edge holds on all 40 settings, every one within a tenth of a percentage point of 99%: from 98.9031% to 99.0689%
- We worked out the odds of every hit count ourselves from the 40-number board, never from a casino figure, and priced each setting exactly with LIQD’s paytable
- Those odds match a draw-by-draw count, for every pick count from 1 to 10
- 10 million simulated rounds agree: every setting lands within normal variation of its exact RTP
- No sign that LIQD chose seeds against players: the rounds under all 43 seeds returned as chance predicts
- All 7,477 reported payouts matched stake × paytable multiplier exactly; Classic / 3 matched at both $0.10 and $10.00
- The house edge on Keno is about 1%: between 0.93% and 1.10%, depending on risk level and pick count
- The 99% LIQD advertises is what each setting returns, within a tenth of a percentage point
- The RTP proof is derived independently, without trusting the casino
- The casino’s seeds show no sign of being chosen against the player
- You are paid exactly the paytable multiplier for your hits
- Your stake doesn’t enter the multiplier: Classic / 3 paid the same at $10.00 as at $0.10
Anti-circularityPass
RTP claimPass
Paytable sourcePass
Simulated RTPPass
Cherry-pick testPass
Same multiplier at both stakesPass
Paytable shape & coveragePass
Keno’s theoretical RTP is 98.903053% to 99.068864% across all 40 settings, worked out exactly from the odds of each hit count and LIQD’s paytable: 98.9850% on average, and every setting within a tenth of a percentage point of the advertised 99%. Production bets reached 196 of 260 paytable cells. LIQD’s verifier confirmed the remaining 64 multipliers. 10 million simulated rounds agree, and we found no sign of seed selection. All 7,477 reported payouts matched stake × paytable multiplier exactly.
| Check | Result | Evidence |
|---|---|---|
| Anti-circularity | Pass | We counted the hit odds from the 40-number board ourselves, using no casino data, and they match a draw-by-draw count for every pick count |
| RTP claim | Pass | LIQD’s Keno page shows a 1% edge, and all 40 settings return within a tenth of a percentage point of 99%, from 98.903053% to 99.068864% |
| Paytable source | Pass | The paytable is LIQD’s own, read from liqd.com and pinned by SHA-256, and it prices all 7,477 rows we played |
| Simulated RTP | Pass | 10 million simulated rounds: the board spreads evenly, and all 40 settings land within normal variation of their exact RTP |
| Cherry-pick test | Pass | Replaying the rounds under all 43 revealed seeds shows no shortfall beyond normal variation: no sign of seeds chosen against players |
| Same multiplier at both stakes | Pass | All 197 Classic / 3 rounds at $10.00 paid their paytable cell: the same multiplier each cell paid at $0.10 |
| Paytable shape & coverage | Pass | The top multiplier is 1,000×, no payout exceeds its row’s top cell, and LIQD’s verifier confirms every cell we didn’t reach |
Anti-circularityPass
RTP claimPass
Paytable sourcePass
Simulated RTPPass
Cherry-pick testPass
Same multiplier at both stakesPass
Paytable shape & coveragePass
Keno’s theoretical RTP is 98.903053% to 99.068864% across all 40 settings, worked out exactly from the odds of each hit count and LIQD’s paytable: 98.9850% on average, and every setting within a tenth of a percentage point of the advertised 99%. Production bets reached 196 of 260 paytable cells. LIQD’s verifier confirmed the remaining 64 multipliers. 10 million simulated rounds agree, and we found no sign of seed selection. All 7,477 reported payouts matched stake × paytable multiplier exactly.
How It Works — RTP & Payout Logic10 sections
4.1Anti-Circularity Proof — Hypergeometric Hit Probability (Step 17)
The anti-circularity proof establishes each setting’s RTP from first principles without using any casino-supplied probability. In Keno the probability side is pure combinatorics: ten numbers are drawn from 40, so the chance that exactly k of your n picks are among them is the hypergeometric C(n,k)·C(40−n,10−k)/C(40,10) — computed from the board alone. Step 17 checks that closed form against an independent derivation that plays the ten draws out one number at a time (sequentialDraw), cell for cell in exact BigInt rationals, for every pick count from 1 to 10; each distribution must also sum to exactly 1 and have mean exactly n·10/40. Two negative controls prove the check can fail: moving 1/C(40,10) of probability from 0 hits to 1 hit is rejected, and nudging one declared cell by 0.01 changes the exact RTP. A setting’s RTP is then Σ P(k) × cell(k) over its row of LIQD’s declared paytable — the casino supplies the multipliers it pays, never a probability:
| Component | Formula | Source |
|---|---|---|
| Hit probability | P(k | n) = C(n,k)·C(40−n,10−k) / C(40,10) | Board arithmetic — computed by the audit |
| Independent check | sequentialDraw: ten draws without replacement, one number at a time | Equal to the closed form cell for cell for n = 1–10; sums to 1, mean n·10/40 (Step 17) |
| Multiplier | cell(k) — the declared paytable row for (risk, n) | LIQD’s client paytable, pinned by SHA-256 (Step 11) |
| RTP | Σ P(k | n) × cell(k), an exact rational | 40 / 40 settings equal outputs/rtp-claim-table.json (Step 18) |
| Hits (Classic / 3 picks) | Exact P(k) | Cell | P(k) × cell |
|---|---|---|---|
| 0 | 203/494 = 41.0931% | 0× | 0 |
| 1 | 435/988 = 44.0283% | 1× | 435/988 |
| 2 | 135/988 = 13.6640% | 3.1× | 837/1976 |
| 3 | 3/247 = 1.2146% | 10.4× | 12/95 |
| Total | 1 | — | 9783/9880 = 99.018219% |
Anti-Circularity Verification:
/** Independent derivation: draw d numbers one at a time without replacement, tracking hits. */export function sequentialDraw(n: number, N = GRID, d = DRAWN): Q[] { let dist: Q[] = [q(1n)]; // dist[h] after 0 draws for (let step = 0; step < d; step++) { const remaining = BigInt(N - step); const next: Q[] = Array.from({ length: Math.min(n, step + 1) + 1 }, () => q(0n)); dist.forEach((p, h) => { if (p.n === 0n) return; const picksLeft = BigInt(n - h); const pHit = q(picksLeft, remaining), pMiss = q(remaining - picksLeft, remaining); if (picksLeft > 0n) next[h + 1] = add(next[h + 1], mul(p, pHit)); next[h] = add(next[h], mul(p, pMiss)); }); dist = next; } while (dist.length < n + 1) dist.push(q(0n)); return dist.slice(0, n + 1);}// …/** * The model check, as a function so the negative control can feed it a corrupted vector and show it * is rejected: a distribution must equal the independent sequential derivation cell for cell, sum to * exactly 1, and have mean exactly n·d/N. */export function modelHolds(n: number, probs: Q[]): boolean { const seq = sequentialDraw(n); if (probs.length !== seq.length || !probs.every((p, k) => eq(p, seq[k]))) return false; const total = probs.reduce((a, p) => add(a, p), q(0n)); const mean = probs.reduce((a, p, k) => add(a, mul(p, q(BigInt(k)))), q(0n)); return eq(total, q(1n)) && eq(mean, q(BigInt(n * DRAWN), BigInt(GRID)));}Why this proof is non-circular: P(k | n) comes from counting subsets of the 40-number board, and the cells are the multipliers LIQD’s client ships and the game pays — nothing in the sum is a casino-supplied probability, return figure or edge. What the RTP depends on is that every one of the C(40,10) = 847,660,528 possible draws is equally likely: Section 2 shows the draw is a Fisher–Yates shuffle reproduced from the seeds, with plain modulo agreeing with rejection sampling, the exactly uniform rule, on every captured draw, and Section 3 shows the multipliers paid are the declared cells. What the audit adds is evidence that LIQD’s implementation honours the table on every captured round (Steps 11, 12) and that the probability side is derived without touching a single operator-supplied number.
4.2RTP Claim Rule (Step 18)
The RTP claim rule (RTP-CLAIM 1.2.0) is part of the audit method: the RTP a casino publishes must hold at every setting the game offers. A published figure counts wherever a player can find it — on the game page, the fairness page, the help page, the bet panel, the rules, or in the game settings the site loads. Each setting’s RTP is computed exactly, as a rational number, from the hit law and its row of the declared paytable — never from the casino’s figure — and must sit within ±0.1 percentage points of the claim. A setting below that band on the house side is a miss: the verdict then reads RTP FIGURE OVERSTATED, even when every draw check passes. A setting above the claim never fails. Keno’s settings do not all land on exactly 99% — a row’s return weights its cells (3.1×, 1.86×, 16.5×…) by exact hit odds, and those sums rarely come to 99% exactly — so the exact returns spread from 98.903053% to 99.068864%. The rule is scored on Step 18, the step that prices every setting.
| Item | Detail |
|---|---|
| Claim | 99% RTP — a flat 1.00% house edge |
| Where LIQD publishes it | The Keno game page (liqd.com/originals/keno), in the line “Released: October 2026 | Edge: 1.00%” — saved as a logged-out browser received it on 22 October 2026, no bet placed, where the line occurs twice (evidence/liqd-com-keno-page-2026-10-22/liqd-originals-keno-page-browser-2026-10-22T1734Z.html.txt, E03); the page’s meta description also says “1% house edge” (E04) |
| Settings tested | 40 — every risk level production offers (Classic, Low, Medium, High) × 1–10 picks, every row of the declared table (260 cells) |
| Method | Exact rational: Σ P(k hits) × cell |
| Band | ±0.1 percentage points (house side fails, player side never fails) |
| True minimum · maximum | 98.903053% (Low / 5) · 99.068864% (Low / 9) |
| Worst gap | −0.096947 pp (Low / 5), inside the band |
| Settings beyond the band | 0 on the house side · 0 on the player side |
| Scored on | Step 18 (profile check KENO-19), rule enforced |
| Result | Pass — the claim holds at every setting |
| Setting | Exact RTP | RTP | Gap | Result |
|---|---|---|---|---|
| Low / 5 | 36155/36556 | 98.903053% | −0.096947 pp | Pass |
| High / 4 | 9039/9139 | 98.905788% | −0.094212 pp | Pass |
| Low / 4 | 18081/18278 | 98.922202% | −0.077798 pp | Pass |
| Medium / 8 | 130046/131461 | 98.923635% | −0.076365 pp | Pass |
| Low / 9 | 33861599/34179860 | 99.068864% | +0.068864 pp | Pass |
| Classic / 2 | 103/104 | 99.038462% | +0.038462 pp | Pass |
| Classic / 10 | 1679001083/1695321056 | 99.037352% | +0.037352 pp | Pass |
| All 40 settings | Σ P(k) × cell | 98.903053%–99.068864% | −0.096947 pp to +0.068864 pp | Pass — 40 / 40 |
outputs/rtp-claim-table.json, pinned by SHA-256 and re-derived on every run.4.3Full RTP Table — All 40 Settings
Every setting LIQD offers, priced exactly from the hit law and its row of the declared table, beside its simulated return from Pass 1 (4.5). The gap is the RTP claim rule’s: each setting’s distance from LIQD’s 99%. The theoretical and gap columns are outputs/rtp-claim-table.json, row for row; the simulated column is priced from outputs/simulation-results.json.
| Setting | Theoretical RTP | Simulated RTP (Pass 1) | Gap to 99% |
|---|---|---|---|
| Classic / 1 | 99.000000% | 99.2962% (+1.73 SE) | 0.000000 pp |
| Classic / 2 | 99.038462% | 99.1051% (+0.53 SE) | +0.038462 pp |
| Classic / 3 | 99.018219% | 99.0606% (+0.29 SE) | +0.018219 pp |
| Classic / 4 | 98.960499% | 99.0762% (+0.79 SE) | −0.039501 pp |
| Classic / 5 | 98.985803% | 98.9703% (−0.08 SE) | −0.014197 pp |
| Classic / 6 | 98.966517% | 98.9676% (+0.01 SE) | −0.033483 pp |
| Classic / 7 | 98.981535% | 98.8902% (−0.52 SE) | −0.018465 pp |
| Classic / 8 | 99.022828% | 98.9679% (−0.27 SE) | +0.022828 pp |
| Classic / 9 | 98.975340% | 98.9545% (−0.11 SE) | −0.024660 pp |
| Classic / 10 | 99.037352% | 99.1769% (+1.03 SE) | +0.037352 pp |
| Low / 1 | 99.000000% | 99.0868% (+1.73 SE) | 0.000000 pp |
| Low / 2 | 99.019231% | 99.0845% (+0.55 SE) | +0.019231 pp |
| Low / 3 | 99.003036% | 98.9685% (−0.12 SE) | +0.003036 pp |
| Low / 4 | 98.922202% | 99.4538% (+1.16 SE) | −0.077798 pp |
| Low / 5 | 98.903053% | 98.0552% (−1.39 SE) | −0.096947 pp |
| Low / 6 | 99.008371% | 99.2005% (+0.28 SE) | +0.008371 pp |
| Low / 7 | 98.938760% | 98.8901% (−0.10 SE) | −0.061240 pp |
| Low / 8 | 99.004180% | 98.9587% (−0.25 SE) | +0.004180 pp |
| Low / 9 | 99.068864% | 99.1389% (+0.61 SE) | +0.068864 pp |
| Low / 10 | 99.031310% | 99.0610% (+0.43 SE) | +0.031310 pp |
| Medium / 1 | 99.000000% | 99.1765% (+1.73 SE) | 0.000000 pp |
| Medium / 2 | 99.000000% | 99.0680% (+0.51 SE) | 0.000000 pp |
| Medium / 3 | 98.987854% | 98.9336% (−0.10 SE) | −0.012146 pp |
| Medium / 4 | 98.996881% | 99.6318% (+1.23 SE) | −0.003119 pp |
| Medium / 5 | 98.944086% | 97.8075% (−1.46 SE) | −0.055914 pp |
| Medium / 6 | 99.031623% | 99.1454% (+0.12 SE) | +0.031623 pp |
| Medium / 7 | 98.961786% | 98.7404% (−0.27 SE) | −0.038214 pp |
| Medium / 8 | 98.923635% | 98.7840% (−0.35 SE) | −0.076365 pp |
| Medium / 9 | 98.942020% | 99.1716% (+1.00 SE) | −0.057980 pp |
| Medium / 10 | 98.974315% | 99.1147% (+0.98 SE) | −0.025685 pp |
| High / 1 | 99.000000% | 99.2962% (+1.73 SE) | 0.000000 pp |
| High / 2 | 99.000000% | 99.0921% (+0.23 SE) | 0.000000 pp |
| High / 3 | 98.987854% | 98.7943% (−0.22 SE) | −0.012146 pp |
| High / 4 | 98.905788% | 100.2619% (+1.08 SE) | −0.094212 pp |
| High / 5 | 98.968706% | 97.7545% (−1.21 SE) | −0.031294 pp |
| High / 6 | 98.998796% | 99.1324% (+0.08 SE) | −0.001204 pp |
| High / 7 | 98.961786% | 98.9204% (−0.04 SE) | −0.038214 pp |
| High / 8 | 98.957105% | 99.3305% (+0.36 SE) | −0.042895 pp |
| High / 9 | 98.964456% | 98.7135% (−0.31 SE) | −0.035544 pp |
| High / 10 | 99.008323% | 99.3412% (+0.92 SE) | +0.008323 pp |
4.4House Edge & Settlement (Step 12)
The house edge is what a setting keeps: 100% minus its RTP — from 0.9311% (Low / 9) to 1.0969% (Low / 5) against the 1.00% LIQD advertises. Settlement turns a cell into money: Step 12 checks winningAmount = floor(stake × cell) in units of 1e-8. The 260 cells are written with at most two decimals (198 whole, 47 with one decimal, 15 with two), so at both stakes played — $0.10 and $10.00 — every product in the capture lands exactly on the 8-decimal grid, and all 7,477 reported payouts equal stake × cell with no rounding involved (Step 12). Two cells pay on zero hits — Low / 1 pays 0.7× and Medium / 1 pays 0.4× — which is how those 1-pick rows return 99% while paying back part of the stake on a miss.
4.5Simulation Pass 1 — Our Own Seeds (Step 19)
Section 4.1 proves each setting’s RTP mathematically; the simulation checks it at scale. We simulated 10 million rounds with our own implementation — the one that reproduces all 7,457 production rounds — and our own seeds: one stream of 1,000,000 rounds for each pick count, from seeds derived from a pinned master seed, replayable byte for byte. Classic, Low, Medium and High share one draw function with no pick, risk or stake input (Step 10), so the four risk levels of a pick count share that stream’s draws and each setting’s simulated RTP is its row priced on the stream’s hit counts. Every statistic is judged against a gate of 3.333 × 10⁻⁵ (α = 0.001 over 10 streams × 3 tests); the RTP of every setting must sit within ±5 SE of its exact value:
Board uniformity: Each stream’s 10,000,000 drawn numbers spread over the 40 values, corrected for drawing without replacement — 10 / 10 streams clear, smallest p 0.0288.
Hit law: Each stream’s hit counts against the exact hypergeometric probabilities — 10 / 10 clear, smallest p 0.0841.
Serial screen: Lag-1 correlation of consecutive hit counts — |ρ| ≤ 0.0018 on 10 / 10 streams, smallest p 0.0724.
RTP convergence: Every setting’s simulated RTP against its exact RTP — 40 / 40 within ±5 SE, largest |z| 1.73 (the 1-pick settings, which share one stream). The 40 settings average 99.0143% simulated against 98.9850% exact.
| Stream (1,000,000 rounds) | Largest |z| of its four settings | Setting |
|---|---|---|
| 1 pick | 1.73 | all four settings (one shared stream) |
| 2 picks | 0.55 | Low / 2 |
| 3 picks | 0.29 | Classic / 3 |
| 4 picks | 1.23 | Medium / 4 |
| 5 picks | 1.46 | Medium / 5 |
| 6 picks | 0.28 | Low / 6 |
| 7 picks | 0.52 | Classic / 7 |
| 8 picks | 0.36 | High / 8 |
| 9 picks | 1.00 | Medium / 9 |
| 10 picks | 1.03 | Classic / 10 |
const streams = PASS1_PICK_COUNTS.map(n => { const s = runPass1Stream(n, rounds); process.stderr.write(` pass1 picks=${n} done\n`); return s; });// … // RTP convergence on EVERY setting production offers (40): the stream of that pick count, priced by that risk's row. let converged = 0, worstZ = 0, worstCfg = ''; const rtpParts: string[] = []; for (const c of ALL_CONFIGS) { const s = streams.find(x => x.picks === c.picks); if (!s) { problems.push(`no stream for ${c.mode}/${c.picks}`); continue; } const row = clientRowQ(ctx.clientTable, c.mode, c.picks), P = hypergeometric(c.picks); const exact = toNumber(rtpExact(P, row)), v = toNumber(varianceExact(P, row)); const simR = s.hits.reduce((a, n, k) => a + n * toNumber(row[k]), 0) / s.rounds; const z = (simR - exact) / Math.sqrt(v / s.rounds); if (Math.abs(z) > 5) problems.push(`${c.mode}/${c.picks} RTP ${simR} is ${z.toFixed(2)} SE from exact ${exact}`); else converged++; if (Math.abs(z) > Math.abs(worstZ)) { worstZ = z; worstCfg = `${c.mode}/${c.picks}`; } if (c.mode === 'classic' && c.picks === 3 || Math.abs(z) > 3) rtpParts.push(`${c.mode}/${c.picks} simulated ${(100 * simR).toFixed(4)}% vs exact ${(100 * exact).toFixed(4)}% (${z.toFixed(2)} SE)`); }What is a Monte Carlo simulation? Instead of proving fairness with algebra alone, we simulate millions of game rounds. Each round derives a draw from scratch using the same HMAC-SHA256 pipeline as the live game, counts the hits on a fixed pick set and records what each risk level’s row would pay. We then compare the aggregate return to the exact RTP. If they match within tolerance, the math holds in practice — not just on paper.
How the artifact is scored, not believed: Step 19 does not read the simulation’s own pass/fail fields. It re-derives every statistic from the artifact’s integer rows — number counts, hit histograms and serial sums — checks that every histogram adds up to its stream, prices every setting from the hit counts against the declared table, and replays the first 50,000 rounds of every stream from the derived seeds. Because the seeds come from a pinned master seed, npm run test:full regenerates the whole 10M-round experiment and compares it field by field with the committed artifact.
4.6Cherry-Pick Test — Pass 2 (Step 20)
Could the casino have chosen server seeds that pay players less? Pass 2 takes every server seed LIQD actually used in the production capture — all 43 revealed epoch seeds — and replays each one for 10,000 nonces under the epoch’s recorded client seed. The window the player saw is the epoch itself — 200 nonces on Phase A, 40 on Phases D and E, 20 on Phase T and 197 on Phase C; everything after it is reference. Both statistics, the relocation rule and the generator seed were fixed in the code before any production round was captured. Each compares the return in the played window with the same window moved to later nonces the casino never served — 10,000 relocations — so a seed set chosen against the player would show up as a low return in the window that was actually played. The test is one-sided and fails below p = 0.001. Step 20 recomputes every seed row from the revealed seeds in every run.
Primary defence — structural: The client seed is player-editable and is set in the rotation after the server-seed commitment is published (1.4). An operator that cannot predict your seed cannot pre-evaluate candidates against it — the foreknowledge channel is removed by design.
Statistical check: The two relocation statistics above — a direct check on the money, backing the structural defence.
| Test | Detail |
|---|---|
| Seeds tested | 43 — every revealed epoch seed of the production capture, keyed by its own epoch |
| Replay depth | 10,000 nonces per seed — the played window is the epoch’s own nonces, from 0 |
| Statistic 1 — Classic / 3 | Picks 1, 2, 3 at every window nonce: S = 59.41 stakes over 7,457 nonces against a relocation null of 25.72 ± 126.02 — p = 0.6116; detects a 6.64 pp house-favouring shift at 80% power |
| Statistic 2 — rows as played | Every recorded row by its own pick set and row: S = −206.62 stakes over 7,477 rows against 8.98 ± 508.28 — p = 0.3626 (exact-variance z −0.410); detects 26.73 pp at 80% power |
| Rule | Fails if either p < 0.001 — both clear |
| Re-derivation | 43 / 43 recorded seed rows reproduced in this run |
let S = 0, N = 0; for (const w of windows) { const len = w.end - w.start + 1; S += sumWin(w.hashPrefix, w.start, len) - muTenths * len; N += len; } const rnd = prng(PASS2_BOOTSTRAP_SEED); let atOrBelow = 0; let sumNull = 0, sumNull2 = 0; for (let b = 0; b < PASS2_BOOTSTRAP_REPS; b++) { let s = 0; for (const w of windows) { const len = w.end - w.start + 1; const lo = len, hi = PASS2_NONCES - len; if (hi < lo) throw new Error(`early window of ${w.hashPrefix} (${len} nonces) leaves no later window to relocate to`); const a = lo + Math.floor(rnd() * (hi - lo + 1)); s += sumWin(w.hashPrefix, a, len) - muTenths * len; } if (s <= S) atOrBelow++; sumNull += s; sumNull2 += s * s; } const nullMean = sumNull / PASS2_BOOTSTRAP_REPS, nullSd = Math.sqrt(Math.max(sumNull2 / PASS2_BOOTSTRAP_REPS - nullMean ** 2, 0)); return { S, N, p: (atOrBelow + 1) / (PASS2_BOOTSTRAP_REPS + 1), nullMean, nullSd };4.7Bet-Size Invariance (Steps 13, 16)
A setting’s RTP is a property of its row: Σ P(k) × cell(k) contains no stake. Nothing gives the stake a way in before settlement: the draw takes (serverSeed, clientSeed, nonce) only (Step 10), the hits come from the draw and the picks, and LIQD’s declared paytable is keyed by risk, picks and hits only — no stake dimension, so the same multiplier at every stake. The stake enters once, at settlement, as floor(stake × multiplier): it scales the payout (4.4). Phase C tested it on the live game: 197 rounds on Classic / 3 at $10.00 — 100 times the base stake — each recomputed by the stake-free draw and paid its declared cell, the one multiplier that cell paid at $0.10 (S3.8).
| Stage | Computed from | Stake input | Verified |
|---|---|---|---|
| Draw (Step 6) | computeDraw(serverSeed, clientSeed, nonce) | None — three arguments, no stake field (Step 10) | 7,457 / 7,457 rounds, 197 of them at $10.00 |
| Hits (Step 9) | |picks ∩ drawn| | None | 7,477 / 7,477 rows |
| Multiplier (Step 11) | The declared cell for (risk, picks, hits) | None — the declared table is keyed by risk, picks and hits only | 7,477 / 7,477 rows; one multiplier per cell at both stakes (Step 16) |
| Payout (Step 12) | floor(stake × multiplier) in 1e-8 units | Its only appearance — it scales the payout | 7,477 / 7,477 reported payouts, at $0.10 and $10.00 |
4.8Paytable Shape, Coverage & Bounds (Steps 14, 15)
LIQD’s declared table has 260 cells on the four risk levels production offers: 4 risk levels × 1–10 picks, each row running from 0 hits to n hits. Its top cell is 1,000× — on Low, Medium and High at 9 and 10 picks. Every production payout sits at or below the stake times its row’s top cell: 7,477 / 7,477 (Step 14). The table’s shape is regular: no row has a zero between two paying cells and no cell pays less than the one below it; two cells pay on zero hits — Low / 1 at 0.7× and Medium / 1 at 0.4× — the consolation cells. Phase A placed exactly 175 rounds on every one of the 40 settings (Step 15), and the capture reached 196 of the 260 cells, every non-paying cell among them; the 64 cells it did not reach are all paying cells — the rare high-hit prizes, which together carry 10.3627% of the theoretical return. For each of those 64, LIQD’s verifier, asked about a revealed production round with picks that land in the cell, returns the declared multiplier (64 / 64, E10). Keno’s RTP is proven by exact enumeration (Step 18), not estimated from the capture. The table literal LIQD ships also carries a fifth row set, wtf, for a risk level production does not offer: its tab is greyed out on the bet panel (E06) and liqd.com answers a WTF bet with HTTP 400, “wtf is not offered in prod” (E05), so it is outside the 40 settings priced here. LIQD’s stake limits are covered by the max-win tests in Section 5.
| Item | Value |
|---|---|
| Cells | 260 — 40 rows of 2 to 11 cells |
| Top cell | 1,000× (Low, Medium and High at 9 and 10 picks) |
| Consolation cells (pay on 0 hits) | Low / 1 0.7× · Medium / 1 0.4× |
| A zero between paying cells · less pay for more hits | None · none |
| Payouts within stake × the row’s top cell | 7,477 / 7,477 |
| Settings at 175 Phase A rounds | 40 / 40 |
| Cells reached · paying cells reached | 196 / 260 · 108 / 172 |
| Unreached cells where LIQD’s verifier returns the declared multiplier | 64 / 64 (E10) |
| Share of the theoretical return in never-reached cells | 10.3627% (pooled over the 40 settings) |
| Risk level production refuses | WTF — HTTP 400, “wtf is not offered in prod” (E05) |
4.9Informational Items (Not Scored)
These items are reported for transparency but are not scored audit steps. They provide context on the returns observed during data collection. At a few thousand rounds, the capture’s own return is not a measure of fairness — the exact RTPs in 4.1–4.3 are the authoritative evidence.
| Item | Value | Context |
|---|---|---|
| Live capture RTP | 101.30% | $2,733.12 returned on $2,698.00 wagered — variance illustration only. The 197 rounds at $10.00 carry 73.0% of the stake and returned 103.25%; the 7,280 rows at $0.10 returned 96.03% |
| Live return by risk level | Classic 102.66% · Low 98.13% · Medium 91.66% · High 97.97% | $2,153.00 staked on Classic (Phase C’s $1,970.00 included), $183.00 on Low, $181.00 on Medium and $181.00 on High; High paid on 169 of 1,810 rows |
| Win rate | 39.60% (2,961 / 7,477) | Rows paying more than 0, all settings — informational |
| Largest win | $104.00 — 10.4× on a $10.00 stake | Classic / 3, 3 hits — 2 Phase C rounds (4.10) |
| Largest multiplier | 259× — $25.90 on a $0.10 stake | High / 4, 4 of 4 hits (S3.10) |
| Rounds per setting | 175 in Phase A on each of the 40 | Plus one round per setting under each of the five player-set seeds (Phase D) and one with random picks (Phase E) |
| Live-sample fit (Step 21) | Board p = 0.8497 · hit law p 0.1697–0.7576 | The 7,457 production draws against the uniform board and the exact hit law — reported, never scored |
4.10Worked Example — Payout Verification
Real round from the scored capture — bet -RHNgwd2TdXhsow1LXm8z (epoch 42, nonce 144), Classic, 3 picks at $10.00 — one of the capture’s two largest payouts, played at 100 times the base stake. Verified from keno-prod-full-7457bets.json — a round LIQD’s own verifier reproduced in the Step 24 cross-check:
serverSeed = fdb4e25e6d3fa58b7af15d0b84503978
clientSeed = audit8398a308fb4d
nonce = 144
risk = Classic · picks 33, 38, 1
betAmount = $10.00
recorded = drawn 19, 17, 26, 40, 14, 1, 38, 13, 33, 9
hits 3 · multiplier 10.4 · winningAmount 104.00000000
commitment = fbf4f685c709f125…Step 1 — Draw: computeDraw(serverSeed, clientSeed, 144) — cursor 0: first 4 bytes 545e415a = 1,415,463,258 → mod 40 = 18 → 19; cursors 1–9 continue the shuffle → 19, 17, 26, 40, 14, 1, 38, 13, 33, 9 — the served list, in order.
Step 2 — Hits and cell: Picks ∩ drawn = 1, 38, 33 → 3 hits → the declared Classic / 3 cell for 3 hits is 10.4.
Step 3 — Payout: floor(10.00 × 10.4) in 1e-8 units: 1,000,000,000 × 10.4 = 10,400,000,000 → $104.00000000, the credited winningAmount and its wallet field, verbatim.
Step 4 — The same cell at both stakes: The Classic / 3 cell for 3 hits paid 10.4× on the $0.10 row that reached it and on both $10.00 rounds (Step 16).
| Step | Process | Output |
|---|---|---|
| 1 | Recompute the commitment — SHA-256(utf8(serverSeed)) | Matches the pre-published hash |
| 2 | Recompute the draw — cursors 0–9 | The served list, in order |
| 3 | Count hits and look up the declared cell | 3 hits → 10.4× |
| 4 | Settle floor(10.00 × 10.4) | $104.00 credited |
| 5 | Compare with LIQD’s verifier | Same draw, 3 hits, 10.4× |
P(k | 3) = C(3,k)·C(37,10−k) / C(40,10) k = 0…3 = 203/494, 435/988, 135/988, 3/247row Classic/3 = 0, 1, 3.1, 10.4 (cells, 0–3 hits)RTP = 435/988 × 1 + 135/988 × 3.1 + 3/247 × 10.4 = 9783/9880 = 99.018219% (gap +0.018219 pp, inside ±0.1 pp)stake = in none of the terms — the same return at $0.10 and at $10.00Technical Evidence & Verification5 sections
4.11Evidence Coverage Summary11 checks
| Verification Area | Coverage | Result |
|---|---|---|
| Anti-circularity (Step 17) | n = 1–10: closed form = independent draw-by-draw derivation, sums to 1, mean n·10/40; both negative controls rejected | Pass |
| Exact RTP & claim rule (Step 18) | 40 / 40 settings within ±0.1 pp of 99% — 98.903053%–99.068864%; outputs/rtp-claim-table.json re-derived and pinned | Pass |
| Paytable provenance (Step 11) | Declared table pinned by SHA-256 and named by all four captures; prices 7,477 / 7,477 rows | Pass |
| Settlement (Step 12) | 7,477 / 7,477 credits = floor(stake × cell) in 1e-8 units at $0.10 and $10.00; 4,516 zero-cell rows pay 0 | Pass |
| Bet-size invariance (Step 13) | 197 / 197 rounds at $10.00 recompute and are paid their declared Classic / 3 cell | Pass |
| Paytable shape & bounds (Step 14) | 7,477 / 7,477 payouts within stake × the row’s top cell; two consolation cells, no other irregular cell | Pass |
| Configuration & cell coverage (Step 15) | 40 / 40 settings at 175 Phase A rounds; 196 / 260 cells reached; the other 64 returned at the declared multiplier by LIQD’s verifier (E10) | Pass |
| The same multiplier at every stake (Step 16) | 196 / 196 reached cells pay one multiplier; the 4 cells reached at both stakes pay the same at both | Pass |
| Simulation Pass 1 (Step 19) | 10 × 1M rounds — uniformity, hit law and serial clear; 40 / 40 settings within ±5 SE | Pass |
| Simulation Pass 2 (Step 20) | 43 seeds × 10,000 nonces: p = 0.6116 and 0.3626 against 0.001 | Pass |
| Artifacts of record (Step 23) | Simulation and verification outputs match their pins; 1,696 numeric values inside their declared domains | Pass |
4.12Code References13 source files
| File | Purpose |
|---|---|
| tests/steps/rtp.ts | Steps 17, 18, 21: the hit-law model and its negative controls, the exact RTP of every setting against the claim, the live-sample fit |
| src/exact.ts | hypergeometric, sequentialDraw, rtpExact, varianceExact — BigInt rationals, no floating point |
| src/rtp-claim.ts | The RTP claim rule, RTP-CLAIM 1.2.0 — a byte-identical copy of the framework’s rule file |
| src/rtp-settings.ts | The claim (LIQD’s flat 99%) and the 40-setting exact RTP table it is held to |
| src/client-paytable.ts | Parses LIQD’s client paytable literal as data (clientRowQ) — the cells every RTP is priced from |
| tests/steps/payouts.ts | Steps 11–16: paytable provenance, payout arithmetic, bet-size invariance, payout bounds, coverage, one multiplier per cell |
| tests/steps/simulation.ts | Steps 19–20: Pass 1 statistics and RTP convergence re-derived from the artifact’s integer rows; Pass 2 recomputed in every run |
| src/sim.ts | Pass 1 streams from the pinned master seed; the two Pass 2 relocation statistics |
| src/sim-inputs.ts | Pass 2 inputs from the production dataset — the 43 epoch seeds, their client seeds and every played row |
| src/simulate.ts | npm run simulate — produces the simulation artifact; --compare regenerates it and diffs it field by field |
| src/stats.ts | Board uniformity corrected for drawing without replacement, χ² fits, lag-1 from integer sums |
| src/domains.ts | Declared value domains for every numeric field of the artifacts of record (Step 23) |
| scripts/rtp-convergence.mjs | npm run rtp-convergence — draws outputs/rtp-convergence.html, the simulated RTP of every setting against its exact value |
4.13Datasets UsedSource artifacts
4.14Verified Invariants14 invariants
| Invariant | Result |
|---|---|
| P(k | n) = C(n,k)·C(40−n,10−k)/C(40,10) equals the independent draw-by-draw derivation, cell for cell, for n = 1–10 (non-circular) | Pass |
| Each hit distribution sums to exactly 1 and has mean exactly n·10/40 | Pass |
| Negative controls: a shifted distribution is rejected; a nudged cell changes the exact RTP | Pass |
The exact RTP of all 40 settings equals outputs/rtp-claim-table.json | Pass |
| LIQD’s advertised 1.00% edge holds at all 40 settings — worst gap −0.096947 pp against ±0.1 pp | Pass |
| The served multiplier is the declared cell on 7,477 / 7,477 rows | Pass |
| winningAmount == floor(stake × cell) in 1e-8 units on 7,477 / 7,477; every product exact on the money grid at $0.10 and $10.00 | Pass |
| The same cell pays the same multiplier at $0.10 and at $10.00 | Pass |
| Every payout ≤ stake × its row’s top cell | Pass |
| 10 / 10 Pass 1 streams clear board uniformity, the hit law and the lag-1 screen at 3.333 × 10⁻⁵ | Pass |
| 40 / 40 settings’ simulated RTP within ±5 SE of the exact RTP (largest |z| 1.73) | Pass |
| The first 50,000 rounds of 10 / 10 streams replay exactly; the full artifact regenerates field for field (REPRODUCED) | Pass |
| No significant return deficit on the 43 casino seeds (Pass 2 — p = 0.6116 and 0.3626 against 0.001; 43 / 43 seed rows reproduced) | Pass |
The draw takes no stake argument — computeDraw(serverSeed, clientSeed, nonce) (Step 10) | Pass |
4.15Reproduction InstructionsRun locally
Clone the repository, install dependencies, and regenerate the simulation before verifying:
git clone https://github.com/ProvablyFair-org/liqd-keno.gitcd liqd-keno && git checkout v1.2.0npm cinpm run test:full # regenerates the 10M-round simulation from its pinned master seed, compares it, then verifieshead -40 outputs/rtp-claim-table.jsoncat outputs/simulation-results.json | head -40The RTP claim rule and the S4-related steps, as printed, without their detail lines:
rtp-claim: ENFORCED — PASS
rtp-claim: band ±0.10 pp · 40 settings · true min 98.903053% (risk=low picks=5) · true max 99.068864% (risk=low picks=9)
rtp-claim: house side beyond band: 0 · player-favourable beyond band: 0 · worst risk=low picks=5 at -0.096947 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 2b1a49a816bf3f0d… matches the pin
[PASS] Step 11: Paytable provenance & served-vs-declared
[PASS] Step 12: Payout arithmetic
[PASS] Step 13: Bet-size invariance (elevated stake)
[PASS] Step 14: Paytable shape & bounds
[PASS] Step 15: Configuration & cell coverage
[PASS] Step 17: Anti-circularity (hit probability)
[PASS] Step 18: Per-config RTP by exact enumeration vs claim
[PASS] Step 19: Simulation Pass 1 (fresh seeds)
[PASS] Step 20: Simulation Pass 2 (cherry-pick)
[PASS] Step 21: Live-sample fit (informational)
[PASS] Step 23: Artifacts of record
The simulation is deterministic: `npm run test:full` regenerates outputs/simulation-results.json and compares it field by field with the committed artifact — REPRODUCED on 11 November 2026 (Node 22.23.4) — and the verdict is scored against the committed, SHA-256-pinned artifact. The chart above is drawn from that artifact and the exact RTP table.Fairness Integrity Testing
Does the implementation maintain fairness under non-standard conditions?
Sections 1–4 show the game is mathematically fair. Section 5 tests whether the game holds up under pressure on LIQD’s pre-launch environment: bets sent at the same moment, replayed requests, invalid inputs and requests made for another player’s account. It reports 34 integrity tests across 12 categories. 33 passed, and one was remediated: the paytable in use during testing missed the 1% edge by more than a tenth of a percentage point on 10 settings, and LIQD corrected it. No test changed, replayed or injected an outcome.
What we verified
- Parallel bets: can bets sent at the same moment, or a seed change during a bet, alter an outcome or pay twice?
- Replays: can a nonce be forced, skipped or reused, or one bet be settled twice?
- Seeds: can the active server seed be read early, or an unusual client seed break the game?
- Other players: can anyone act on another player’s account, or after logging out?
- Payouts: can drawn numbers, hits, a multiplier or a payout be injected?
- Limits: can invalid picks, risk levels, 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 draw cannot be changed or replayed
- Each bet gets its own nonce from the server, under a seed committed in advance
- Your bets are tied to your session: no other account can act on them
- LIQD corrected the paytable finding: the audited table returns within a tenth of a percentage point of 99% on all 40 settings
- Parallel bets: can bets sent at the same moment, or a seed change during a bet, alter an outcome or pay twice?
- Replays: can a nonce be forced, skipped or reused, or one bet be settled twice?
- Seeds: can the active server seed be read early, or an unusual client seed break the game?
- Other players: can anyone act on another player’s account, or after logging out?
- Payouts: can drawn numbers, hits, a multiplier or a payout be injected?
- Limits: can invalid picks, risk levels, stakes or currencies get through?
- No test let anyone change, replay or inject an outcome
- Once a bet is placed, its draw cannot be changed or replayed
- Each bet gets its own nonce from the server, under a seed committed in advance
- Your bets are tied to your session: no other account can act on them
- LIQD corrected the paytable finding: the audited table returns within a tenth of a percentage point of 99% on all 40 settings
Nonce integrityPass
Seed integrityPass
Outcome determinismPass
Round & player isolationPass
Payout integrityPass
Paytable returnRemediated
34 integrity tests reported: 33 pass and 1 remediated (the paytable return, corrected by LIQD and re-verified against the corrected paytable: all 40 settings return within a tenth of a percentage point of 99%). No test changed, replayed or injected an outcome. Test procedures and payloads stay private by policy, as 5.5 explains.
Category Coverage
| Check | Result | Evidence |
|---|---|---|
| Nonce integrity | Pass | The server assigns every nonce: forced, skipped, reused or oversized nonces are refused, and the count rises by one per bet |
| Seed integrity | Pass | The active server seed is never shown before rotation, rotations during live bets never reused a seed, and unusual client seeds are handled |
| Outcome determinism | Pass | 2,770 rounds from the integrity testing reproduced independently, with five cross-checked against LIQD’s verifier |
| Round & player isolation | Pass | Other players’ identifiers and logged-out sessions are rejected, and identical parallel bets settle once each |
| Payout integrity | Pass | Injected draws, hits, payouts and multipliers are rejected, and consecutive rounds settle with no payout mismatch |
| Paytable return | Remediated | The paytable in use during testing missed the 1% edge by over a tenth of a point on 10 settings (Medium); LIQD corrected it |
Nonce integrityPass
Seed integrityPass
Outcome determinismPass
Round & player isolationPass
Payout integrityPass
Paytable returnRemediated
34 integrity tests reported: 33 pass and 1 remediated (the paytable return, corrected by LIQD and re-verified against the corrected paytable: all 40 settings return within a tenth of a percentage point of 99%). 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 draw from its disclosed inputs; fairness-integrity testing asks whether the surface around that computation holds up under non-standard use — seeds swapped, rounds replayed, parameters injected, settlements raced. These tests ran against LIQD’s running service on its pre-launch environment (qa.liqd.com), not against a dataset. This section covers 34 tests across 12 categories. Each card below gives the control assessed, the broad testing approach, the observed result, its impact and any limitation.
| Category | Tests | What It Catches |
|---|---|---|
| Race Conditions | 5 | Parallel bets racing placement, settlement or seed rotation, and how the service handles extreme bursts |
| Input Validation | 5 | Malformed, wrong-type or out-of-range picks, risk modes, stakes, content types and currencies |
| Atomic Balance / Idempotency | 3 | Double debits, orphaned debits and unsafe retry behaviour after a timeout or disconnect |
| Broken Authorization | 2 | Acting on another account, or after the session has ended |
| Max-win Bypass | 4 | Client-supplied outcome or pick-selection fields, and stake limits |
| Nonce Manipulation | 4 | Reused, skipped, zero, negative or oversized nonces supplied by the client |
| RNG / PF Verification | 4 | Draw distribution, return against the displayed edge, commitment and reveal, and independent recomputation of live rounds |
| RNG / Information Leak | 1 | Disclosure of the active server seed, or of hidden game state, before it is due |
| Entropy / PF Verification | 1 | Server-seed rotation behaviour: fresh seeds, a new commitment and the nonce reset |
| Precision / Payout | 1 | Settlement arithmetic and wallet reconciliation over many rounds |
| Event Replay | 1 | Duplicate or replayed requests settling more or less than once |
| Adversarial Seeds | 3 | Unusual client seeds: length, character sets, Unicode forms and rapid rotation |
5.2Severity Framework & Hard Fail Criteria
Two scales apply in this section. The audit framework decides whether a result can pass at all — any test that lets money settle against a tampered or unverifiable outcome is an automatic hard fail. The integrity matrix records each test’s status — Pass, Remediated, Warning or Fail — and each finding is graded Critical, High, Medium or Low. On this page: one Remediated test, graded Medium — the paytable’s return against the displayed edge, a disclosure finding rather than a draw issue, corrected by LIQD and re-verified against the corrected paytable.
| Status | Meaning | Action |
|---|---|---|
| Pass | The service handled the scenario correctly: the control held | None — recorded with its result |
| Remediated | A failed control that LIQD has since fixed, re-verified by ProvablyFair.org | Recorded with the fix and its re-verification |
| Warning | A security or availability defect that leaves fairness, outcomes and player funds intact | Reported to LIQD privately; published once fixed and re-tested, or as open if its fix deadline passes |
| Fail | A defect affecting fairness, outcomes or player funds | Blocks certification until fixed and re-tested |
| Condition | Consequence |
|---|---|
| A substituted server seed is accepted against a published commitment | Hard fail |
| A revealed seed fails its commitment and play continues | Hard fail |
| Any settled round’s drawn numbers cannot be reproduced from disclosed inputs | Hard fail |
| A credited payout deviates from the declared paytable cell and the settlement rule | Hard fail |
| Nonce reuse or gaps that could conceal discarded outcomes | Hard fail |
34 tests · 33 pass · 1 remediated
Race Conditions5/5
LIQD-KENO-EXTRA-001PassSeed rotation racing live bets
- Control assessed
- A rotation racing bets cannot reveal a seed early or inconsistently, or bring a revealed seed back into use, and each raced round settles on the seed it reports.
- Testing approach
- Seventy rotations fired against bets in flight; each revealed seed checked against its pre-race commitment and each raced round recomputed.
- Observed result
- All 70 rotations succeeded. Each revealed seed matched its pre-race commitment, none reappeared as a later active seed, and every settled raced round recomputed under the seed it reported; four raced bets returned a generic server error.
- Impact
- None on fairness — seed tracking held; the four errors were generic rather than structured responses.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-RACE-001PassNonce uniqueness under parallel bets
- Control assessed
- Every accepted bet gets its own server-assigned nonce in sequence, even under parallel load.
- Testing approach
- Bursts of parallel bets from one account; nonces and response order compared.
- Observed result
- All 55 bets were accepted with unique nonces and no server error; ordered by arrival, the nonces ascend across the whole run.
- Impact
- None — no nonce was shared or skipped.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-RACE-002PassIdentical bets in parallel, at scale
- Control assessed
- Each accepted bet settles exactly once, and the balance equals the sum of all settled rounds.
- Testing approach
- Fifteen identical bets sent in parallel; round IDs and balance reconciled.
- Observed result
- All 15 settled once, as distinct rounds; the balance change matched their summed outcome exactly.
- Impact
- None — no lost or duplicated settlement.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-RACE-003PassHigh-stake parallel over-commit
- Control assessed
- Parallel high-stake bets cannot overdraw the balance, settle twice or leave a phantom round.
- Testing approach
- Parallel bets whose combined stake exceeds the balance, with a control bet; wallet and bet history reconciled.
- Observed result
- All 10 settled rounds, the control included, reconciled to the wallet and the bet history: no over-commit, no negative balance, no payout mismatch, no lost or phantom round.
- Impact
- None — settlement stayed consistent under parallel placement.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-RACE-004PassBurst load and error disclosure
- Control assessed
- Excess load is held back by rate limiting or answered with structured errors, with no duplicate nonce and no internal detail in error bodies.
- Testing approach
- Bursts of bets from one account at increasing volume; status codes, error bodies and nonces checked.
- Observed result
- The smaller bursts all settled; the largest was answered with structured busy and rate-limit responses, with no generic server errors. Accepted nonces were unique, and no error body disclosed internal detail.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
Input Validation5/5
LIQD-KENO-PARAM-001PassPicks and risk-mode validation
- Control assessed
- Valid selections are accepted; out-of-range and wrong-type selections are refused.
- Testing approach
- The valid boundary selections, out-of-range and wrong-type picks and risk modes, with a control bet.
- Observed result
- The control and every valid boundary were accepted, and every out-of-range and wrong-type selection was rejected by input validation.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-PARAM-002PassStake edge cases
- Control assessed
- Minimum and free-play stakes are accepted; invalid stakes are refused, with no silent conversion to zero.
- Testing approach
- Minimum-stake and zero-stake controls, then negative, oversized, sub-precision, null and wrong-type stakes.
- Observed result
- Both controls settled; every invalid stake was rejected, with no silent conversion to zero.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-PARAM-003PassMaximum pick count, recomputed
- Control assessed
- Eleven picks are refused; a 10-pick round settles and reproduces from its revealed seed.
- Testing approach
- An 11-pick and a 10-pick bet; the 10-pick round recomputed after the reveal and checked against LIQD’s verify endpoint.
- Observed result
- Eleven picks were rejected and ten accepted; the revealed seed matched its commitment, and the round recomputed to the settled draw and payout, with LIQD’s verifier agreeing.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-PARAM-004PassContent-type variations around validation
- Control assessed
- Changing how the request body is encoded cannot let an invalid selection settle.
- Testing approach
- Invalid selections sent under each alternative content type, with a control bet.
- Observed result
- The control settled; both invalid selections were rejected under every content type, so no body-parsing path skipped validation.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-TOKEN-001PassCurrency identifier manipulation
- Control assessed
- A client-supplied currency identifier cannot redirect or alter the stake.
- Testing approach
- Bets carrying six altered currency identifiers, with a control bet.
- Observed result
- All six were rejected without a server error; only the control settled, in the expected wallet.
- Impact
- None — the stake stayed in the account’s own currency.
- Limitations
- None specific to this test; the general scope is in 5.5.
Atomic Balance / Idempotency3/3
LIQD-KENO-IDEMP-001PassSame-key retry after a timeout
- Control assessed
- A retry with the same key returns the original round, with no second debit.
- Testing approach
- Bets sent with very short client timeouts, then retried with the same key; wallet reconciled over the nonces used.
- Observed result
- All 20 retries returned their original round; all 12 timed-out bets had settled server-side, and the wallet reconciled exactly.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-IDEMP-002PassOrphaned-debit check at scale
- Control assessed
- Every debit belongs to a settled round.
- Testing approach
- Twenty consecutive bets; the balance reconciled against their outcomes.
- Observed result
- All 20 settled, and the balance change matched their summed outcome exactly.
- Impact
- None — no unexplained debit.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-IDEMP-003PassDisconnect while a bet is processed
- Control assessed
- Every consumed nonce is explained, and no debit is left unexplained.
- Testing approach
- Bets abandoned by the client at different moments; rounds and balance reconciled.
- Observed result
- The abandoned bet still settled, and the other three settled normally; the balance reconciled exactly over the consumed nonces.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
Broken Authorization2/2
LIQD-KENO-AUTH-001PassForeign and malformed user identifiers
- Control assessed
- A user identifier supplied in the request is refused; bets stay bound to the caller’s own session.
- Testing approach
- Bets sent with foreign and malformed user identifiers in the request, alongside control bets; the caller’s balance reconciled.
- Observed result
- All 13 injected identifiers were rejected without a server error; the two control bets account for the caller’s entire balance change.
- Impact
- None — no injected identifier was accepted.
- Limitations
- Covers the caller’s balance, from one authenticated account.
LIQD-KENO-AUTH-003PassSession reuse after logout
- Control assessed
- A session ends at logout: its cookie cannot place another bet.
- Testing approach
- A control bet, a logout, then a bet attempted with the old session.
- Observed result
- The control bet settled and the logout completed; the reused session was rejected and no bet was placed.
- Impact
- None — the session was invalidated server-side.
- Limitations
- None specific to this test; the general scope is in 5.5.
Max-win Bypass4/4
LIQD-KENO-INJECT-001PassSingle outcome field injected
- Control assessed
- No client-supplied draw, hits, payout, status or multiplier value can control settlement.
- Testing approach
- Bets each carrying one injected outcome field, with two control bets.
- Observed result
- All five injected fields were rejected by schema validation and none was echoed; the two controls account for the entire nonce advance and balance change.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-INJECT-002PassPick-selection field injection
- Control assessed
- No injected field changes the selection, and malformed modes are refused.
- Testing approach
- Bets carrying alias selection fields, malformed modes and a parameter override.
- Observed result
- All three alias fields and every malformed mode were rejected; the override bet settled exactly as sent. No selection diverged from the request.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-MAXWIN-001PassStake boundary enforcement
- Control assessed
- Out-of-range stake values are refused without touching the balance.
- Testing approach
- Oversized, negative and malformed stakes alongside a free-play control.
- Observed result
- The control settled; all four invalid stakes were rejected and none consumed balance.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-MAXWIN-002PassSeveral outcome fields injected at once
- Control assessed
- Outcome fields supplied by the client cannot steer settlement or consume a nonce.
- Testing approach
- One bet carrying several injected outcome fields together, with a control bet.
- Observed result
- The combined injection was rejected at validation; only the control consumed a nonce and moved the balance.
- Impact
- None — settlement stayed server-computed.
- Limitations
- None specific to this test; the general scope is in 5.5.
Nonce Manipulation4/4
LIQD-KENO-NONCE-001PassReused nonce
- Control assessed
- The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
- Testing approach
- Bets carrying a reused nonce.
- Observed result
- The replayed nonce was rejected at validation and never echoed; the rejected request moved no balance.
- Impact
- None — the server kept its own sequence.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-NONCE-002PassSkipped-ahead nonce
- Control assessed
- The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
- Testing approach
- Bets carrying a skipped-ahead nonce.
- Observed result
- The skipped-ahead nonce was rejected at validation and never echoed; the server did not skip ahead.
- Impact
- None — the server kept its own sequence.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-NONCE-003PassZero and negative nonces
- Control assessed
- The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
- Testing approach
- Bets carrying zero and negative nonces.
- Observed result
- All three zero and negative nonces were rejected at validation; 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-KENO-NONCE-004PassOverflow-sized nonces
- Control assessed
- The client cannot choose the nonce: an injected value is refused, and the server keeps its own sequence.
- Testing approach
- Bets carrying overflow-sized nonces.
- Observed result
- All three overflow-sized nonces were rejected at validation, with no server error.
- Impact
- None — the server kept its own sequence.
- Limitations
- None specific to this test; the general scope is in 5.5.
RNG / PF Verification4/4
LIQD-KENO-FAIR-001MediumRemediatedDraw distribution and paytable return
- Control assessed
- The draw shows no bias, and every setting returns the 99% LIQD displays (a 1.00% edge).
- Testing approach
- A 2,000-draw live sample recomputed from its revealed seed and tested for uniformity and hit counts; the paytable’s exact return computed for every setting.
- Observed result
- The draw showed no bias: all 2,000 draws recomputed exactly, the 20,000 drawn numbers passed the uniformity test, and hit counts fit the exact distribution. The paytable in place at the time of testing missed the displayed 1.00% edge by more than 0.1 percentage points on 10 settings (lowest 98.653846%). LIQD adjusted the paytable, and the audited table returns within 0.1 percentage points of 99% on all 40 settings (Section 4).
- Impact
- Medium · return disclosure, not a draw issue. Remediated: LIQD corrected the paytable, re-verified against the corrected paytable.
- Limitations
- The re-verification is the exact computation over the audited paytable in Section 4, under the RTP claim rule’s 0.1 percentage-point band.
LIQD-KENO-EXTRA-002PassIndependent draw and outcome check
- Control assessed
- Live draws can be reproduced independently, in order, from the revealed inputs.
- Testing approach
- Five rounds recomputed with our own implementation and checked against LIQD’s verify endpoint, then every round captured during the integrity testing recomputed.
- Observed result
- All five rounds recomputed to the settled draw, in order, with LIQD’s verifier agreeing on each; 2,770 pre-launch rounds with a revealed seed reproduced independently.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-PF-001PassProvably-fair data and commit / reveal
- Control assessed
- Each bet carries every provably-fair field, the revealed seed matches its commitment, and each outcome reproduces.
- Testing approach
- Three bets checked field by field, then the seed revealed and the rounds recomputed and checked against LIQD’s verify endpoint.
- Observed result
- All fields were present and the nonce advanced by exactly 3; the revealed seed hashed to its commitment, and all three rounds recomputed to the settled draw, with LIQD’s verifier agreeing.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-PF-002PassNonce sequence within a seed period
- Control assessed
- The nonce advances by exactly one per bet while the commitment stays unchanged.
- Testing approach
- Ten consecutive bets on one server seed, then a reveal.
- Observed result
- The nonce advanced from 0 to 10 with no gap while the commitment stayed unchanged; once the seed was revealed, all 10 rounds recomputed independently.
- Impact
- None — the sequence was complete and the commitment fixed.
- Limitations
- None specific to this test; the general scope is in 5.5.
RNG / Information Leak1/1
LIQD-KENO-DISCLOSE-001PassActive server-seed disclosure
- Control assessed
- The active server seed stays secret until rotation; only then is it revealed.
- Testing approach
- The responses around a bet checked for the active seed before rotation; a rotation then served as the positive control.
- Observed result
- No response checked exposed the active seed; after rotation, the revealed seed matched its commitment.
- Impact
- None — the seed stayed secret until it was due.
- Limitations
- Covers one bet and one seed period.
Entropy / PF Verification1/1
LIQD-KENO-ENTROPY-004PassNonce reset after seed rotation
- Control assessed
- Rotating the seed changes the commitment and restarts the nonce at 0.
- Testing approach
- Bets, a rotation, then further bets.
- Observed result
- The nonce reset from 2 to 0, the commitment changed, and both follow-up bets settled normally.
- Impact
- None — rotation behaved as specified.
- Limitations
- None specific to this test; the general scope is in 5.5.
Precision / Payout1/1
LIQD-KENO-PREC-001PassPayout consistency at scale
- Control assessed
- Every payout follows the game’s settlement rule, and the wallet reconciles over the run.
- Testing approach
- Two hundred consecutive rounds; each payout and the aggregate balance change checked.
- Observed result
- All 200 rounds settled with no payout mismatch; the balance change matched the summed outcome exactly.
- Impact
- None — settlement arithmetic held.
- Limitations
- None specific to this test; the general scope is in 5.5.
Event Replay1/1
LIQD-KENO-REPLAY-001PassDuplicate identical bets sent together
- Control assessed
- Two identical requests sent at the same moment settle as two distinct rounds — none lost, none settled twice.
- Testing approach
- A pair of identical bet requests sent in parallel; rounds and balance reconciled.
- Observed result
- Both requests settled as distinct rounds, and the balance moved by exactly their net outcome.
- Impact
- None — each request settled exactly once.
- Limitations
- None specific to this test; the general scope is in 5.5.
Adversarial Seeds3/3
LIQD-KENO-SEED-001PassClient-seed length and character sets
- Control assessed
- Client seeds have a consistent length limit, and the game stays usable after every accepted or refused change.
- Testing approach
- Client seeds of increasing length and unusual character sets, each followed by a bet.
- Observed result
- Seeds up to 255 characters were accepted and longer ones consistently rejected; empty and path-like seeds were rejected, while other character sets, markup included, were accepted and stored as plain text. Every following bet settled.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-SEED-002PassUnicode forms of one seed
- Control assessed
- Composed and decomposed Unicode forms of the same seed are both usable and handled consistently.
- Testing approach
- The same visible seed submitted in both forms, each followed by a bet.
- Observed result
- Both forms were accepted and stored exactly as sent, and both following bets settled.
- Impact
- None — the control held.
- Limitations
- None specific to this test; the general scope is in 5.5.
LIQD-KENO-SEED-003PassRapid seed rotation
- Control assessed
- Each bet uses the seed set by the rotation immediately before it.
- Testing approach
- Back-to-back rotations, each followed by a bet.
- Observed result
- Every bet used the seed set just before it; no stale or mixed-up seed appeared.
- Impact
- None — each bet bound to the current seed.
- Limitations
- None specific to this test; the general scope is in 5.5.
Technical Evidence & Verification4 sections
5.3Coverage Summary12 categories
Coverage by category — 34 tests: 33 pass, 1 remediated.
| Category | Tests | Result |
|---|---|---|
| Race Conditions | 5 | All pass |
| Input Validation | 5 | All pass |
| Atomic Balance / Idempotency | 3 | All pass |
| Broken Authorization | 2 | All pass |
| Max-win Bypass | 4 | All pass |
| Nonce Manipulation | 4 | All pass |
| RNG / PF Verification | 4 | 3 pass · 1 remediated (FAIR-001) |
| RNG / Information Leak | 1 | All pass |
| Entropy / PF Verification | 1 | All pass |
| Precision / Payout | 1 | All pass |
| Event Replay | 1 | All pass |
| Adversarial Seeds | 3 | All pass |
5.4Findings & Remediation1 record
1 finding from 1 test, remediated and re-verified. Each test’s card in the matrix above gives its control, approach, result, impact and limitations.
| Tests | Finding | Status |
|---|---|---|
| FAIR-001 | The paytable in place at testing missed the displayed 1.00% edge by more than 0.1 percentage points on 10 settings. LIQD corrected it; re-verified against the corrected paytable, all 40 settings are within 0.1 percentage points of 99%. | Remediated · Medium |
5.5Scope & LimitationsScope note
5.6Evidence & Disclosure
Live-surface record: The public repo reproduces the 24 production audit checks of Sections 1–4. Section 5’s 34 pre-launch integrity tests ran against LIQD’s running service, so they do not reproduce from it; the published record is the test cards above.
Retained under the engagement record: Per-test procedures, request and response captures, run timestamps and build identifiers — available to LIQD and to regulators on request.
Integrity tests reported .............. 34Categories ............................ 12Pass .................................. 33Remediated ............................ 1Findings reported ..................... 1 · 1 remediatedProcedures and payloads ............... withheld (5.5)Player Verification
Can a player verify their own bets without trusting anyone?
Every Keno round 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 recomputed draw matches the game, the ten numbers and your hits, the round 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.
Key principles
- Every Keno round 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 draw matches the game, the round was provably fair
- Most players can verify directly in LIQD’s Provably Fair panel
What you need
- Server Seed — revealed after seed rotation (casino entropy)
- Client Seed — your player-controlled seed
- Nonce — the round number in your seed pair, from 0
- Picks & Risk — the 1–10 numbers you picked and the risk you played (Classic, Low, Med or High)
- Every Keno round 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 draw matches the game, the round was provably fair
- Most players can verify directly in LIQD’s Provably Fair panel
- Server Seed — revealed after seed rotation (casino entropy)
- Client Seed — your player-controlled seed
- Nonce — the round number in your seed pair, from 0
- Picks & Risk — the 1–10 numbers you picked and the risk you played (Classic, Low, Med or High)
Player can access all required inputsPass
Client seed origin transparentPass
Verification process documentedPass
Casino UI exposes verification panelPass
Independent verifier availablePass
Manual recomputation possiblePass
No hidden or proprietary stepsPass
Public algorithm documentationInfo
Only disclosed inputs are used. Identical inputs always produce identical output.
- 1
Save the Server-Seed Hash Before Betting
Open the Provably Fair panel from the game page and save the hashed server seed shown in the Seeds tab: the seed revealed later must match it. Then pick 1 to 10 numbers on the 40-number board, by hand or with the Number Picker, choose a risk level and play. The ten numbers are drawn from the seeds and nonce alone: your picks and stake never enter the draw.
- 2
Open the Provably Fair Panel and Rotate the Seed
Open the Provably Fair panel again. The Seeds tab shows your active seed pair, its hashed server seed and the hash of the next one. Rotating ends the seed pair and reveals the server seed. Check it first: the SHA-256 hash of the revealed seed must equal the hash you saved before betting. Across this audit’s 47 rotations, it always did.
- 3
Enter the Seeds in the Verify Tab
Open the Verify tab, which recomputes any round from a client seed, server seed, nonce, risk and picks, and enter the revealed server seed, your client seed, the round’s nonce, the risk and your picks.
- 4
Recompute & Confirm
Press Verify, or enter the same inputs in the ProvablyFair.org verifier. If the hash check in step 2 passed and the recomputed draw matches your round (the ten numbers, your hits and the multiplier), the round was provably fair. LIQD’s tab shows the ten numbers as a set; the scripts under Manual Verification also check their order and the payout.
Verify a real bet, step by stepVerify a real bet · Swipe for all 4 steps →
Verify with the audit code
Independent verification using the implementation behind this report.
Open independent verifierBuilt-in verification
The operator’s own verification page. This tool is controlled by LIQD.com.
Open LIQD verifierVisual Walkthroughstep-by-step
Before you bet, open the Provably Fair panel and save the Active Server Seed (Hashed) from the Seeds tab, shown in 6.2: the seed revealed later must hash to it. Then pick 1 to 10 numbers on the board — tap them, or set the Number Picker and press Pick for a random set — choose a risk level and play. The platform draws the ten numbers from (serverSeed, clientSeed, nonce): your picks decide your hits and the risk decides the paytable row. The panel below is LIQD’s Keno bet panel with three numbers picked — 11, 12 and 13 — on Classic; the row under the board is that setting’s paytable: 0×, 1×, 3.1× or 10.4× for 0 to 3 hits. The WTF tab is greyed out: production does not offer it.

LIQD Keno on liqd.com — picks 11, 12 and 13 on Classic, with the paytable row for three picks under the board (0×, 1×, 3.1×, 10.4×).
The panel has two tabs, Seeds and Verify. The Seeds tab holds your active seed pair and its commitment. Rotation ends the epoch: the outgoing server seed is revealed for verification, and the next server seed — whose hash LIQD had already published — becomes active with the client seed you set. That advance commitment is the chain the audit’s Step 2 checks across all 47 rotations, including the link into the first epoch of every capture.
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 input; the seed set when you rotate becomes the active one.
Total bets made with pair — the bet counter under the active pair: it starts at 0 after every rotation and locates each round’s nonce within the epoch.
Rotate Seed Pair — ends the epoch and reveals the server seed behind the hash you saw.

The Seeds tab before rotating — Active Server Seed (Hashed) 359a1ff3…cf02c2 after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 4c895a3c…73a803, hashes to 359a1ff3…cf02c2.
The Verify tab takes the inputs — client seed, server seed, nonce, the risk and your picks — and recomputes a round on demand. Enter the server seed revealed in step 2, your client seed, the round’s nonce, the risk and your picks.

The Verify tab filled in for that round — client seed, the server seed revealed in step 2, nonce 0, risk Classic and the three picks.
Press Verify. The tab recomputes the ten numbers from the three seed inputs, then counts your hits and reads the multiplier from the paytable: it marks the ten drawn numbers on the board (as a set, not in draw order) and shows your hits and multiplier. A match shows the draw is the one the committed seed produces. The scripts in the Manual Verification section below do the same with nothing but Node.js or Python, pre-loaded with two rounds from this report — and they add the commitment check, the draw order and the credit.

The result: ten numbers drawn, 12 and 13 hit — “2 of 3 hit: 3.1x”. Our scripts in 6.8–6.9 reproduce it exactly: draw order 13, 22, 14, 18, 40, 12, 15, 10, 26, 17, two hits, 3.1×.
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 moving parts, in the order they act:
- Commit — before you play, LIQD publishes
SHA-256of the server seed, hashed as the 32-character hex string. The seed itself stays secret until rotation. - Draw — for cursor i = 0 … 9:
HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:i); the first 4 bytes, read big-endian, modulo 40 − i give j′, and board positions i and i + j′ swap on the board 1 … 40. The first ten board entries, in order, are the drawn numbers. - Hits — the number of your picks among the ten drawn numbers; the draw itself never reads your picks. With two rows, each row counts its hits against the same ten.
- Cell — the multiplier is the declared paytable cell for your risk, pick count and hits,
PAYTABLE[risk][picks][hits]— LIQD’s client table, read from liqd.com on 28 October 2026. - Pay — the credit is
floor(stake × multiplier)at the 8th decimal, row by row.
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 list the expected output of two rounds from this report in their comments so you can self-check the tool before trusting it. The other classic slip is the swap: position i trades with position i + j′, counted from i, on a board numbered 1 to 40. Our specification takes plain modulo; a rule that rejects the few 32-bit values where plain modulo is uneven would draw differently about once in 4.8 × 10⁷ rounds, and on none of the 7,457 scored rounds (2.3).
6.7Casino Verifier vs ProvablyFair.org Verifier4 records
Both should agree — the point of having an independent one is what happens if they ever don’t:
| LIQD Built-in (in-game panel) | ProvablyFair.org | |
|---|---|---|
| Who controls the code | The casino | ProvablyFair.org — open source |
| What it proves alone | Internal consistency of LIQD’s own math | Independent recomputation from raw inputs |
| Checked against this capture | Directly — its verify endpoint returned the served round on all 7,457 scored rounds: drawn order, hits and multiplier of every row (Step 24) | The scripts in 6.8–6.9 implement the derivation this audit specifies — HMAC-SHA256 draw and the declared paytable — and reproduce all 7,457 scored rounds (7,477 rows): commitment, draw order, hits, multiplier and credit |
| If they disagree | Suspect the casino’s tool or a tampered round | The repo + scripts are the tiebreaker anyone can run |
6.8JavaScript Verification Script
Complete, dependency-free, and pre-loaded with the featured round as its default inputs — run it as-is to see a full match, then swap in your own round. Run on every one of the 7,477 production rows, it reproduces each one: commitment, drawn numbers in order, hits, multiplier and credit. A two-row round has one draw: run it once per row. Trailing zeros in the stake carry no value (0.10 and 0.100000000 pay the same), and a stake with more than 8 decimals is refused.
// verify-keno.js — standalone LIQD Keno verifier (Node.js, no dependencies)// Usage: node verify-keno.js <serverSeed> <clientSeed> <nonce> <risk> <picks, comma-separated> [stake]const { createHash, createHmac } = require('node:crypto'); const PAYTABLE = { // LIQD's declared paytable, read from liqd.com on 28 October 2026: PAYTABLE[risk][picks][hits] classic: [[], [0,3.96], [0,1.9,4.5], [0,1,3.1,10.4], [0,.8,1.8,5,22.5], [0,.25,1.4,4.1,16.5,36], [0,0,1,3.68,7,16.5,40], [0,0,.47,3,4.5,14,31,60], [0,0,0,2.2,4,13,22,55,70], [0,0,0,1.55,3,8,15,44,60,85], [0,0,0,1.4,2.25,4.5,8,17,50,80,100]], low: [[], [.7,1.86], [0,2,3.83], [0,1.1,1.39,26], [0,0,2.2,7.9,90], [0,0,1.5,4.2,13,300], [0,0,1.1,2,6.2,100,700], [0,0,1.1,1.6,3.5,15,225,700], [0,0,1.1,1.5,2,5.5,39,100,800], [0,0,1.1,1.3,1.7,2.5,7.5,50,250,1e3], [0,0,1.1,1.2,1.3,1.8,3.9,13,50,250,1e3]], medium: [[], [.4,2.76], [0,1.8,5.16], [0,0,2.8,50], [0,0,1.71,10,100], [0,0,1.4,4,14,390], [0,0,0,3,9,181,710], [0,0,0,2,7,30,400,800], [0,0,0,2,4,11,67,400,900], [0,0,0,2,2.5,5,15,100,500,1e3], [0,0,0,1.6,2,4,7,26,100,500,1e3]], high: [[], [0,3.96], [0,0,17.16], [0,0,0,81.5], [0,0,0,10,259], [0,0,0,4.51,48,450], [0,0,0,0,11,350,710], [0,0,0,0,7,90,400,800], [0,0,0,0,5,20,270,600,900], [0,0,0,0,4,11,56,500,800,1e3], [0,0,0,0,3.5,8,13,63,500,800,1e3]],}; const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, risk, picksArg, stake = '0.10'] = argv.length ? argv : ['4ac1632b65c42e1c4fdbad5afaf513cd', 'audit047790ed49c5', '193', 'high', '25,35,33,5'];const nonce = Number(nonceArg), picks = picksArg.split(',').map(Number); // 1) Commitment: SHA-256 of the hex STRING (UTF-8) — the hash LIQD showed before you playedconsole.log('commitment =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) The draw — HMAC-SHA256 keyed on the DECODED bytes, message clientSeed:nonce:cursor, first 4 bytes big-endianconst value = cursor => createHmac('sha256', Buffer.from(serverSeed, 'hex')) .update(`${clientSeed}:${nonce}:${cursor}`).digest().readUInt32BE(0);const board = Array.from({ length: 40 }, (_, k) => k + 1); // the board 1…40for (let i = 0; i < 10; i++) { // forward Fisher–Yates: swap i with i + j′ const j = i + value(i) % (40 - i); [board[i], board[j]] = [board[j], board[i]];}const drawn = board.slice(0, 10);console.log('drawn =', drawn.join(', ')); // 3) Hits pick the cell of the declared paytableconst hits = picks.filter(p => drawn.includes(p)).length;const cell = PAYTABLE[risk][picks.length][hits];const [ci, cf = ''] = String(cell).split('.'); // the cell digit for digit: 16.5 → 165 / 10const num = BigInt(ci + cf), den = 10n ** BigInt(cf.length);console.log(`hits = ${hits} | multiplier = ${cell}`); // 4) Payout = floor(stake × multiplier) at the 8th decimal, in exact integer arithmeticconst [si, sf = ''] = stake.split('.');const frac = sf.replace(/0+$/, ''); // trailing zeros carry no value: 0.100000000 is 0.10if (frac.length > 8) { console.error(`stake ${stake} has more than 8 decimals`); process.exit(1); }const paid = BigInt(si + frac.padEnd(8, '0')) * num / den; // stake in 1e-8 units; BigInt division floorsconsole.log('payout =', `${paid / 100000000n}.${String(paid % 100000000n).padStart(8, '0')}`);// A two-row round has one draw: run the script once per row, with that row's picks and stake.// Expected for the defaults (bet dr1ZSM-Bw58uvkmG4DpdY, High / 4, epoch 6 nonce 193, at $0.10):// commitment = 4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845// drawn = 33, 2, 5, 17, 12, 29, 25, 35, 3, 28// hits = 4 | multiplier = 259// payout = 25.90000000// Expected for bet -RHNgwd2TdXhsow1LXm8z (Classic / 3, epoch 42 nonce 144, at $10.00):// node verify-keno.js fdb4e25e6d3fa58b7af15d0b84503978 audit8398a308fb4d 144 classic 33,38,1 10.00// commitment = fbf4f685c709f1257a3db7222053793d49b3e67a2abdff6cea8601fe1ce6108e// drawn = 19, 17, 26, 40, 14, 1, 38, 13, 33, 9// hits = 3 | multiplier = 10.4// payout = 104.000000006.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. It reproduces all 7,477 production rows as well:
# verify-keno.py — standalone LIQD Keno verifier (Python 3, stdlib only)# Usage: python3 verify-keno.py <serverSeed> <clientSeed> <nonce> <risk> <picks, comma-separated> [stake]import hashlib, hmac, sysfrom fractions import Fraction PAYTABLE = { # LIQD's declared paytable, read from liqd.com on 28 October 2026: PAYTABLE[risk][picks][hits] 'classic': [[], [0,3.96], [0,1.9,4.5], [0,1,3.1,10.4], [0,.8,1.8,5,22.5], [0,.25,1.4,4.1,16.5,36], [0,0,1,3.68,7,16.5,40], [0,0,.47,3,4.5,14,31,60], [0,0,0,2.2,4,13,22,55,70], [0,0,0,1.55,3,8,15,44,60,85], [0,0,0,1.4,2.25,4.5,8,17,50,80,100]], 'low': [[], [.7,1.86], [0,2,3.83], [0,1.1,1.39,26], [0,0,2.2,7.9,90], [0,0,1.5,4.2,13,300], [0,0,1.1,2,6.2,100,700], [0,0,1.1,1.6,3.5,15,225,700], [0,0,1.1,1.5,2,5.5,39,100,800], [0,0,1.1,1.3,1.7,2.5,7.5,50,250,1e3], [0,0,1.1,1.2,1.3,1.8,3.9,13,50,250,1e3]], 'medium': [[], [.4,2.76], [0,1.8,5.16], [0,0,2.8,50], [0,0,1.71,10,100], [0,0,1.4,4,14,390], [0,0,0,3,9,181,710], [0,0,0,2,7,30,400,800], [0,0,0,2,4,11,67,400,900], [0,0,0,2,2.5,5,15,100,500,1e3], [0,0,0,1.6,2,4,7,26,100,500,1e3]], 'high': [[], [0,3.96], [0,0,17.16], [0,0,0,81.5], [0,0,0,10,259], [0,0,0,4.51,48,450], [0,0,0,0,11,350,710], [0,0,0,0,7,90,400,800], [0,0,0,0,5,20,270,600,900], [0,0,0,0,4,11,56,500,800,1e3], [0,0,0,0,3.5,8,13,63,500,800,1e3]],} args = sys.argv[1:] or ['4ac1632b65c42e1c4fdbad5afaf513cd', 'audit047790ed49c5', '193', 'high', '25,35,33,5']server_seed, client_seed, nonce, risk = args[0], args[1], int(args[2]), args[3]picks = [int(p) for p in args[4].split(',')]stake = Fraction(args[5] if len(args) > 5 else '0.10') # exact, so 0.100000000 is 0.10if (stake * 10**8).denominator != 1: sys.exit(f'stake {args[5]} has more than 8 decimals') # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) The draw — HMAC-SHA256 keyed on the 16 decoded bytes, message clientSeed:nonce:cursordef value(cursor): digest = hmac.new(bytes.fromhex(server_seed), f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest() return int.from_bytes(digest[:4], 'big') # the first 4 bytes, big-endian board = list(range(1, 41)) # the board 1…40for i in range(10): # forward Fisher–Yates: swap i with i + j′ j = i + value(i) % (40 - i) board[i], board[j] = board[j], board[i]drawn = board[:10]print('drawn =', ', '.join(map(str, drawn))) # 3) Hits pick the cell of the declared paytablehits = sum(p in drawn for p in picks)cell = PAYTABLE[risk][len(picks)][hits]multiplier = Fraction(repr(cell)) # the cell digit for digit: 16.5 → 33/2, exactprint(f'hits = {hits} | multiplier = {cell:g}') # 4) Payout = floor(stake × multiplier) at the 8th decimal, in exact rational arithmeticunits = stake * multiplier * 10**8paid = units.numerator // units.denominator # floor, in 1e-8 unitsprint(f'payout = {paid // 10**8}.{paid % 10**8:08d}')# A two-row round has one draw: run the script once per row, with that row's picks and stake.# Expected for the defaults (bet dr1ZSM-Bw58uvkmG4DpdY, High / 4, epoch 6 nonce 193, at $0.10):# commitment = 4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845# drawn = 33, 2, 5, 17, 12, 29, 25, 35, 3, 28# hits = 4 | multiplier = 259# payout = 25.90000000# Expected for bet -RHNgwd2TdXhsow1LXm8z (Classic / 3, epoch 42 nonce 144, at $10.00):# python3 verify-keno.py fdb4e25e6d3fa58b7af15d0b84503978 audit8398a308fb4d 144 classic 33,38,1 10.00# commitment = fbf4f685c709f1257a3db7222053793d49b3e67a2abdff6cea8601fe1ce6108e# drawn = 19, 17, 26, 40, 14, 1, 38, 13, 33, 9# hits = 3 | multiplier = 10.4# payout = 104.000000006.10Evidence Screenshots & Records5 records
The walkthrough’s screenshots are page captures from liqd.com; the evidence files below ship in the package. LIQD’s verifier replies for all 7,457 scored rounds are stored inside the four capture files (S3.7).
| File | Shows |
|---|---|
| client-paytable/liqd-keno-client-paytable-liqd.com-2026-10-28.js.txt | E02 · LIQD’s client paytable, read from liqd.com on 28 October 2026 — the declared table the scripts embed (S3.4, S4.13) |
| liqd-com-keno-page-2026-11-09/liqd-com-keno-bet-panel-2026-11-09.png | E06 · The Keno bet panel on 9 November 2026 — the Number Picker with Pick, the risk tabs with WTF greyed out, and Add Second Bet |
| liqd-com-keno-page-2026-10-22/liqd-originals-keno-page-browser-2026-10-22T1734Z.html.txt | E03 · The Keno game page as a logged-out browser received it, “Released: October 2026 | Edge: 1.00%” — the RTP claim (S4.2) |
| liqd-com-unreached-cells-verify-2026-11-10/keno-unreached-cells.jsonl | E10 · LIQD’s verify endpoint asked about the 64 cells no production round reached — every reply the declared multiplier (S3.4, S4.8) |
| liqd-com-refusal-probes.json | E09 · The two requests liqd.com refused — a WTF bet, and a two-row bet whose rows share two numbers (S3.9, S4.8) |
Verify a real bet, step by stepVerify a real bet · Swipe for all 4 steps →
How it works
- 1
Save the Server-Seed Hash Before Betting
Open the Provably Fair panel from the game page and save the hashed server seed shown in the Seeds tab: the seed revealed later must match it. Then pick 1 to 10 numbers on the 40-number board, by hand or with the Number Picker, choose a risk level and play. The ten numbers are drawn from the seeds and nonce alone: your picks and stake never enter the draw.
- 2
Open the Provably Fair Panel and Rotate the Seed
Open the Provably Fair panel again. The Seeds tab shows your active seed pair, its hashed server seed and the hash of the next one. Rotating ends the seed pair and reveals the server seed. Check it first: the SHA-256 hash of the revealed seed must equal the hash you saved before betting. Across this audit’s 47 rotations, it always did.
- 3
Enter the Seeds in the Verify Tab
Open the Verify tab, which recomputes any round from a client seed, server seed, nonce, risk and picks, and enter the revealed server seed, your client seed, the round’s nonce, the risk and your picks.
- 4
Recompute & Confirm
Press Verify, or enter the same inputs in the ProvablyFair.org verifier. If the hash check in step 2 passed and the recomputed draw matches your round (the ten numbers, your hits and the multiplier), the round was provably fair. LIQD’s tab shows the ten numbers as a set; the scripts under Manual Verification also check their order and the payout.
Visual Walkthroughstep-by-step
Before you bet, open the Provably Fair panel and save the Active Server Seed (Hashed) from the Seeds tab, shown in 6.2: the seed revealed later must hash to it. Then pick 1 to 10 numbers on the board — tap them, or set the Number Picker and press Pick for a random set — choose a risk level and play. The platform draws the ten numbers from (serverSeed, clientSeed, nonce): your picks decide your hits and the risk decides the paytable row. The panel below is LIQD’s Keno bet panel with three numbers picked — 11, 12 and 13 — on Classic; the row under the board is that setting’s paytable: 0×, 1×, 3.1× or 10.4× for 0 to 3 hits. The WTF tab is greyed out: production does not offer it.

LIQD Keno on liqd.com — picks 11, 12 and 13 on Classic, with the paytable row for three picks under the board (0×, 1×, 3.1×, 10.4×).
The panel has two tabs, Seeds and Verify. The Seeds tab holds your active seed pair and its commitment. Rotation ends the epoch: the outgoing server seed is revealed for verification, and the next server seed — whose hash LIQD had already published — becomes active with the client seed you set. That advance commitment is the chain the audit’s Step 2 checks across all 47 rotations, including the link into the first epoch of every capture.
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 input; the seed set when you rotate becomes the active one.
Total bets made with pair — the bet counter under the active pair: it starts at 0 after every rotation and locates each round’s nonce within the epoch.
Rotate Seed Pair — ends the epoch and reveals the server seed behind the hash you saw.

The Seeds tab before rotating — Active Server Seed (Hashed) 359a1ff3…cf02c2 after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 4c895a3c…73a803, hashes to 359a1ff3…cf02c2.
The Verify tab takes the inputs — client seed, server seed, nonce, the risk and your picks — and recomputes a round on demand. Enter the server seed revealed in step 2, your client seed, the round’s nonce, the risk and your picks.

The Verify tab filled in for that round — client seed, the server seed revealed in step 2, nonce 0, risk Classic and the three picks.
Press Verify. The tab recomputes the ten numbers from the three seed inputs, then counts your hits and reads the multiplier from the paytable: it marks the ten drawn numbers on the board (as a set, not in draw order) and shows your hits and multiplier. A match shows the draw is the one the committed seed produces. The scripts in the Manual Verification section below do the same with nothing but Node.js or Python, pre-loaded with two rounds from this report — and they add the commitment check, the draw order and the credit.

The result: ten numbers drawn, 12 and 13 hit — “2 of 3 hit: 3.1x”. Our scripts in 6.8–6.9 reproduce it exactly: draw order 13, 22, 14, 18, 40, 12, 15, 10, 26, 17, two hits, 3.1×.
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 moving parts, in the order they act:
- Commit — before you play, LIQD publishes
SHA-256of the server seed, hashed as the 32-character hex string. The seed itself stays secret until rotation. - Draw — for cursor i = 0 … 9:
HMAC-SHA256(key = decoded seed, message = clientSeed:nonce:i); the first 4 bytes, read big-endian, modulo 40 − i give j′, and board positions i and i + j′ swap on the board 1 … 40. The first ten board entries, in order, are the drawn numbers. - Hits — the number of your picks among the ten drawn numbers; the draw itself never reads your picks. With two rows, each row counts its hits against the same ten.
- Cell — the multiplier is the declared paytable cell for your risk, pick count and hits,
PAYTABLE[risk][picks][hits]— LIQD’s client table, read from liqd.com on 28 October 2026. - Pay — the credit is
floor(stake × multiplier)at the 8th decimal, row by row.
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 list the expected output of two rounds from this report in their comments so you can self-check the tool before trusting it. The other classic slip is the swap: position i trades with position i + j′, counted from i, on a board numbered 1 to 40. Our specification takes plain modulo; a rule that rejects the few 32-bit values where plain modulo is uneven would draw differently about once in 4.8 × 10⁷ rounds, and on none of the 7,457 scored rounds (2.3).
6.7Casino Verifier vs ProvablyFair.org Verifier4 records
Both should agree — the point of having an independent one is what happens if they ever don’t:
| LIQD Built-in (in-game panel) | ProvablyFair.org | |
|---|---|---|
| Who controls the code | The casino | ProvablyFair.org — open source |
| What it proves alone | Internal consistency of LIQD’s own math | Independent recomputation from raw inputs |
| Checked against this capture | Directly — its verify endpoint returned the served round on all 7,457 scored rounds: drawn order, hits and multiplier of every row (Step 24) | The scripts in 6.8–6.9 implement the derivation this audit specifies — HMAC-SHA256 draw and the declared paytable — and reproduce all 7,457 scored rounds (7,477 rows): commitment, draw order, hits, multiplier and credit |
| If they disagree | Suspect the casino’s tool or a tampered round | The repo + scripts are the tiebreaker anyone can run |
6.8JavaScript Verification Script
Complete, dependency-free, and pre-loaded with the featured round as its default inputs — run it as-is to see a full match, then swap in your own round. Run on every one of the 7,477 production rows, it reproduces each one: commitment, drawn numbers in order, hits, multiplier and credit. A two-row round has one draw: run it once per row. Trailing zeros in the stake carry no value (0.10 and 0.100000000 pay the same), and a stake with more than 8 decimals is refused.
// verify-keno.js — standalone LIQD Keno verifier (Node.js, no dependencies)// Usage: node verify-keno.js <serverSeed> <clientSeed> <nonce> <risk> <picks, comma-separated> [stake]const { createHash, createHmac } = require('node:crypto'); const PAYTABLE = { // LIQD's declared paytable, read from liqd.com on 28 October 2026: PAYTABLE[risk][picks][hits] classic: [[], [0,3.96], [0,1.9,4.5], [0,1,3.1,10.4], [0,.8,1.8,5,22.5], [0,.25,1.4,4.1,16.5,36], [0,0,1,3.68,7,16.5,40], [0,0,.47,3,4.5,14,31,60], [0,0,0,2.2,4,13,22,55,70], [0,0,0,1.55,3,8,15,44,60,85], [0,0,0,1.4,2.25,4.5,8,17,50,80,100]], low: [[], [.7,1.86], [0,2,3.83], [0,1.1,1.39,26], [0,0,2.2,7.9,90], [0,0,1.5,4.2,13,300], [0,0,1.1,2,6.2,100,700], [0,0,1.1,1.6,3.5,15,225,700], [0,0,1.1,1.5,2,5.5,39,100,800], [0,0,1.1,1.3,1.7,2.5,7.5,50,250,1e3], [0,0,1.1,1.2,1.3,1.8,3.9,13,50,250,1e3]], medium: [[], [.4,2.76], [0,1.8,5.16], [0,0,2.8,50], [0,0,1.71,10,100], [0,0,1.4,4,14,390], [0,0,0,3,9,181,710], [0,0,0,2,7,30,400,800], [0,0,0,2,4,11,67,400,900], [0,0,0,2,2.5,5,15,100,500,1e3], [0,0,0,1.6,2,4,7,26,100,500,1e3]], high: [[], [0,3.96], [0,0,17.16], [0,0,0,81.5], [0,0,0,10,259], [0,0,0,4.51,48,450], [0,0,0,0,11,350,710], [0,0,0,0,7,90,400,800], [0,0,0,0,5,20,270,600,900], [0,0,0,0,4,11,56,500,800,1e3], [0,0,0,0,3.5,8,13,63,500,800,1e3]],}; const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg, risk, picksArg, stake = '0.10'] = argv.length ? argv : ['4ac1632b65c42e1c4fdbad5afaf513cd', 'audit047790ed49c5', '193', 'high', '25,35,33,5'];const nonce = Number(nonceArg), picks = picksArg.split(',').map(Number); // 1) Commitment: SHA-256 of the hex STRING (UTF-8) — the hash LIQD showed before you playedconsole.log('commitment =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) The draw — HMAC-SHA256 keyed on the DECODED bytes, message clientSeed:nonce:cursor, first 4 bytes big-endianconst value = cursor => createHmac('sha256', Buffer.from(serverSeed, 'hex')) .update(`${clientSeed}:${nonce}:${cursor}`).digest().readUInt32BE(0);const board = Array.from({ length: 40 }, (_, k) => k + 1); // the board 1…40for (let i = 0; i < 10; i++) { // forward Fisher–Yates: swap i with i + j′ const j = i + value(i) % (40 - i); [board[i], board[j]] = [board[j], board[i]];}const drawn = board.slice(0, 10);console.log('drawn =', drawn.join(', ')); // 3) Hits pick the cell of the declared paytableconst hits = picks.filter(p => drawn.includes(p)).length;const cell = PAYTABLE[risk][picks.length][hits];const [ci, cf = ''] = String(cell).split('.'); // the cell digit for digit: 16.5 → 165 / 10const num = BigInt(ci + cf), den = 10n ** BigInt(cf.length);console.log(`hits = ${hits} | multiplier = ${cell}`); // 4) Payout = floor(stake × multiplier) at the 8th decimal, in exact integer arithmeticconst [si, sf = ''] = stake.split('.');const frac = sf.replace(/0+$/, ''); // trailing zeros carry no value: 0.100000000 is 0.10if (frac.length > 8) { console.error(`stake ${stake} has more than 8 decimals`); process.exit(1); }const paid = BigInt(si + frac.padEnd(8, '0')) * num / den; // stake in 1e-8 units; BigInt division floorsconsole.log('payout =', `${paid / 100000000n}.${String(paid % 100000000n).padStart(8, '0')}`);// A two-row round has one draw: run the script once per row, with that row's picks and stake.// Expected for the defaults (bet dr1ZSM-Bw58uvkmG4DpdY, High / 4, epoch 6 nonce 193, at $0.10):// commitment = 4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845// drawn = 33, 2, 5, 17, 12, 29, 25, 35, 3, 28// hits = 4 | multiplier = 259// payout = 25.90000000// Expected for bet -RHNgwd2TdXhsow1LXm8z (Classic / 3, epoch 42 nonce 144, at $10.00):// node verify-keno.js fdb4e25e6d3fa58b7af15d0b84503978 audit8398a308fb4d 144 classic 33,38,1 10.00// commitment = fbf4f685c709f1257a3db7222053793d49b3e67a2abdff6cea8601fe1ce6108e// drawn = 19, 17, 26, 40, 14, 1, 38, 13, 33, 9// hits = 3 | multiplier = 10.4// payout = 104.000000006.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. It reproduces all 7,477 production rows as well:
# verify-keno.py — standalone LIQD Keno verifier (Python 3, stdlib only)# Usage: python3 verify-keno.py <serverSeed> <clientSeed> <nonce> <risk> <picks, comma-separated> [stake]import hashlib, hmac, sysfrom fractions import Fraction PAYTABLE = { # LIQD's declared paytable, read from liqd.com on 28 October 2026: PAYTABLE[risk][picks][hits] 'classic': [[], [0,3.96], [0,1.9,4.5], [0,1,3.1,10.4], [0,.8,1.8,5,22.5], [0,.25,1.4,4.1,16.5,36], [0,0,1,3.68,7,16.5,40], [0,0,.47,3,4.5,14,31,60], [0,0,0,2.2,4,13,22,55,70], [0,0,0,1.55,3,8,15,44,60,85], [0,0,0,1.4,2.25,4.5,8,17,50,80,100]], 'low': [[], [.7,1.86], [0,2,3.83], [0,1.1,1.39,26], [0,0,2.2,7.9,90], [0,0,1.5,4.2,13,300], [0,0,1.1,2,6.2,100,700], [0,0,1.1,1.6,3.5,15,225,700], [0,0,1.1,1.5,2,5.5,39,100,800], [0,0,1.1,1.3,1.7,2.5,7.5,50,250,1e3], [0,0,1.1,1.2,1.3,1.8,3.9,13,50,250,1e3]], 'medium': [[], [.4,2.76], [0,1.8,5.16], [0,0,2.8,50], [0,0,1.71,10,100], [0,0,1.4,4,14,390], [0,0,0,3,9,181,710], [0,0,0,2,7,30,400,800], [0,0,0,2,4,11,67,400,900], [0,0,0,2,2.5,5,15,100,500,1e3], [0,0,0,1.6,2,4,7,26,100,500,1e3]], 'high': [[], [0,3.96], [0,0,17.16], [0,0,0,81.5], [0,0,0,10,259], [0,0,0,4.51,48,450], [0,0,0,0,11,350,710], [0,0,0,0,7,90,400,800], [0,0,0,0,5,20,270,600,900], [0,0,0,0,4,11,56,500,800,1e3], [0,0,0,0,3.5,8,13,63,500,800,1e3]],} args = sys.argv[1:] or ['4ac1632b65c42e1c4fdbad5afaf513cd', 'audit047790ed49c5', '193', 'high', '25,35,33,5']server_seed, client_seed, nonce, risk = args[0], args[1], int(args[2]), args[3]picks = [int(p) for p in args[4].split(',')]stake = Fraction(args[5] if len(args) > 5 else '0.10') # exact, so 0.100000000 is 0.10if (stake * 10**8).denominator != 1: sys.exit(f'stake {args[5]} has more than 8 decimals') # 1) Commitment — SHA-256 of the hex string as UTF-8 textprint('commitment =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) The draw — HMAC-SHA256 keyed on the 16 decoded bytes, message clientSeed:nonce:cursordef value(cursor): digest = hmac.new(bytes.fromhex(server_seed), f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest() return int.from_bytes(digest[:4], 'big') # the first 4 bytes, big-endian board = list(range(1, 41)) # the board 1…40for i in range(10): # forward Fisher–Yates: swap i with i + j′ j = i + value(i) % (40 - i) board[i], board[j] = board[j], board[i]drawn = board[:10]print('drawn =', ', '.join(map(str, drawn))) # 3) Hits pick the cell of the declared paytablehits = sum(p in drawn for p in picks)cell = PAYTABLE[risk][len(picks)][hits]multiplier = Fraction(repr(cell)) # the cell digit for digit: 16.5 → 33/2, exactprint(f'hits = {hits} | multiplier = {cell:g}') # 4) Payout = floor(stake × multiplier) at the 8th decimal, in exact rational arithmeticunits = stake * multiplier * 10**8paid = units.numerator // units.denominator # floor, in 1e-8 unitsprint(f'payout = {paid // 10**8}.{paid % 10**8:08d}')# A two-row round has one draw: run the script once per row, with that row's picks and stake.# Expected for the defaults (bet dr1ZSM-Bw58uvkmG4DpdY, High / 4, epoch 6 nonce 193, at $0.10):# commitment = 4bfb427891c66da97dc3808fcf613a0bc51476c11823dea8eb871d33cdd99845# drawn = 33, 2, 5, 17, 12, 29, 25, 35, 3, 28# hits = 4 | multiplier = 259# payout = 25.90000000# Expected for bet -RHNgwd2TdXhsow1LXm8z (Classic / 3, epoch 42 nonce 144, at $10.00):# python3 verify-keno.py fdb4e25e6d3fa58b7af15d0b84503978 audit8398a308fb4d 144 classic 33,38,1 10.00# commitment = fbf4f685c709f1257a3db7222053793d49b3e67a2abdff6cea8601fe1ce6108e# drawn = 19, 17, 26, 40, 14, 1, 38, 13, 33, 9# hits = 3 | multiplier = 10.4# payout = 104.000000006.10Evidence Screenshots & Records5 records
The walkthrough’s screenshots are page captures from liqd.com; the evidence files below ship in the package. LIQD’s verifier replies for all 7,457 scored rounds are stored inside the four capture files (S3.7).
| File | Shows |
|---|---|
| client-paytable/liqd-keno-client-paytable-liqd.com-2026-10-28.js.txt | E02 · LIQD’s client paytable, read from liqd.com on 28 October 2026 — the declared table the scripts embed (S3.4, S4.13) |
| liqd-com-keno-page-2026-11-09/liqd-com-keno-bet-panel-2026-11-09.png | E06 · The Keno bet panel on 9 November 2026 — the Number Picker with Pick, the risk tabs with WTF greyed out, and Add Second Bet |
| liqd-com-keno-page-2026-10-22/liqd-originals-keno-page-browser-2026-10-22T1734Z.html.txt | E03 · The Keno game page as a logged-out browser received it, “Released: October 2026 | Edge: 1.00%” — the RTP claim (S4.2) |
| liqd-com-unreached-cells-verify-2026-11-10/keno-unreached-cells.jsonl | E10 · LIQD’s verify endpoint asked about the 64 cells no production round reached — every reply the declared multiplier (S3.4, S4.8) |
| liqd-com-refusal-probes.json | E09 · The two requests liqd.com refused — a WTF bet, and a two-row bet whose rows share two numbers (S3.9, S4.8) |
Only disclosed inputs are used. Identical inputs always produce identical output.
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.
Repository Details
- GitHub: ProvablyFair-org/liqd-keno
- Release: v1.2.0 · Framework 1.1
- Game: Keno (liqd-keno)
- Public Verifier: provablyfair.org/verify-bets/liqd
Prerequisites
- Node.js 22.23.1 or later in 22.x: nothing to install for
npm testornode test.js && node verify.js - Git
- TypeScript tools via
npm ci(TypeScript 5.9.3, ts-node 10.9.2, Mocha 11.7.6), for the source commands - Python 3, only for the optional standalone checker in Section 6
- GitHub: ProvablyFair-org/liqd-keno
- Release: v1.2.0 · Framework 1.1
- Game: Keno (liqd-keno)
- Public Verifier: provablyfair.org/verify-bets/liqd
- Node.js 22.23.1 or later in 22.x: nothing to install for
npm testornode test.js && node verify.js - Git
- TypeScript tools via
npm ci(TypeScript 5.9.3, ts-node 10.9.2, Mocha 11.7.6), for the source commands - Python 3, only for the optional standalone checker in Section 6
The public repo reproduces the 24 production audit checks from release v1.2.0 with the commands above; the report also covers 34 integrity tests (Section 5). The dataset, its four capture files and LIQD’s paytable are pinned by SHA-256 and checked before any check runs, so you are testing the same 7,457 rounds against the same table we did. The simulation and the RTP claim table are pinned the same way, and npm run test:full regenerates the simulation field for field.
Commands to Reproduce
Everything ships inside the repo: the dataset, the four capture files it came from, LIQD’s paytable and the committed results, each checked against its SHA-256 before any check runs. npm test needs nothing installed: it runs the 31 unit specs, the 24-step verification and the release checks, and exits with the verdict’s code. Node.js 22.23.1 or later in 22.x is required.
…[standalone] 31/31 unit specs passed (src/pins.ts EXPECTED_UNIT_TESTS).… Passed: 24/24 (24 steps expected) Hard fails: 0… VERDICT: PROVABLY FAIR — Full Pass… Reproduction vs the committed artifacts on Node 22.23.4: REPRODUCED… [release-manifest] OK: release bar met; 10 artifact hashes match disk, verdict "PROVABLY FAIR — Full Pass", scored 24/24…[rtp-convergence] outputs/rtp-convergence.html reproduced… RESULT: exit 0 — every other stage passed; the exit code is the verifier's verdict codeEvery run writes only to outputs/run/ and compares its results field by field with the committed results (outputs/run/diff.json) — that comparison is the reproduction gate. Exit codes: 0 Full Pass · 2 Conditional Pass · 5 RTP FIGURE OVERSTATED (the RTP claim rule finds a published figure overstated) · 1 NOT PROVABLY FAIR, or a reproduction beyond tolerance. node verify.js is the same 24 steps, bundled. Output as run for this report on Node 22.23.4, abridged where marked “…”.
Regenerates the simulation artifact from its pinned seeds — Pass 1’s 10 streams of 1,000,000 rounds from the master seed, one per pick count, and Pass 2 over the 43 production epoch seeds × 10,000 nonces — into outputs/run/, after the rebuild check and the unit specs, and compares it field by field with the committed outputs/simulation-results.json; then verifies. Run for this report on Node 22.23.4: the regenerated artifact equals the committed one with 0 differences, even within tolerance, in about 6 minutes.
Audit Reproducibility Pinning19 records
- Release Tag
- v1.2.0 — github.com/ProvablyFair-org/liqd-keno/tree/v1.2.0
- Release Commit
- d38f426824d64acb80ea1b95101bdb7e825c38c0 — github.com/ProvablyFair-org/liqd-keno/commit/d38f426
- Framework
- ProvablyFair.org Audit Framework 1.1 · Keno profile 1.0.5 · RTP-CLAIM 1.2.0
- Release Signature
- Release commit and tag signed with the ProvablyFair.org release key (SSH,
SHA256:gEujiJm2pRyq7lQsfYQfQ1r97H/J7GdaKHbOW8GtikY), recorded inRELEASE-MANIFEST.json - Node Version
- 22.23.1 or later in 22.x (
package.jsonengines,.nvmrc22.23.1) — release runs on 22.23.1, this report’s runs on 22.23.4 - Primary Dataset
- data/keno-prod-full-7457bets.json (7,457 rounds, 7,477 rows, 43 seed epochs)
- Primary Dataset Hash (SHA-256)
- 8fe47261fcb208bf0ddef1eb52b68038f34bb2050756b8fbeac9c130142851be
- Capture File Hashes (SHA-256)
- A
20a3977b6ad4a32973300075d3bc0c38ad2e740ec60d58995d98760ee7a1ce4b· D + E3ef36fd233b13b8705a9b5ba5e4953f10d54cbb8efa4890189c14c74c39608e3· Te8233317b4ee7f2ec18ecf26011b88c44dedf718b2b4d524f388f471e49a4dd0· C78a313ebc12bdbaf47597946c515642f30ca04b2fac2e83cd09a3ffdbe340c48 - Declared Paytable Hash (SHA-256)
- 767b72306634439808976894b9c1794f9cc1b092576306ce9adfc9e414d6f53a
- Simulation Artifact Hash (SHA-256)
- 8c1a95a4309a934e7c77ed8804bb15177b199f6932d831a1b031993222457d64
- RTP Claim Table Hash (SHA-256)
- 2b1a49a816bf3f0dc38daa5314e5351fbba7b8a48af5f5f80605d0ba63115d70
- LIQD Verifier Evidence Hash (SHA-256)
- 2625e80c2309bd74003dc5dad607c39f7cfbe38e07297d66ad4e066bbc167b1e — the 64 unreached-cell replies (E10); the 7,457 replies on the scored rounds are inside the capture files above
- Reproduction Gate
- Every run writes only to outputs/run/ and is compared field by field with the committed results (outputs/run/diff.json) — integers and strings exactly, other numbers within 1e-14 + 1e-12 relative; anything beyond tolerance exits 1
- Exit Codes
- 0 Full Pass · 2 Conditional Pass · 5 RTP FIGURE OVERSTATED · 1 NOT PROVABLY FAIR, a reproduction beyond tolerance, or a failed stage
- Mutation Battery
- 40 of 40 mutations caught by the step they name — every scored step catches at least one
- Runtime
npm test≈ 33 s · simulation regeneration ≈ 6 min (Node 22.23.4)- Capture Environment
- Production host liqd.com · one anonymous account opened and funded by ProvablyFair.org, one currency (USDT)
- Audit Date
- November 2026 — declared paytable read from liqd.com 28 October, production rounds 9 and 10 November, LIQD’s verifier called after each capture run; release v1.2.0 November 2026
- Audit ID
- PF-2026-LQ06
Output Artifacts4 files committed
| File | Contents | Size |
|---|---|---|
| verification-results.json | Steps 1–24 results — per-step status with evidence detail strings and profile ids, profile coverage (KENO-01 … KENO-32), dataset, capture-file and paytable hashes, verdict | ~59 KB |
| simulation-results.json | Pass 1 (10 streams × 1,000,000 rounds, one per pick count: board, hit-law and lag-1 counts, from the pinned master seed) + Pass 2 (the 43 production epoch seeds × 10,000 nonces, the relocation null and both statistics) | ~31 KB |
| rtp-claim-table.json | The RTP claim rule’s table — LIQD’s published 99% against all 40 settings, each with exact RTP, gap and outcome | ~7 KB |
| rtp-convergence.html | The standard-error page — every setting’s simulated RTP against its exact value at 50,000 and 1,000,000 rounds, in standard errors; npm test checks it reproduces | ~10 KB |
Repository Structure
liqd-keno/ ├── src/ │ ├── rng.ts → commitment hash · HMAC draw (computeDraw) · hit count — written from docs/ALGORITHM.md │ ├── bias.ts → the draw-bias bound and the rejection-zone census (Step 8) │ ├── config.ts → the game’s declared shape (40-number board, 10 drawn, 1–10 picks, the four risks offered) + population constants │ ├── client-paytable.ts → LIQD’s client paytable read as data — the declared table (E02), parsed, never evaluated │ ├── exact.ts → exact BigInt-rational hit law, two independent derivations (Step 17) │ ├── 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 40-setting exact RTP table and LIQD’s published claim │ ├── profile-map.ts → which Keno profile check (KENO-01 … KENO-32) each step implements │ ├── pins.ts · artifact-pins.ts → integrity pins and the audited population — every count a constant │ ├── loader.ts · dataset.ts → loader + SHA-256 guard (aborts before any step on a mismatch) · the dataset and its capture files, every round recomputed │ ├── verifier.ts → reader for LIQD’s verifier replies stored in the capture files (Step 24) │ ├── probes.ts → the record of the two requests liqd.com refused (E09) │ ├── sim.ts · simulate.ts · sim-inputs.ts · seed-derivation.ts → Pass 1 (10 × 1,000,000 rounds) + Pass 2, from pinned seeds → outputs/ │ ├── stats.ts → χ² tail, board uniformity, hit-law fit and lag-1, re-derived from integer counts │ ├── domains.ts → value domains for every numeric field of the committed artifacts (Step 23) │ ├── diff.ts → field-level diff of a run vs the committed artifacts (outputs/run/diff.json) │ └── types.ts → shared types ├── docs/ │ └── ALGORITHM.md → the specification the RNG is written from ├── tests/ │ ├── verify.ts → 24-step verification runner (results under outputs/run/; PF_EMIT=1 to regenerate the committed record) │ ├── keno/ → 31 unit specs (capture files and verifier replies 7 · documents 3 · exact model 8 · draw on production vectors 13) │ ├── mutations.ts · mutations.json → the step-named mutation battery: 40 entries, run in disposable copies │ └── steps/ │ ├── commitment.ts → Steps 1–5 (seed hashes, chain + pre-capture anchors, epoch consistency, nonce windows, population) │ ├── determinism.ts → Steps 6–10 (draw recompute, client-seed controls, bias bound, structure & hits, pick-set independence) │ ├── payouts.ts → Steps 11–16 (paytable provenance, payout arithmetic, bet size, shape & bounds, cell coverage, one multiplier per cell) │ ├── rtp.ts → Steps 17, 18, 21 (anti-circularity, exact RTP vs the claim, live-sample fit) │ ├── simulation.ts → Steps 19–20 (Pass 1 reconciliation and replay, Pass 2 re-derived from the production seeds) │ ├── standardization.ts → Steps 22–24 (pins, artifacts of record, LIQD verifier parity) │ └── primary.ts → the capture-scoring part of every step ├── scripts/ → npm test’s stage runner, release manifest + release bar, standalone-bundle builder and its check, the standard-error page ├── data/ │ ├── keno-prod-full-7457bets.json → the production dataset: 7,457 rounds · 7,477 rows · 43 epochs · SHA-256 pinned (E01) │ ├── liqd-keno-prod-capture-2026-11-09T15-01-36-318Z.ndjson → Phase A capture file: 21,076 records, with LIQD’s verifier reply for each of its 7,000 rounds (E01) │ └── liqd-keno-prod-capture-2026-11-10T*.ndjson (3 files) → Phases D + E, T and C: 738, 68 and 599 records (E01) ├── outputs/ │ ├── verification-results.json → 24 steps + profile coverage + dataset, capture-file and paytable hashes + verdict │ ├── simulation-results.json → Pass 1 (10 streams × 1,000,000 rounds) + Pass 2 (43 epoch seeds × 10,000 nonces) │ ├── rtp-claim-table.json → the RTP claim rule over all 40 settings │ └── rtp-convergence.html → every setting’s simulated RTP against its exact value, in standard errors ├── evidence/ │ ├── client-paytable/ → E02 LIQD’s client paytable, read from liqd.com on 28 October 2026 — the declared table │ ├── liqd-com-keno-page-2026-10-22/ → E03 the game page’s “Edge: 1.00%” — the RTP claim │ ├── liqd-com-keno-page-2026-11-09/ → E06 the bet panel, WTF greyed out (S6) │ ├── liqd-com-unreached-cells-verify-2026-11-10/ → E10 LIQD’s verifier on the 64 cells no production round reached │ └── … E04, E05, E07, E08 and E09, SHA-256 pinned ├── .github/workflows/reproduce.yml → second-machine reproduction on a clean runner (ubuntu-latest, Node from .nvmrc, npm ci && npm test) ├── test.js · verify.js → dependency-free bundles (Node 22) ├── README.md · MANIFEST.md · SUMMARY.md · evidence.md · exploit-testing.md → the report, the evidence register, the integrity checks ├── RELEASE-MANIFEST.json → release identity: tag, framework, artifact hashes, verdict, signing key ├── package.json → npm test = scripts/run-stages.mjs (build check, unit specs, verifier, release manifest, standard-error page) · verify · test:full · mutations └── package-lock.json · tsconfig.json · .mocharc.yml · .nvmrc · .gitattributes · .gitignore · standalone-manifest.json · hygiene-allow.json · LICENSE
Step-to-Section Cross-Reference24 verification steps mapped
| Step | Test Name | Report Section |
|---|---|---|
| 1 | Seed hash integrity | S1, S3 |
| 2 | Forward commitment chain | S1, S6 |
| 3 | Hash consistency within epoch | S1, S6 |
| 4 | Nonce continuity | S1, S3, S6 |
| 5 | Population & epoch binding | S3 |
| 6 | Outcome recomputation (drawn list) | S1, S2, S3, S4 |
| 7 | Client-seed influence & controls | S1, S2 |
| 8 | Draw bias bound | S2 |
| 9 | Draw structure & hit counting | S1, S3, S4 |
| 10 | Pick-set independence | S2, S3, S4 |
| 11 | Paytable provenance & served-vs-declared | S3, S4 |
| 12 | Payout arithmetic | S3, S4 |
| 13 | Bet-size invariance (elevated stake) | S3, S4 |
| 14 | Paytable shape & bounds | S3, S4 |
| 15 | Configuration & cell coverage | S3, S4 |
| 16 | Stake invariance (same multiplier at every stake) | S3, S4 |
| 17 | Anti-circularity (hit probability) | S4 |
| 18 | Per-config RTP by exact enumeration vs claim | S4 |
| 19 | Simulation Pass 1 (fresh seeds) | S2, S4 |
| 20 | Simulation Pass 2 (cherry-pick) | S4 |
| 21 | Live-sample fit (informational) | S2, S4 |
| 22 | Dataset & config pins | S1, S3, S7 |
| 23 | Artifacts of record | S4, S7 |
| 24 | Operator-verifier parity | S2, S3, S4, S6 |
Game Profile CoverageKeno profile 1.0.5 · 32 checks
Every check in the ProvablyFair.org Keno profile, version 1.0.5, is covered by a scored step, by a package check, or marked n/a with a reason — 25 by scored steps, 6 by package checks, 1 n/a. For KENO-09, KENO-14, KENO-24, KENO-28, KENO-31 and KENO-32 the row states the exact scope it covers. The map ships in src/profile-map.ts and is written beside the step results on every run; the committed outputs/verification-results.json carries it.
| Check | What it requires | Covered by | Coverage |
|---|---|---|---|
| KENO-01 | Every revealed seed hashes to its commitment | Step 1 | Full |
| KENO-02 | Forward commitment chain, anchored before the first bet | Step 2 | Full |
| KENO-03 | Every round carries its epoch’s commitment and client seed | Step 3 | Full |
| KENO-04 | Nonce continuity — every epoch holds its nonces exactly once | Step 4 | Full |
| KENO-05 | Audited population bound to code constants, not the dataset header | Step 5 | Full |
| KENO-06 | Client-seed influence and controls, player-set seeds included | Step 7 | Full |
| KENO-07 | Every served draw recomputes in draw order | Step 6 | Full |
| KENO-08 | Draw-bias bound computed from the draw’s own ranges | Step 8 | Full |
| KENO-09 | Known-input unit vectors reproduce captured rounds | Package check: tests/keno/ (rngTests, exactTests, captureTests) | Production rounds as fixed vectors — a Phase A round, a Phase D round under a player-set seed, a two-row round, a Phase C round — the worked example of docs/ALGORITHM.md step by step, and LIQD’s stored verifier reply for one round; the RNG is our own implementation, written from the specification |
| KENO-10 | Draw structure and hit counting | Step 9 | Full |
| KENO-11 | Settlement arithmetic — floor(stake × cell) to 8 decimals; zero cells pay 0 | Step 12 | Full |
| KENO-12 | Bet-size invariance at an elevated stake | Step 13 | Full |
| KENO-13 | Paytable provenance — every served multiplier equals its declared cell | Step 11 | Full |
| KENO-14 | Paytable shape and bounds — every payout within the quoted maximum | Step 14 | Every production payout within stake × its row’s top cell, 7,477 / 7,477 (Step 14) |
| KENO-15 | Every setting played at or above the profile floor; cell coverage | Step 15 | Full |
| KENO-16 | Wallet balance ledger reconciliation | — | N/A — no response carries a per-bet balance; Step 12 checks the settle-response wallet fields on 7,477 / 7,477 |
| KENO-17 | The draw is independent of the pick set | Step 10 | Full |
| KENO-18 | Anti-circularity — hit probability from the board alone, two derivations | Step 17 | Full |
| KENO-19 | Exact RTP per setting against the published claim (RTP-CLAIM) | Step 18 | Full |
| KENO-20 | Simulation Pass 1 — fresh seeds, convergence, uniformity; replayable | Step 19 | Full |
| KENO-21 | Cherry-pick test — Simulation Pass 2 | Step 20 | Full |
| KENO-22 | Live-sample fit (informational) | Step 21 | Full |
| KENO-23 | Framework fairness-integrity rows S5-1 … S5-8, kept as a package checklist (Section 5 reports the live integrity tests) | Package check: MANIFEST.md fairness-integrity matrix | Full |
| KENO-24 | Verifier parity — LIQD’s verifier on the served rounds; the ProvablyFair.org site verifier matched to the derivation | Step 24 | LIQD’s verifier: 7,457 / 7,457 replies — every scored round, both rows of every two-row round |
| KENO-25 | Player verification path, in LIQD’s field names | Package check: MANIFEST.md Verify a bet | Full |
| KENO-26 | Captures and evidence pinned by SHA-256; abort on a mismatch | Step 22 | Full |
| KENO-27 | Artifacts of record — no run metadata, every numeric value in a declared domain | Step 23 | Full |
| KENO-28 | Release gate — zero-install entry points, pinned runtime, audit ID | Package check: scripts/check-standalone.mjs, package.json, .nvmrc, src/pins.ts | Zero-install npm test exits 0 on Node 22.23.1 (release runs) and 22.23.4 (this report, a second machine); runtime pinned in package.json and .nvmrc; audit ID PF-2026-LQ06 in src/pins.ts |
| KENO-29 | Mutation battery — every scored step fires on at least one mutation | Package check: tests/mutations.json + tests/mutations.ts | Full |
| KENO-30 | Limitations register and numbered evidence | Package check: MANIFEST.md | Full |
| KENO-31 | The same multiplier at every stake | Step 16 | The 4 Classic / 3 cells played at both $0.10 and $10.00 pay one multiplier at both; none of the 196 reached cells pays two (Step 16) |
| KENO-32 | Auto-picked rounds settle as manual ones | Step 9 | The 40 Phase E rounds, pick sets drawn at random by the capture runner, recompute and settle like every other round (Steps 9, 10); the draw takes no pick input |
reproduce-audit.sh
The public repo reproduces the 24 production audit checks from release v1.2.0 with the commands above; the report also covers 34 integrity tests (Section 5). The dataset, its four capture files and LIQD’s paytable are pinned by SHA-256 and checked before any check runs, so you are testing the same 7,457 rounds against the same table we did. The simulation and the RTP claim table are pinned the same way, and npm run test:full regenerates the simulation field for field.