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

Blackjack

Certified · Active

Independent verification, backed by open-source code.

PF-2026-LQ01Audited November 2026 · Framework 1.1 · Release v1.1.0November 2026 · Framework 1.1 · v1.1.0
AUDIT RESULTPassedPassed 31/31 · Hard fails 0 · Flags 0Verdict: PROVABLY FAIR — Full Pass, as printed by npm test.
Live Bets Verified
8,579
Parity Rate
100%
Simulated Rounds
30M
Simulated RTP 99.5230% per initial bet across 30 million rounds
Proven RTP (per initial bet)
99.512325%
31 / 31Verification steps passed

Verification pipeline

Real bets. Independently reproduced.

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

LIQD BLACKJACK$10.00 · S17 · DAS · 3:2 · 8 decks
DEALER · 22
8♥
7♠
7♥
PLAYER · 18 · WIN
7♦
A♥

stand

Bet #I3QCAwtPADs9Z8O25GPtZNonce 0 · Phase E
50 real bets · Phase EBet 1 of 50
✓ Cards match
Win

Recorded hand · Cards reproduced.

Casino outcome
18 · win vs dealer 22
Our reproduction
5 / 5 cards match
Recorded payout
$20.0000
Open source

Run this audit yourself

Open GitHub ↗

The repo is the credential. You don’t have to trust us: every scored check of the audit ships as open-source code. One command, npm test, re-runs them all with nothing installed but Node.js 22: it re-verifies all 8,579 live hands card for card, and npm run simulate deals the simulation again.

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

This audit independently checks the Blackjack game on LIQD under the ProvablyFair.org Audit Framework 1.1. We played 8,579 real hands on liqd.com on 8 and 10 November 2026, from an anonymous account we funded ourselves, with splits, doubles, insurance and both side bets, at three stakes and with client seeds of our own. Then we recomputed every card of every hand with our own implementation, and LIQD’s own verifier returned the same cards for every round.

Results at a glance

Audit Verdict

CheckResultEvidence
Overall StatusPassPROVABLY FAIR — Full Pass. All 31 checks passed with no hard fails, and all 8,579 live hands, played on 8 and 10 November 2026, recompute card for card.
RTP VerifiedPassProven RTP of 99.512325% per initial bet with basic strategy and insurance declined, solved exactly, so LIQD’s published 99.52% holds. 30 million simulated rounds average 99.5230%, in line with it.
Side-Bet RTPPassPerfect Pairs returns 97.8313% and 21+3 returns 96.2961%, worked out exactly from the 416-card shoe and LIQD’s paytables. All 2,758 live side bets settle exactly.
Live ↔︎ Verifier ParityPass100%. Our own implementation reproduced all 8,579 hands card for card, split rounds included, and the ProvablyFair.org verifier and LIQD’s own verifier return the same cards for every round.
Commit-Reveal SystemPassAll 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 hands.
Client SeedPassPlayer-controlled. Every seed pair ran under a client seed we set, five of them typed in as a player, and a different client seed reshuffles the shoe.
RNG AnalysisPassOur own implementation, written from the specification, reproduces every card: HMAC-SHA256 shuffles the 416-card shoe with every card equally likely at every step.
Payout LogicPassEvery hand settled exactly, with every double, insurance bet and side bet: 3:2 on every natural not taken as even money, and 2:1 insurance on every dealer blackjack.
Anti-CircularityPassWe solved the RTP from the game’s rules alone, never from a casino figure, and an independent exact calculation and the Wizard of Odds figure for the same rules agree.
Fairness IntegrityPass39 integrity tests reported across 12 categories, run on LIQD’s pre-launch environment: 32 pass and 7 remediated, all fixed by LIQD and re-tested. None of the findings changed the shuffle or the order cards are dealt in.
DeterminismPassThe same server seed, client seed and nonce always give the same shoe, on all 8,579 hands.
Overall StatusPass
PROVABLY FAIR — Full Pass. All 31 checks passed with no hard fails, and all 8,579 live hands, played on 8 and 10 November 2026, recompute card for card.
RTP VerifiedPass
Proven RTP of 99.512325% per initial bet with basic strategy and insurance declined, solved exactly, so LIQD’s published 99.52% holds. 30 million simulated rounds average 99.5230%, in line with it.
Side-Bet RTPPass
Perfect Pairs returns 97.8313% and 21+3 returns 96.2961%, worked out exactly from the 416-card shoe and LIQD’s paytables. All 2,758 live side bets settle exactly.
Live ↔︎ Verifier ParityPass
100%. Our own implementation reproduced all 8,579 hands card for card, split rounds included, and the ProvablyFair.org verifier and LIQD’s own verifier return the same cards for every round.
Commit-Reveal SystemPass
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 hands.
Client SeedPass
Player-controlled. Every seed pair ran under a client seed we set, five of them typed in as a player, and a different client seed reshuffles the shoe.
RNG AnalysisPass
Our own implementation, written from the specification, reproduces every card: HMAC-SHA256 shuffles the 416-card shoe with every card equally likely at every step.
Payout LogicPass
Every hand settled exactly, with every double, insurance bet and side bet: 3:2 on every natural not taken as even money, and 2:1 insurance on every dealer blackjack.
Anti-CircularityPass
We solved the RTP from the game’s rules alone, never from a casino figure, and an independent exact calculation and the Wizard of Odds figure for the same rules agree.
Fairness IntegrityPass
39 integrity tests reported across 12 categories, run on LIQD’s pre-launch environment: 32 pass and 7 remediated, all fixed by LIQD and re-tested. None of the findings changed the shuffle or the order cards are dealt in.
DeterminismPass
The same server seed, client seed and nonce always give the same shoe, on all 8,579 hands.
Audit scope & reference

What Was Audited

✓ Audited

  • LIQD’s live Blackjack game on liqd.com, played on 8 and 10 November 2026 in USDT, checked with release v1.1.0 of the audit package
  • Every shoe can be reproduced from the server seed, client seed and nonce
  • LIQD commits to each server seed with a SHA-256 hash, and each rotation announces the hash of the next seed
  • Your client seed is under your control, and it changes the shoe
  • Nonces count every hand from 0 in every seed pair, with no gaps or repeats
  • The 416-card, 8-deck shoe is shuffled with HMAC-SHA256, every card equally likely at every step
  • Every dealt card reproduces in exact shoe order, split rounds included
  • The rules hold on every hand: 8 decks, 3:2 blackjack, 2:1 insurance, dealer stands on soft 17 and peeks, double after split, one card to split aces
  • Every hand, double, insurance bet and side bet pays what the cards and LIQD’s paytables give, even money and wins under a cent included
  • Proven RTP is 99.512325% per initial bet with basic strategy: a 0.487675% house edge, solved exactly
  • LIQD’s published 99.52% RTP holds, within a hundredth of a percentage point
  • Your bet amount plays no part in the shuffle: the 10.00 hands recompute exactly like the 0.10 and 0.01 hands
  • Players can independently verify every hand, and LIQD’s own verifier agrees with ours on 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
2 columns
AreaDescription
Commit-Reveal SystemSHA-256 server seed hashing, pre-bet commitment, next-seed pre-commitment, reveal on rotation
Client Seed OriginPlayer-controlled seed, set by the capture at every rotation — 42 auditor-generated audit… seeds and 5 player-set pfaudit-prod-blackjack-… seeds in Phase D
Seed HandlingClient seed control, nonce lifecycle, seed epoch rotation
RNG AnalysisHMAC-SHA256 Fisher-Yates shoe recomputation, the draw-bias bound, deck-model confirmation, first-card and serial statistics
Payout LogicHand settlement (3:2 naturals, doubles, splits, pushes), insurance accepted and declined, even money, side-bet paytables, three stakes (0.01, 0.10 and 10.00)
Live ParityIndependent card-by-card recomputation of all 8,579 hands, including dealer rules and the split draw order, plus the ProvablyFair.org verifier and LIQD’s own production verifier on every round
RTP ValidationAnti-circularity proof, the exact basic-strategy solve with its oracle and Wizard of Odds anchors, the RTP claim rule, the 30M-round simulation, cherry-pick detection (Pass 2), and the house-edge reconciliation
Fairness IntegrityIntegrity tests on LIQD’s pre-launch environment — 39 across 12 categories, including race conditions on in-round actions, input validation, idempotency, authorization, outcome and payout fields, nonce and seed handling, hidden-card disclosure and the provably fair surface
What Audit Guarantees
  • Outcomes are deterministic and reproducible from the recorded inputs
  • Live game results match independent recomputation for the verified sample (8,579 / 8,579 hands, 48,429 cards)
  • The first-card and serial screens find no sign of bias across 1,000,000 rounds simulated through our implementation of the shuffle
  • RTP is proven analytically: an exact 8-deck solve gives 99.512325% per initial bet under basic strategy with insurance declined, no re-split and no surrender, anchored by an exact-rational oracle (1e-12) and the published Wizard of Odds figure; 30M simulated rounds are consistent with it (0.51σ)
  • The whole 416-card shoe is fixed by the seeds before the first card is dealt — split hands, doubles and the dealer’s draws all come from it, and both side bets settle on the deal
  • The client seed is a genuine, player-controlled input — a different seed deals a different first card about 51 times in 52
  • The house edge is 0.487675% per initial bet (0.432435% per total wagered); LIQD’s published 99.52% holds under the RTP claim rule, and no FX haircut is observable on any credit, in USD or in CAD
  • The 47 revealed casino seeds show no sign of seed selection on the Pass 2 money rule (pooled z = −0.777); the same rule catches a 50-candidate seed grind at z = −15.47, and a fresh client seed set after the commitment is the player’s defence
  • Every fairness integrity test in Section 5 passed or was remediated and re-verified — none of its findings changed the shuffle or the order cards are dealt in
  • The dataset is SHA-256 pinned — a one-byte change stops the run before any step — and the other artifacts of record are pinned too, so a changed one fails Step 25

References

Blackjack — Game Rules6 sections▶

Blackjack is a single-hand game against the dealer — you try to get closer to 21 without going over. Choose from hit, stand, double, or split. The dealer stands on every 17 and blackjack pays 3:2. LIQD deals from a real 8-deck shoe (416 cards), freshly shuffled for every hand — duplicates can appear, but each card exists at most 8 times. Two optional side bets — Perfect Pairs and 21+3 — resolve on the deal, and insurance is offered whenever the dealer shows an Ace, even when you hold a natural.

How to Play

1. Place your bet — Choose your stake on the main hand. You may also place independent stakes on Perfect Pairs and 21+3 side bets.
2. Receive the deal — You receive two face-up cards (shoe[0], shoe[2]). The dealer receives one face-up upcard (shoe[1]) and one face-down hole card (shoe[3]). Side bets resolve immediately; if the dealer shows an Ace, insurance is offered before play continues — taken on a natural, it settles the hand as even money.
3. Decide your action — Choose hit (take the next shoe card), stand (keep your hand), double (take exactly one more card and double your stake), or split (turn a matching-value pair into two hands, each with its own stake).
4. Dealer plays out — After your hands complete, the dealer reveals the hole card and draws from the shoe until reaching 17 or more, standing on every 17 including soft 17.
5. Settlement — Beat the dealer's total without busting to win 1:1; a natural (a two-card 21 on the initial deal, not after a split) pays 3:2; ties push and return your stake.

Every card is pre-committed: The entire 416-card shoe is determined by (serverSeed, clientSeed, nonce) before the deal animation plays. Your decisions don’t change the order of the cards — they set how many are drawn and, after a split, which hand takes each one.
Win Conditions

The main bet resolves hand-by-hand against the dealer's final total:

3 columns
OutcomeReturnVerified
Natural blackjack (two-card 21 on the initial deal)2.5× stake (3:2)330 naturals booked at exactly 2.5×; 66 more, on a 0.01 stake, paid 2.5× in LIQD’s wallet credit (S4.14)
Win (beat dealer, or dealer busts)2× stake (1:1)Reconciled across all 8,917 player hands
Push (tie)1× stake returnedReconciled across all 8,917 player hands
Loss / bust0Reconciled across all 8,917 player hands
Doubled hand2× the above on a doubled stake1,827 double bets over 1,684 doubled rounds, each settled like its hand
Insurance (dealer shows Ace)3× the insurance stake if dealer has blackjack45 / 45 winning insurances returned exactly 3× (S3.7)
Even money (insurance taken on a natural)2× stake, whatever the dealer holds12 / 12 booked at exactly 2×
Both naturals? If you and the dealer both hold a two-card 21, the hand pushes — your stake is returned.
Risk vs Reward

Blackjack is a low-volatility, high-decision game — the proven RTP of 99.512325% per initial bet assumes basic strategy, and deviations cost real percentage points. The side bets are the opposite trade:

  • Main bet: 0.487675% house edge per initial bet under basic strategy
  • Perfect Pairs: 2.1687% house edge — a pure-luck wager on your first two cards matching
  • 21+3: 3.7039% house edge — a pure-luck poker-hand wager on your two cards plus the dealer’s upcard
  • Insurance: −EV under basic strategy — taken on every offer except on a natural, it raises the edge to 0.7612% per initial bet
Parameters
3 columns
ParameterValueNotes
Deck Model8-deck shoe (416 cards), reshuffled every handDuplicate cards can appear — 1,800 rounds contain one, which rules out a single deck (Step 30); every captured card recomputes from the 416-card shoe (Step 6)
Dealer RuleStand on all 17 (S17)Including soft 17 — the dealer stood on soft 17 in 139 played-out hands, and every dealer hand replays against S17 with 0 over-draws and 0 under-draws (Step 11)
Dealer PeekUS peek / OBO on Ace and ten-value upcardsA dealer natural ends the round before any extra wager — across 191 Ace-up and 221 ten-up dealer naturals, no hand lost a double or split stake (Step 13)
Blackjack Payout3:2 (return = 2.5× stake)330 naturals booked at exactly 2.5×, 66 more paid 2.5× in the wallet credit (Step 9)
DoublingAny first two cards; double after split (DAS) allowed1,684 doubled rounds, 179 of them after a split (Step 12)
SplittingMatching value (any two ten-value cards); one card on split aces; no re-split observed338 splits including 79 mixed ten-value pairs and 45 ace splits; no round exceeded 2 hands; the RTP is solved for a two-hand limit (Step 27)
SurrenderNone in 8,579 handsThe action vocabulary is hit, stand, double, split plus LIQD’s own insurance accept and decline — no surrender action appears in 8,579 hands (Step 14). The RTP is solved without surrender.
InsuranceOffered on every dealer Ace upcard; pays 2:1 — taken on a natural, it settles as even money653 offers, on every Ace upcard and no other (34 of them with a player natural): 488 declined, 165 accepted (Steps 10, 28)
Stakes Captured0.10 CAD (5,000 hands), 0.01 USD (1,379), 0.10 USD (2,000) and 10.00 USD (200), paid from a USDT walletThe stake is not an input to the shoe derivation (Step 22)
Seed Formats

Three inputs determine every shoe:

3 columns
InputFormatWho Controls It
Server seed32-character hex string (16 bytes), revealed after epoch rotationCasino — committed via SHA-256 before any bet
Client seedFree-text string, changeable between hands via the fairness panelPlayer
NonceInteger counter, starts at 0 and increments by 1 per bet within the epochProtocol — sequential from 0 in every captured epoch
Commitment scheme: LIQD publishes SHA-256(serverSeed) computed over the seed’s UTF-8 text (the 32 hex characters as a string), and publishes the next epoch’s hash while the current pair is active — consistent across all 47 epochs and 47 rotations.
Shoe Map & Payout Math

Every card in a round comes from one shoe, in order. The first four positions are the deal; everything after is consumed one card at a time by hits, doubles, split hands, and the dealer:

3 columns
Shoe PositionCardNotes
shoe[0]Player card 1Also feeds Perfect Pairs and 21+3
shoe[1]Dealer upcardThird card of the 21+3 poker hand
shoe[2]Player card 2Completes both side-bet hands — side bets are fixed here, before any action
shoe[3]Dealer hole cardFace-down; checked at the peek on an Ace or ten upcard, revealed at settlement
shoe[4], shoe[5]Split second cards (split rounds only)Main hand's second card first, then the split hand's
shoe[4+] (no split)All further drawsYour hits and double card in order, then the dealer’s draws
shoe[6+] (split)Draws after the two split cardsSplit hand plays out first, then the main hand, then the dealer — the pinned order verified card-for-card on all 338 splits
Round credit: Every round’s settled credit is the sum of its booked records — each hand, each double bet (settled like its hand), each side bet and any booked insurance — reconciled exactly across all 8,579 captured rounds. The round total is the capture’s own sum of LIQD’s records; each hand’s credit is rebuilt from the cards and each double bet is checked against its hand (Step 8).
Why Provably Fair Matters▶

Traditional online casinos require players to trust that games are fair. Provably fair systems eliminate this trust requirement by allowing players to mathematically verify that outcomes were not manipulated. In a Provably Fair system:

  • The casino commits to the inputs that determine a result before the player bets
  • A source of randomness exists that the casino cannot predict or control
  • Anyone can verify the outcome after the fact
High-Level Overview8 sections▶

How LIQD Blackjack's provably fair system works, end to end — from the commitment you can check before betting to the full-shoe recomputation you can run afterwards.

Checklist Reference

Commit-Reveal

2 columns
CheckWhat it proves
Server seed committed before playThe seed behind every hand is the one whose hash was shown before play, as our capture records show
SHA-256 of revealed seed matches committed hashRevealed seed is the one that was actually committed
Hash identical across all bets in an epochEach epoch’s records carry one commitment; a seed swapped mid-epoch would fail recomputation (Steps 3, 6)

Seed System

2 columns
CheckWhat it proves
Nonces are sequential within an epochNo nonce skipping or reuse
Single client seed per epochEach epoch’s records carry one client seed, and every hand recomputes under it (Steps 3, 6)
Next-seed pre-committed before rotationEvery next-seed hash matches the hash made active at the next rotation (47 / 47), and our capture records show each in advance

RNG & Parity

2 columns
CheckWhat it proves
Every visible card recomputes from seeds + nonce via the shoe position it was dealt fromCard stream is deterministic and verifiable
Independent recomputation matches the live capture for every dealt cardThe three disclosed inputs reproduce every card — no hidden input is needed
Card sequence invariant across player actionsCards fixed at deal time, not rewritten per action

Payout & RTP

2 columns
CheckWhat it proves
Main payouts match rule set: win 2×, BJ 2.5×, doubled-win 4×, push 1×Payout arithmetic matches published rules
Side-bet payouts match published multiplier tablePerfect Pairs + 21+3 returns are exact to API precision
Proven RTP 99.512325% from the exact 8-deck solve; 30M simulation gated at 3σThe RTP is computed from the rules, not estimated from play
RTP claim ruleLIQD’s published 99.52% holds — the exact RTP sits 0.007675 pp below it, inside the ±0.1 pp band

Integrity

2 columns
CheckWhat it proves
Wrong client seed produces different cardsClient seed genuinely influences outcome
Bet size is not a shoe inputPhase E 10.00 rounds reproduce with the same stake-free reference function as the 0.10 and 0.01 phases
Cherry-pick screen (Pass 2)No sign of seed selection on the money rule (pooled z = −0.777); a 50-candidate seed grind is caught at z = −15.47
High-Level Flow

From commitment to payout, one deterministic pipeline:

1. Casino commits — publishes SHA-256(serverSeed) before any bet, and pre-commits the next epoch's hash at every rotation
2. You bet — your client seed and the per-bet nonce join the committed server seed
3. Shoe shuffles — HMAC-SHA256 drives 415 Fisher-Yates swaps, fixing all 416 card positions
4. Cards deal — PDPD from shoe[0..3]; every hit, split card, and dealer draw takes the next position in order
5. Seed reveals — after rotation, recompute the whole shoe and confirm every card you were dealt

High-Level Flow — illustrated flow
Provably Fair Model

A provably fair game publishes enough cryptographic material that any outcome can be recomputed by a third party. LIQD Blackjack does this with a commit-reveal server seed, a player-controlled client seed, a per-bet nonce, and a deterministic HMAC-SHA256 Fisher-Yates shuffle — the same construction this audit re-implements from scratch and runs against all 8,579 captured hands.

Commit-Reveal Model

The casino locks its randomness before you act, and reveals it afterwards so anyone can check it. While a pair is active the platform also shows the hash of the NEXT server seed — the baseline requirement of a commit-reveal scheme, not an extra — so each epoch’s seed is committed an epoch ahead. The chain is consistent across all 47 rotations in the capture, and our capture records show each hash in advance.

Commit-Reveal Model — illustrated flow

Commit
Publish SHA-256(serverSeed) while the seed itself stays secret. All 47 epoch commitments match their revealed seeds.

Pre-commit
While an epoch is active, also publish the hash of the next epoch’s seed. Each pre-committed hash matched the hash LIQD made active at the next rotation — and so its revealed seed — at all 47 rotations.

Reveal
After the epoch ends, publish the plaintext server seed so every hand in the epoch can be recomputed.

Player-Controlled Client Seed

The client seed is yours. LIQD’s fairness panel lets you set or rotate it between hands. The server commits to its seed before the pair becomes active, so a seed you set after seeing the commitment lands on randomness the casino has already locked.

  • Set or change it between hands via the fairness panel — rotation returns the outgoing server seed
  • Phase D used 5 seeds typed in by the player: the site took each one, and all 500 of their hands recompute under them; across the capture, 8,409 / 8,579 hands change their first card versus a baseline seed (the ≈98% you’d expect — 1-in-52 matches are chance, not control)
  • Set a fresh client seed after the commitment is published: that is what stops a casino from pre-selecting a server seed against you
Nonce Lifecycle

The nonce is a per-bet counter inside an epoch. It starts at 0 when a seed pair activates and increments by 1 per bet, giving every hand a unique input tuple without any new randomness.

  • Starts at 0 on epoch activation; increments by exactly 1 per bet
  • All 47 captured epochs run their nonces contiguously from 0 — 8,579 hands, zero gaps, zero duplicates
  • Changing the nonce reshuffles the entire shoe — consecutive bets share no HMAC message
epoch 0 · nonces 0–2 · first Fisher-Yates swap of each shoe · Verified
clientSeed = auditfd77f679f966          serverSeed = 265595de… (revealed) nonce 0:  HMAC(seed, 'auditfd77f679f966:0:415') = 746cfb2e… → j = 366nonce 1:  HMAC(seed, 'auditfd77f679f966:1:415') = eb1350c7… → j = 327nonce 2:  HMAC(seed, 'auditfd77f679f966:2:415') = 8ff5e335… → j = 309 # One integer changes → all 416 card positions reshuffle.
Determinism Guarantee

Determinism is what makes verification possible: the same three inputs always produce the same shoe, so anyone can recompute a past hand from the revealed seed. All 8,579 captured hands — 48,429 dealt cards — reproduce exactly.

determinism · pseudocode · Verified
shoe = fisherYates416(serverSeed, clientSeed, nonce) player = [shoe[0], shoe[2]]     dealer = [shoe[1], shoe[3]]draws  = shoe[4:]               # hits, splits, dealer — in order # Same inputs → same shoe → same cards. Every time.
Phase Map

The 8,579-hand production capture was structured into seven behavioural phases so that the main mechanics — splits, doubles, both side bets, insurance taken and declined, player-set client seeds and three stakes — appear in the evidence base. Re-split, surrender, Face-Down Double and the profit cap were not exercised:

3 columns
PhaseHandsBehaviour
A5,000Basic strategy at 0.10 CAD, insurance declined — the statistical baseline
SB1,379Side-bet run at 0.01 USD — Perfect Pairs and 21+3 on every round, basic strategy, insurance declined, run until every paying category of both paytables was served
D500Player-set client seeds — 5 seeds typed in, 100 hands each, at 0.10 USD with insurance accepted
B500Basic strategy at 0.10 USD with every insurance offer accepted
C500Split-force play at 0.10 USD — every pair split, every double taken, insurance accepted
F500Second split-force block — more split and double-after-split coverage
E200Fixed 10.00 USD stake, insurance declined — the bet-size invariance bracket
Why phases matter: Phases C and F forced splits and doubles, and the side-bet run carried both side bets on every round — 338 splits, 1,684 doubled rounds and 2,758 side bets in all. Naturals arose by chance (420), and every one of the 653 insurance offers was answered with LIQD’s own accept or decline (S3.7).
Technical Glossary2 categories▶

Terms and definitions used throughout this audit report, grouped into blackjack terms and provably-fair / cryptographic terms.

Blackjack terms
2 columns
TermDefinition
Natural / Blackjacka two-card hand totalling 21 (an Ace plus a ten-value card) on the initial deal. Pays 3:2 unless the dealer also has a natural, in which case the hand pushes.
Soft totala hand total that counts an Ace as 11 without busting (e.g. Ace + 6 = "soft 17"). The Ace can later be counted as 1 ("hard") if a further card would otherwise bust the hand.
Hard totala hand total with no Ace, or with every Ace counted as 1 (e.g. 10 + 7 = "hard 17"). A hard hand cannot absorb a large card without risk of busting.
S17 (stand on soft 17)the dealer rule under which the dealer stands on a soft 17 rather than drawing. The more player-favourable of the two dealer conventions. LIQD Blackjack is S17.
H17 (hit soft 17)the alternative dealer rule under which the dealer draws on a soft 17. Not used by LIQD Blackjack.
Double / Double downdoubling the stake in exchange for exactly one more card. LIQD allows doubling on any first two cards.
DAS (double after split)permission to double a hand that was created by splitting. LIQD allows DAS (179 split rounds carried a double in the capture).
Splitplaying a pair as two separate hands, each with its own stake. LIQD splits on matching value, not only matching rank: any two ten-valued cards (10/J/Q/K) may be split — 79 mixed ten-value splits occur in the captured data.
Split aces one cardthe common restriction that each hand from a pair of split aces receives exactly one additional card and is then stood automatically. Confirmed at LIQD across 45 split-ace rounds.
Re-splitsplitting a hand that is itself the product of a split. No re-split was observed at LIQD (no round exceeded 2 hands across 338 splits); the RTP is solved without it.
Insurancea side wager, offered whenever the dealer’s upcard is an Ace, that the dealer holds a natural. Pays 2:1 and wins if and only if the dealer has a two-card 21. A −EV bet under basic strategy; the headline RTP assumes it is declined.
Even moneythe settlement LIQD applies when you take insurance on a natural: the hand is paid 1:1 (a 2× return) whatever the dealer’s hole card — the same money as insurance settled by the rules, booked as one bet.
Peek / Hole-card / OBO (Original Bets Only)the dealer deals a face-down hole card and checks ("peeks") for blackjack on an Ace or ten-value upcard before the player commits additional money, so the player never loses a double or split wager to a dealer natural. LIQD uses US peek / OBO.
Surrenderan option (no surrender action was observed in this capture) to forfeit half the stake and end the hand before drawing.
Pusha tie between player and dealer; the stake is returned (1× return, no win or loss).
Upcardthe dealer's face-up card, dealt at shoe[1] in LIQD's PDPD order.
Shoethe pool of cards dealt from. LIQD uses an 8-deck (416-card) shoe, reshuffled every hand.
PDPDthe initial deal order Player-Dealer-Player-Dealer, reading shoe[0] (player), shoe[1] (dealer up), shoe[2] (player), shoe[3] (dealer hole).
Basic strategythe fixed total-dependent table of hit / stand / double / split decisions this audit solves exactly and simulates (src/strategy.ts) — “basic” as opposed to composition-dependent play
Perfect Pairsan optional side bet on the player's first two cards forming a pair (perfect / coloured / mixed). LIQD's paytable is 25 / 13 / 6, verified across 1,379 live bets.
21+3an optional side bet evaluating the player's two cards plus the dealer upcard as a three-card poker hand (suited trips / straight flush / trips / straight / flush). LIQD's paytable is 100 / 40 / 30 / 10 / 5, verified across 1,379 live bets.
Provably-fair and cryptographic terms
2 columns
TermDefinition
RTP (return to player)the long-run fraction of wagered money returned to players under a stated strategy; 1 − house edge. LIQD Blackjack’s proven RTP is 99.512325% per initial bet (99.567565% per total amount wagered) under basic strategy with insurance declined — an exact 8-deck solve, consistent with 30M simulated rounds. The observed return of the captured hands (100.21% of the CAD wagered, 90.81% of the USD) is a reconciliation, not an RTP figure.
House edgethe operator's long-run advantage; 1 − RTP, stated in a declared convention. The per-initial-bet edge (standard "house edge") and the per-total-wagered edge ("element of risk") differ by the average wager per round. LIQD Blackjack base game 0.487675% per initial bet (0.432435% per total amount wagered), exact.
Booked amount and wallet creditevery bet is paid from a USDT wallet and booked in the account’s currency (CAD in Phase A, USD afterwards). The booked amount is the stake and payout LIQD’s round record states; the wallet credit is the USDT amount LIQD’s reply states as paid (winningAmountWallet). Step 21 checks the two agree.
Provably faira design in which outcomes are cryptographically committed before play and independently verifiable afterward, so the operator cannot alter results and the player need not trust the operator's word.
Commit-revealthe scheme by which the server publishes a hash (commitment) of its secret seed before play, then reveals the seed afterward; anyone can check the revealed seed hashes to the commitment.
Commitmentthe published hash binding the operator to a server seed. LIQD uses SHA-256(utf8(serverSeed hex string)) (the seed text is hashed, not its decoded bytes).
Server seedthe operator-generated secret that keys the shuffle. Committed (hashed) before play, revealed on seed rotation.
Client seedthe player-controlled input to every shuffle, part of the HMAC message. Set after the commitment is published, it stops the operator from choosing a server seed against a known client seed.
Noncea per-hand counter (0,1,2,… within an epoch) that makes each hand a distinct, independent shuffle under the same seed pair.
Cursorthe per-swap counter inside the Fisher-Yates shuffle; part of the HMAC message clientSeed:nonce:cursor, running from 415 down to 1.
Epocha run of hands under one (serverSeed, clientSeed) pair. Its length is the player’s choice (rotate between hands); this capture rotated about every 200 hands (every 100 on the player-set seeds), giving 47 epochs.
Seed rotationreplacing the active seed pair, at which point the previous server seed is revealed so its hands become verifiable.
Pre-commitment (next-seed hash)a hash of the next epoch's server seed, published in advance to chain epochs and prevent mid-stream seed substitution.
HMAC (HMAC-SHA256)a keyed hash function; here keyed on the hex-decoded server seed with message clientSeed:nonce:cursor, producing the uniform draws that shuffle the shoe.
SHA-256the hash function used for the seed commitment and the dataset integrity guard.
Fisher-Yates shufflethe algorithm that permutes the shoe by swapping each position with a uniformly chosen position at or below it. LIQD uses a backward in-place variant over the 416-card shoe.
Modulo-bias rejectiondiscarding HMAC output values at or above floor(2^32 / range) × range before reducing mod range, so the resulting integer is exactly uniform over [0, range). Our implementation does this on every draw; one captured draw in 3,560,285 needed it, as expected.
Cherry-picking (seed selection)an operator pre-generating server seeds and committing to one that is unfavourable to a known client seed. A player who sets a fresh client seed after the commitment is protected; Step 19 screens all 47 revealed seeds for it.
Standard error (SE)the sampling uncertainty of an estimate, σ/√n; used to bound the Monte-Carlo RTP and to show why the live money-path reconciliation is not an RTP measurement.
Capture flaga flag raised when a gap in the record comes from our capture script — for example, a retried request that skipped a nonce — rather than from the casino. It is disclosed with a limitation and does not change the verdict; an operator-side gap is a hard fail. This audit has 0 capture flags: every epoch’s nonces run contiguously from 0 with no gaps (Step 4).
RTP claim ruleRTP-CLAIM 1.2.0, part of the audit method: the RTP a casino publishes — on the game page, fairness page, help page, bet panel, rules or game settings — must hold at every setting to within ±0.1 percentage points; a setting above the figure favours the player and never fails. A house-side miss ends the verdict as RTP FIGURE OVERSTATED. LIQD’s published 99.52% holds for Blackjack (Step 20).
01

Seed, Nonce & Determinism

Can the casino change your outcome after you bet?

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

Commit-Reveal Verification

47 / 47seeds verified

What we verified

  • All 47 revealed server seeds match the hash LIQD published for them
  • Each rotation also announces the hash of the next server seed, and all 47 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
  • You can set or change your client seed between hands in the Provably Fair panel
  • The nonce counts your hands from 0, with no gaps or repeats, in all 47 seed pairs
  • The whole 416-card shoe is fixed by the seeds before the first card is dealt
  • The same inputs always give the same shoe, confirmed on all 48,429 dealt cards
  • Your client seed really counts: changing it reshuffles the shoe

What this means for you

  • With the hash shown before you bet, the casino cannot change your cards afterwards
  • A client seed of your own adds randomness the casino cannot predict or plan around
  • Every hand has its own nonce, so no two hands share the same shoe
  • You can check any result yourself, with the public audit code or a verifier
  • Results stay checkable long after the round: the seeds and the code are all you need
  • If you set an unpredictable client seed after LIQD commits, LIQD cannot pick a server seed to work against you
47 / 47seeds verified
  • All 47 revealed server seeds match the hash LIQD published for them
  • Each rotation also announces the hash of the next server seed, and all 47 seeds we played under matched the hash announced for them in advance
  • We set the client seed ourselves on every seed pair, after LIQD had committed to its server seed
  • You can set or change your client seed between hands in the Provably Fair panel
  • The nonce counts your hands from 0, with no gaps or repeats, in all 47 seed pairs
  • The whole 416-card shoe is fixed by the seeds before the first card is dealt
  • The same inputs always give the same shoe, confirmed on all 48,429 dealt cards
  • Your client seed really counts: changing it reshuffles the shoe
Provably fair Blackjack card generation — server seed, client seed, nonce and per-swap cursor through HMAC-SHA256 Fisher-Yates to the 416-card shoe — illustrated flow
CheckResultEvidence
Seed hash integrityPassAll 47 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPassEvery new server seed matched the hash announced for it, across all four capture sessions
One commitment per seed pairPassEvery round in each of the 47 seed pairs carries that pair’s hash and client seed, and recomputes under them: no seed was swapped mid-pair
Nonce sequencingPassNonces run 0, 1, 2… in every seed pair, with no gaps or repeats
Client seed originPassEvery client seed was set by us at a rotation: our own random seeds, and five typed in as a player
Client seed controlPassYou can set or change the client seed between hands: LIQD used all five seeds we typed in, and all 500 hands under them recompute
Client seed influencePassA wrong or an empty client seed changes the first card on 1,046 and 1,058 of 1,073 hands tested; the rest are chance matches
Deterministic outputPassThe same server seed, client seed and nonce always give the same shoe: all 8,579 hands and 48,429 cards
Seed hash integrityPass
All 47 revealed server seeds match their published hashes, with no mismatches
Next-seed linkPass
Every new server seed matched the hash announced for it, across all four capture sessions
One commitment per seed pairPass
Every round in each of the 47 seed pairs carries that pair’s hash and client seed, and recomputes under them: no seed was swapped mid-pair
Nonce sequencingPass
Nonces run 0, 1, 2… in every seed pair, with no gaps or repeats
Client seed originPass
Every client seed was set by us at a rotation: our own random seeds, and five typed in as a player
Client seed controlPass
You can set or change the client seed between hands: LIQD used all five seeds we typed in, and all 500 hands under them recompute
Client seed influencePass
A wrong or an empty client seed changes the first card on 1,046 and 1,058 of 1,073 hands tested; the rest are chance matches
Deterministic outputPass
The same server seed, client seed and nonce always give the same shoe: all 8,579 hands and 48,429 cards
✓  Commit-reveal verified

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

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

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

Server Seed Commitment — illustrated flow
src/rng.ts · commitHash · Verified
// §1.2: commitment = lowercase hex SHA-256 of the seed's characters as UTF-8 text// (the 32 ASCII characters, NOT the 16 bytes they encode; the key form differs on purpose).export function commitHash(serverSeedHexString: string): string {  return createHash('sha256').update(Buffer.from(serverSeedHexString, 'utf8')).digest('hex');}
Result: 47 / 47 revealed seeds hash to their published commitment (Step 1). Zero mismatches. Each capture session’s pre-capture record matches too: the seed active before its first audited epoch hashes to its commitment, and its pre-commitment links to that epoch — 4 / 4 (Step 2).

Real epoch verified:

blackjack-prod-8579hands.json · seeds[0] · Verified
// Source: data/blackjack-prod-8579hands.json (epoch 0, Phase A) — capture-side fields omitted// SHA-256(utf8(serverSeed)) matches hashedServerSeed {  "epoch": 0,  "capture": "A",  "phase": "A",  "clientSeed": "auditfd77f679f966",  "playerSet": false,  "hashedServerSeed": "3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a",  "nextHashedServerSeed": "fde847b25916ca78c17eb9726cafed0e67025a4804c1186cd2de053152d67845",  "rotatedTo": "fde847b25916ca78c17eb9726cafed0e67025a4804c1186cd2de053152d67845",  "serverSeed": "265595de7339e9ef94e96024f824d574",  "nonceStart": 0,  "nonceEnd": 199,  "plannedBets": 200}
1.2Next-Seed Pre-Commitment Chain

At every seed rotation, the nextHashedServerSeed LIQD pre-commits during an epoch must equal the hash LIQD makes active at that rotation (rotatedTo), so the successor seed is fixed before the previous epoch ends. Step 2 checks all 47 rotations, the 43 links between consecutive epochs of one capture session, and one pre-capture record per session: the seed active when the session connected hashes to its own commitment, and its pre-committed next hash is the commitment of the session’s first epoch — for the first session, seed 19809581… hashes to 45744683…, which pre-committed epoch 0’s 3b09fb3b…. Between sessions the account played other games, so each session is anchored on its own. A hash chain shows the values are consistent and fixes their order; it does not carry a date. Our capture records show each commitment was published before the hands it covers.

tests/steps/commitment.ts · Step 2 · Verified
// ── Step 2: Pre-commitment chain ────────────────────────────────────────────────────────────────// Three properties, each recomputed from raw hash fields (the capture's commitVerified / chainLinkOk// booleans are deleted by the loader and never read)://   (a) every epoch's nextHashedServerSeed equals the hash LIQD made active at the rotation that closed//       it (`rotatedTo`, served by that rotation): EXPECTED_SEEDS transitions;//   (b) inside a capture file, that hash is the next epoch's commitment: consecutive records link;//   (c) each capture file's pre-capture anchor: the pair active before its first round was revealed, its//       seed hashes to its commitment, and the next-seed hash it published is the file's first epoch's//       commitment. An ABSENT anchor is a FAIL, not a skip.// The expected counts come from src/config.ts: EXPECTED_SEEDS transitions, EXPECTED_SEEDS − (capture// files) in-file links, one anchor per capture file.let transitions = 0, transitionBad = 0, inFile = 0, inFileBad = 0;for (let i = 0; i < ordered.length; i++) {  const s = ordered[i];  if (s.rotatedTo != null) { transitions++; if (s.nextHashedServerSeed !== s.rotatedTo) transitionBad++; }  const nx = ordered[i + 1];  if (nx && nx.capture === s.capture) { inFile++; if (s.nextHashedServerSeed !== nx.hashedServerSeed) inFileBad++; }}const expectedInFile = EXPECTED_SEEDS - CAPTURE_PLAN.length;let anchors = 0, anchorBad = 0;const anchorRows: string[] = [];for (const plan of CAPTURE_PLAN) {  const c = captures.find((x) => x.key === plan.key);  const pre = (c?.preCapture ?? null) as { revealedServerSeed?: unknown; hashedServerSeed?: unknown; nextHashedServerSeed?: unknown } | null;  const first = c ? ordered.find((s) => s.epoch === c.epochs.first) : undefined;  const revealOk = !!pre && typeof pre.revealedServerSeed === 'string' && commitHash(pre.revealedServerSeed) === pre.hashedServerSeed;  const linkOk = !!pre && !!first && first.capture === plan.key && pre.nextHashedServerSeed === first.hashedServerSeed;  if (pre) anchors++;  if (!revealOk || !linkOk) anchorBad++;  anchorRows.push(`${plan.key} ${!pre ? 'ABSENT' : `reveal ${revealOk ? 'OK' : 'FAIL'}, link to its first epoch ${linkOk ? 'OK' : 'FAIL'}`}`);}// …const s2Ok = transitionBad === 0 && transitions === EXPECTED_SEEDS && inFileBad === 0 && inFile === expectedInFile  && anchors === CAPTURE_PLAN.length && anchorBad === 0 && captures.length === CAPTURE_PLAN.length;
Result: 47 / 47 rotations consistent, 43 / 43 in-session links and 4 / 4 pre-capture anchors, recomputed from the raw hash fields — the pre-committed next server-seed hash matched the hash made active at every rotation (Step 2).
1.3Hash Consistency Within an Epoch

Every round record carries the hashedServerSeed it was played under and its client seed. The audit grouped all 8,579 rounds by their epoch label and confirmed every round in an epoch carries the one commitment, the one client seed, the capture session and the phase recorded for that epoch — relabelling a round into another epoch, or swapping two rounds’ labels, fails the step. The per-round fields are stamps the capture script wrote, so this checks the bookkeeping against the seed records; what binds each hand to its seed is the recomputation (Steps 1 and 6), where a seed swapped mid-epoch would fail.

tests/steps/commitment.ts · Step 3 · Verified
const seedByEpoch = new Map(seeds.map((s) => [s.epoch, s]));const byEpoch = new Map<number, typeof bets>();for (const b of bets) {  const arr = byEpoch.get(b.epoch) ?? [];  arr.push(b);  byEpoch.set(b.epoch, arr);}let epochViolations = 0;let clientSeedViolations = 0;let labelViolations = 0;const clientFails: string[] = [];for (const [epoch, epochBets] of byEpoch) {  const sd = seedByEpoch.get(epoch);  if (!sd || epochBets.some((b) => b.hashedServerSeed !== sd.hashedServerSeed)) epochViolations++;  // The same-client-seed half: every round of an epoch was dealt under ONE client seed, and it  // is the client seed the epoch's seed record carries.  const clients = new Set(epochBets.map((b) => b.clientSeed));  if (clients.size !== 1 || !sd || !clients.has(sd.clientSeed)) {    clientSeedViolations++;    if (clientFails.length < 3) clientFails.push(`epoch ${epoch}: ${clients.size} client seed(s) ${JSON.stringify([...clients].slice(0, 3))} vs seed record ${JSON.stringify(sd?.clientSeed)}`);  }  // Phase and capture labels: every round of an epoch carries its seed record's, and both are the plan's.  const plan = EPOCH_PLAN[epoch];  if (!sd || !plan || sd.phase !== plan.phase || sd.capture !== plan.capture    || epochBets.some((b) => b.phase !== plan.phase || b.capture !== plan.capture)) labelViolations++;}
Result: 47 / 47 epochs internally consistent — one commitment and one client seed per epoch, 0 mismatches (Step 3).
1.4Client Seed Origin & Control

Players set their client seed in LIQD’s fairness panel, and rotating the pair reveals the outgoing server seed. The client seed is the first field of every HMAC message, so changing it reshuffles the whole shoe. The capture set a new client seed at every rotation — 47 distinct seeds. 42 epochs used audit followed by 12 hex characters from the browser’s cryptographic random generator, drawn by our capture script; each capture session records the script build that ran it, and Step 7 checks those records and the seed shapes. Phase D played 500 hands under 5 player-set seeds — typed into LIQD’s seed field the way a player would, pfaudit-prod-blackjack-d1- to -d5- followed by 12 random hex characters — to confirm each is genuinely taken and consumed (Step 26).

  • auditfd77f679f966
  • audit6c3f5de66348
  • pfaudit-prod-blackjack-d1-f155ef2816e1
  • pfaudit-prod-blackjack-d4-83d7fa14e77a
Result: 47 distinct client seeds — one per epoch: 42 auditor-generated audit… seeds and 5 player-set seeds (Phase D, epochs 32–36). Evidence: blackjack-prod-8579hands.json
1.5Nonce Incrementation

The nonce begins at 0 and increments by 1 for each hand under the active seed pair, and resets to 0 when the pair rotates. Epochs here hold 100 to 200 hands — 25 of 200 in Phase A, 7 on the side-bet run, 5 of 100 on the player-set seeds, 9 of 166–167 in phases B, C and F, and one of 200 in Phase E — each with nonces contiguous from 0, no gaps, no duplicates, and the recorded window closed at its last nonce with a round present there. The window is declared per epoch in code (NONCE_BASE 0 and the epoch plan), not read from the dataset: an operator-side gap would be a hard fail, and a declared retry of our capture script a capture flag — this capture has neither. The side-bet run’s last epoch closed at 191 of its planned 198 hands, where that run ended; the next session’s first read shows LIQD’s nonce at exactly 191 for that pair, so no hand was dealt under it unrecorded. On the 216 rounds that settled on the insurance reply, which carries no nonce, the nonce is the one LIQD served in the round’s own place-bet reply; each still reproduces its cards (Step 6).

Nonce Incrementation — illustrated flow
tests/steps/commitment.ts · Step 4 · Verified
for (const s of seeds) {  const plan = EPOCH_PLAN[s.epoch];  const epochBets = byHash.get(s.hashedServerSeed) || [];  if (!plan) { windowBad++; continue; }  if (epochBets.length === 0) continue;  const declaredEnd = NONCE_BASE + plan.played - 1;  const nonces = epochBets.map((b) => b.nonce);  // Reorder: the capture sequence (dataset order) must be strictly increasing within an epoch.  for (let i = 1; i < nonces.length; i++) if (!(nonces[i] > nonces[i - 1])) { reorders++; break; }  const present = new Set(nonces);  repeats += nonces.length - present.size;  for (const n of present) if (n < NONCE_BASE || n > declaredEnd) outOfWindow++;  for (let n = NONCE_BASE; n <= declaredEnd; n++) {    if (!present.has(n)) { missingNonces++; if (gapDetail.length < 3) gapDetail.push(`epoch ${s.epoch} nonce ${n}`); }  }  // The record's window must be the declared window, and the round AT nonceEnd must be present.  if (s.nonceStart !== NONCE_BASE || s.nonceEnd !== declaredEnd) {    windowBad++;    if (winDetail.length < 3) winDetail.push(`epoch ${s.epoch}: record window ${String(s.nonceStart)}…${String(s.nonceEnd)} != declared ${NONCE_BASE}…${declaredEnd}`);  } else if (!present.has(declaredEnd)) {    tailBad++;    if (winDetail.length < 3) winDetail.push(`epoch ${s.epoch}: no round at the declared nonceEnd ${declaredEnd}`);  }}const hardBad = repeats > 0 || outOfWindow > 0 || reorders > 0 || windowBad > 0 || tailBad > 0;const fromPlaceBet = (ctx.meta.captures ?? []).reduce((n, c) => n + Number(c.rounds_nonceAndSeedIdFromPlaceBetReply ?? 0), 0);const undeclaredGaps = missingNonces > EXPECTED_CAPTURE_RETRY_GAPS;const declaredCaptureGaps = missingNonces > 0 && missingNonces === EXPECTED_CAPTURE_RETRY_GAPS;const shortEpochs = EPOCH_PLAN.map((e, i) => ({ ...e, i })).filter((e) => e.played !== e.planned);const s4Status = hardBad || undeclaredGaps || missingNonces !== EXPECTED_CAPTURE_RETRY_GAPS ? 'FAIL' : declaredCaptureGaps ? 'FLAG' : 'PASS';
Result: 0 gaps, 0 duplicates, 0 capture flags across all 47 epochs; 47 / 47 nonce windows closed at their declared last nonce (Step 4).
1.6Deterministic Mapping

Determinism is the property that makes verification possible: (serverSeed, clientSeed, nonce) fully determines the 416-card shoe, so the same inputs always produce the same cards. There is no hidden state — no time-of-day, no bet size, no account identity in the derivation. Our implementation, written from the specification (docs/ALGORITHM.md) without LIQD’s code, recomputed every hand from these three inputs alone.

Deterministic Mapping — illustrated flow
src/rng.ts · blackjackShoe · dealtHands · Verified
// §2 Step 3: backward Fisher-Yates over positions a = [0..415]. For i = 415 down to 1 the// cursor is i itself (§2 Step 1) and j = draw over i + 1 outcomes; swap a[i], a[j].// Card k of the round is BASE[a[k]], dealt from the front of the array.export function blackjackShoe(serverSeed: string, clientSeed: string, nonce: number, census?: DrawCensus): string[] {  const key = hmacKey(serverSeed);  const base = buildShoeTemplate();  const a: number[] = Array.from({ length: SHOE_SIZE }, (_, x) => x);  for (let i = SHOE_SIZE - 1; i >= 1; i--) {    const j = drawFromDigest(digestFor(key, clientSeed, nonce, i), i + 1, census);    const t = a[i] as number;    a[i] = a[j] as number;    a[j] = t;  }  return a.map((x) => base[x] as string);} // §2 Step 4: k = 0 player card 1, k = 1 dealer up card, k = 2 player card 2,// k = 3 dealer hole card; everything from k = 4 on is what later play draws from.export function dealtHands(shoe: string[]): { player: string[]; dealer: string[]; rest: string[] } {  if (shoe.length < 4) throw new Error('a deal needs at least 4 cards');  return {    player: [shoe[0] as string, shoe[2] as string],    dealer: [shoe[1] as string, shoe[3] as string],    rest: shoe.slice(4),  };}
Result: 8,579 / 8,579 hands reproduce exactly — 48,429 dealt cards in strict shoe order (Step 6).

Real bet record (the hand S2.8 recomputes) — trimmed:

blackjack-prod-8579hands.json · bets[0] · Verified
{  "id": "u2xTT--QHf6vE24SXKuro",  "epoch": 0,  "nonce": 0,  "phase": "A",  "clientSeed": "auditfd77f679f966",  "hashedServerSeed": "3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a",  "fiatCurrency": "CAD",  "exchangeRate": "1.41000000",  "actions": ["stand"],  "playerHands": [{ "cards": ["DIAMOND:8", "SPADE:4"], "points": 12,                    "result": "won", "winningAmount": 0.2, "betAmount": 0.1,                    "winningAmountWallet": 0.14180396 }],  "dealerHand": ["DIAMOND:5", "HEART:11", "CLUB:13"],  "winningAmount": 0.2,   // round credit, in CAD  …}

Recompute it yourself:

verify-ep0n0.js · Verified
// inside the repo, after npm ci: node -r ts-node/register verify-ep0n0.js   (src/rng.ts is TypeScript)const { blackjackShoe } = require('./src/rng');const shoe = blackjackShoe(  '265595de7339e9ef94e96024f824d574',   // revealed server seed, epoch 0  'auditfd77f679f966', 0);              // client seed, nonceconsole.log(shoe.slice(0, 5).join(' '));// → DIAMOND:8 DIAMOND:5 SPADE:4 HEART:11 CLUB:13   (8♦ 5♦ 4♠ J♥ K♣ — the deal, then the dealer's draw)
1.7Shoe Architecture

LIQD shuffles a real 8-deck shoe rather than drawing each card independently from an idealised infinite deck. The seed inputs drive a backward Fisher-Yates permutation of all 416 cards (S2 covers the mechanism), and the deal reads from the top: shoe[0] player, shoe[1] dealer up, shoe[2] player, shoe[3] dealer hole — PDPD — with every subsequent draw taking shoe[4], shoe[5], … in order. One shoe per hand, fixed by the seeds and the nonce before the first card is dealt.

tests/steps/parity.ts · dealtSequence (the deal-order map) · Verified
function dealtSequence(playerHand: string[], dealerHand: string[]): string[] {  const seq: string[] = [];  if (playerHand?.[0]) seq.push(playerHand[0]);  if (dealerHand?.[0]) seq.push(dealerHand[0]);  if (playerHand?.[1]) seq.push(playerHand[1]);  if (dealerHand?.[1]) seq.push(dealerHand[1]);  for (let i = 2; i < (playerHand?.length || 0); i++) seq.push(playerHand[i]);  for (let i = 2; i < (dealerHand?.length || 0); i++) seq.push(dealerHand[i]);  return seq;}
Why it matters: A finite shoe means card removal is real: duplicates are bounded (no card can appear more than 8 times) and the game’s mathematics reflect the real 8-deck composition — what the duplicate statistics in S2.7 confirm.

And the split-round pin (verified on all 338 splits):

tests/steps/parity.ts · splitDealtSequence · Verified
/** * Exact draw order for a split round. Derived empirically from the capture and * confirmed against every split hand in the dataset: * *   shoe[0..3]  main[0], dealer[0], split[0], dealer[1]   (the pinned initial deal) *   shoe[4..5]  main[1], split[1]                         (one auto card to each hand) *   then        the SPLIT hand plays out fully (split[2..]), *   then        the MAIN hand plays out fully (main[2..]), *   then        the dealer draws (dealer[2..]). * * … */function splitDealtSequence(main: string[], split: string[], dealer: string[]): string[] {  return [main[0], dealer[0], split[0], dealer[1], main[1], split[1],    ...split.slice(2), ...main.slice(2), ...dealer.slice(2)].filter((c) => c !== undefined);}
1.8Client Seed Influence

To confirm the client seed is a genuine HMAC input, Step 7 re-derives 1,073 hands (every 8th round) under a deliberately wrong client seed and under an empty one. The first card survives in 27 and 15 of them — what independent shoes give by chance, since a wrong seed matches the recorded first card with probability 1/52 (20.6 expected; the step fails above 43.1). So the deal changes on 1,046 and 1,058 of 1,073. This is a property of our implementation; the comparison with the cards LIQD dealt is Step 6, where every one of the 8,579 recorded hands recomputes under its recorded client seed. Phase D then played 500 live hands under 5 seeds typed in by the player: the site took each one and all 500 hands recompute under them, and across the capture 8,409 of 8,579 hands deal a different first card than a baseline seed would (Step 26).

tests/steps/parity.ts · Step 7 · Verified
/** * Wrong-seed collision model for the first card. Under a client seed other than the one used, the * recomputed shoe is an independent uniform shuffle of the 416-card shoe, so its first card is * uniform over the 52 card identities (8 copies each) and matches the recorded first card with * probability exactly 1/52. Over n tested rounds the expected number of chance survivors is n/52 * with variance n·(1/52)(51/52). A survivor count above E + 5σ means the client seed is not doing * what the model says; 0 % change is the degenerate case of the same failure. */function collisionModel(n: number): { expected: number; sd: number; bound: number } {  const p = 1 / 52;  const expected = n * p;  const sd = Math.sqrt(n * p * (1 - p));  return { expected, sd, bound: expected + 5 * sd };}// …let sampled = 0;let survivedWrong = 0;let survivedEmpty = 0;const bettable = bets.filter((b) => seedMap.get(b.hashedServerSeed) && b.clientSeed);const stride = Math.max(1, Math.floor(bettable.length / 1000));for (let i = 0; i < bettable.length; i += stride) {  const b = bettable[i];  const serverSeed = seedMap.get(b.hashedServerSeed) as string;  const realFirst = (b.playerHands[0]?.cards || [])[0];  sampled++;  if (blackjackShoe(serverSeed, b.clientSeed + '_x', b.nonce)[0] === realFirst) survivedWrong++;  if (blackjackShoe(serverSeed, '', b.nonce)[0] === realFirst) survivedEmpty++;}const model = collisionModel(sampled);const runner = checkProdRunners(ctx.seeds, ctx.meta.captures ?? []);const s7Ok = sampled >= 1000 && survivedWrong < sampled && survivedEmpty < sampled  && survivedWrong <= model.bound && survivedEmpty <= model.bound && runner.ok;
Result: 1,046 / 1,073 (wrong seed) and 1,058 / 1,073 (empty seed) sampled hands deal a different first card — inside the 1-in-52 chance-match model. Phase D: all 500 live hands recompute under their player-set seeds, and 8,409 / 8,579 captured hands differ from a baseline seed’s deal (Step 26). The client seed is a genuine, material input.
Technical Evidence — Seed, Nonce & Determinism5 sections
1.9Evidence Coverage Summary7 checks
3 columns
Verification AreaCoverageResult
Commitment reveal integrity (Step 1)47 / 47 revealed seedsPass
Pre-commitment chain (Step 2)47 / 47 rotations · 43 / 43 in-session links · 4 / 4 pre-capture anchorsPass
Hash consistency within epoch (Step 3)47 / 47 epochs — one commitment and one client seed eachPass
Nonce continuity (Step 4)47 epochs, nonces from 0 — 0 gaps, 0 duplicates, 0 capture flags, 47 / 47 windows closedPass
Epoch size (Step 5)100 to 200 hands per epoch as planned, all 47 epochs — 8,579 roundsPass
Deterministic recomputation (Step 6)8,579 / 8,579 hands, 48,429 dealt cardsPass
Client seed influence (Step 7)1,046 / 1,073 and 1,058 / 1,073 first-card changes under a wrong and an empty seedPass
1.10Code References9 source files
2 columns
FilePurpose
tests/verify.ts31-step verification pipeline (Steps 1–7 and 26 cover S1)
tests/steps/commitment.tsSteps 1–5: commitment reveal, pre-commitment chain, hash consistency, nonce continuity, epoch size
tests/steps/parity.tsSteps 6–7: recomputation parity and client-seed dependence
tests/steps/context.tsShared verification context — seed/bet maps, phase slices, and the step reporter
src/rng.tscommitHash · generateProvablyFairNumber · blackjackShoe · dealtHands — written from docs/ALGORITHM.md
src/config.tsPopulation pins — the epoch plan (EPOCH_PLAN, 47 epochs), the capture plan (CAPTURE_PLAN, 4 sessions), EXPECTED_HANDS 8,579 and NONCE_BASE 0: every expected count in Steps 1–6 and 24 comes from here, never from the dataset’s own header (Step 5 scores the header against these pins)
src/loader.tsDataset loading, the pre-flight SHA-256 check against DATASET_SHA256, and removal of the capture’s own recomputation fields before any step runs
src/prod-runner.tsThe client seeds, script builds and epoch plan as the dataset records them — checked by Step 7
convert/rebuild.mjsRebuilds the dataset from the capture files shipped in data/, byte for byte — required by Step 25
1.11Datasets UsedSource artifacts
Primary: data/blackjack-prod-8579hands.json
2 columns
PropertyValue
SourceLive production capture from liqd.com — 8,579 real rounds across 7 phases (A=5,000 · side-bet run=1,379 · D=500 · B=500 · C=500 · F=500 · E=200), LIQD’s fast-games-11 engine, paid from a USDT wallet and booked in CAD (Phase A) and USD
Capture environmentLIQD’s public production site, liqd.com · one anonymous, self-funded player account · four capture sessions, shipped as captured; the dataset rebuilds from them byte for byte (Step 25)
Total Records8,579 rounds · 8,917 player hands · 48,429 dealt cards · 47 revealed seed epochs of 100 to 200 rounds
Captured8 and 10 November 2026 (8 Nov 17:49–21:09 UTC; 10 Nov 00:17–03:13 and 10:52–10:59 UTC)
SHA-2561492b78052b010a51eb07d75c5c668b4e683a970d866d9db563cd78812077c4c
Pre-flight checksrc/loader.ts aborts before any step runs if the file’s SHA-256 does not match DATASET_SHA256 in src/config.ts; scored Step 25 re-states the match alongside the other pinned artifacts

Fields used in S1 verification: hashedServerSeed, serverSeed, nextHashedServerSeed, rotatedTo, clientSeed, playerSet, nonce, nonceStart, nonceEnd, epoch, capture, phase, and each capture session’s pre-capture record meta.captures[].preCapture.

1.12Verified Invariants10 invariants
2 columns
InvariantResult
SHA-256(utf8(serverSeed)) = hashedServerSeed for all 47 revealed seedsPass
Next-seed chain consistent on all 47 rotations, 43 in-session links and 4 pre-capture anchorsPass
One hashedServerSeed and one client seed within each of the 47 epochsPass
Nonces run contiguously from 0 with zero gaps and zero duplicates in every epochPass
Every epoch contains exactly the rounds its plan declares (100 to 200)Pass
blackjackShoe(serverSeed, clientSeed, nonce) reproduces the recorded cards for all 8,579 roundsPass
A wrong client seed changes the first card in 1,046 / 1,073 sampled hands, an empty one in 1,058 / 1,073Pass
Every round resolves to a revealed seed record — a round with no revealed seed fails Step 6Pass
Expected counts come from src/config.ts, so a shortened dataset fails rather than passing on a smaller countPass
The epoch-0 commitment 3b09fb3b…8d35a is pinned as a unit test (tests/blackjack/rngTests.ts)Pass
1.13Reproduction InstructionsRun locally

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

reproduce-s1.sh · 4 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjack && git checkout v1.1.0npm cinpm run verify   # Steps 1–7 and 26 cover S1
Steps 1–7 and 26 cover the Seed, Nonce & Determinism checks. Expected output:

  [PASS] Step 1 — Commitment Reveal
  [PASS] Step 2 — Pre-Commitment Chain
  [PASS] Step 3 — Within-Epoch Hash Consistency
  [PASS] Step 4 — Nonce Continuity
  [PASS] Step 5 — Epoch Size
  [PASS] Step 6 — Recomputation Parity
  [PASS] Step 7 — Client-Seed Dependence
  [PASS] Step 26 — Client-Seed Variation
02

RNG & Entropy Model

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

Each hand is dealt from a full 416-card, 8-deck shoe, shuffled with HMAC-SHA256, a standard cryptographic function, over your seeds and the nonce. Every card has the same chance at every step of the shuffle: values that would favour some positions are thrown away and the next one used. The cards are then dealt from the top: player, dealer, player, dealer. Our own implementation, written from the specification without LIQD’s code, reproduces all 8,579 live hands.

Cryptographic Randomness Verification

8,579 / 8,579hands verified

What we verified

  • Our implementation reproduces all 8,579 hands, recomputing every one of the 3,560,285 shuffle draws
  • The shoe comes from the disclosed inputs alone: no timestamp, server-side state or hidden randomness is needed to reproduce a hand
  • Every draw is exactly even: values that would favour some positions are thrown away, and just one live draw needed it, as expected
  • In a million simulated rounds through the real shoe, the first card shows no bias and no link between rounds
  • The 8-deck shoe is confirmed from the cards themselves: the same card turns up twice in one round, which a single deck can’t do
  • Your client seed is a real input: a different seed changed the first card on 8,409 of the 8,579 hands

What this means for you

  • The shuffle favours no card at any position
  • No hidden randomness or server-side input decides what you’re dealt
  • Past hands don’t feed into future ones: each shoe comes from the seeds and its own nonce
  • The algorithm depends only on seeds you can verify
8,579 / 8,579hands verified
  • Our implementation reproduces all 8,579 hands, recomputing every one of the 3,560,285 shuffle draws
  • The shoe comes from the disclosed inputs alone: no timestamp, server-side state or hidden randomness is needed to reproduce a hand
  • Every draw is exactly even: values that would favour some positions are thrown away, and just one live draw needed it, as expected
  • In a million simulated rounds through the real shoe, the first card shows no bias and no link between rounds
  • The 8-deck shoe is confirmed from the cards themselves: the same card turns up twice in one round, which a single deck can’t do
  • Your client seed is a real input: a different seed changed the first card on 8,409 of the 8,579 hands
RNG Pipeline — HMAC-SHA256 → 8× uint32 chunks → rejection sampling → modulo (i+1) → Fisher-Yates swap — illustrated flow
CheckResultEvidence
RNG derived only from disclosed inputsPassHMAC-SHA256 over the server seed, client seed and nonce drives every step of the shuffle, with no hidden randomness
No hidden inputsPassNo timestamp, outside service, bet size, account or clock goes in: every hand reproduces from the disclosed inputs alone
Algorithm independently implementedPassOur own implementation, written from the specification without LIQD’s code, reproduces every one of the 48,429 dealt cards
Draw biasPassValues that would favour some positions are thrown away, so every draw is exactly even; one of the 3,560,285 live draws needed it, as expected
Seed encodingPassThe server seed is used as bytes for the shuffle and as text for its hash, confirmed on every hand and seed
First-card balancePassA million simulated first cards through the real shoe show no sign of bias, and no link between one round and the next
Deck modelPass8-deck shoe confirmed: the same card turns up twice in 1,800 rounds, impossible with one deck, and every card recomputes from the 416-card shoe
Client seed influencePassA different client seed reshuffles the shoe: the first card changed on 8,409 of the 8,579 hands
RNG derived only from disclosed inputsPass
HMAC-SHA256 over the server seed, client seed and nonce drives every step of the shuffle, with no hidden randomness
No hidden inputsPass
No timestamp, outside service, bet size, account or clock goes in: every hand reproduces from the disclosed inputs alone
Algorithm independently implementedPass
Our own implementation, written from the specification without LIQD’s code, reproduces every one of the 48,429 dealt cards
Draw biasPass
Values that would favour some positions are thrown away, so every draw is exactly even; one of the 3,560,285 live draws needed it, as expected
Seed encodingPass
The server seed is used as bytes for the shuffle and as text for its hash, confirmed on every hand and seed
First-card balancePass
A million simulated first cards through the real shoe show no sign of bias, and no link between one round and the next
Deck modelPass
8-deck shoe confirmed: the same card turns up twice in 1,800 rounds, impossible with one deck, and every card recomputes from the 416-card shoe
Client seed influencePass
A different client seed reshuffles the shoe: the first card changed on 8,409 of the 8,579 hands
✓  Disclosed Inputs Only, Unbiased by Construction

Every live hand comes from the disclosed inputs alone, and our own implementation, written from the specification, reproduces all 8,579. Every draw is exactly even by construction, and a million simulated rounds through the real shoe show no sign of bias or of a link between rounds. The client seed is a real input: changing it reshuffles the shoe.

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

One function turns the seed inputs into a uniform integer, and one loop turns those integers into a shuffled shoe. The key is the server seed’s decoded bytes; the message binds the client seed, the nonce and the Fisher-Yates index (the cursor). The 32-byte digest is read as eight big-endian uint32 chunks, and the first chunk under the rejection ceiling is reduced modulo the swap range. This is our implementation, built from the written specification (docs/ALGORITHM.md) by an implementer who never opened LIQD’s code. As a further cross-check, the validation vectors of the RNG specification LIQD supplied to the auditor — its stated outputs for fixed inputs — are run against our implementation (tests/blackjack/rngTests.ts); LIQD’s code itself is not executed.

3 columns
ChunkBE uint32 valueOutcome
01,953,299,246< maxFair → accepted · j = 1,953,299,246 % 416 = 366
13,221,814,859unused — chunk 0 already accepted
22,516,315,383unused
3912,335,731unused
43,986,348,908unused
51,964,562,048unused
64,066,949,568unused
71,686,498,204unused
src/rng.ts · maxFairFor · drawFromDigest · generateProvablyFairNumber · Verified
// §2 Step 2: LIMIT = floor(2^32 / r) * r. Chunk values below it are accepted; it is the// largest multiple of r that fits in 32 bits, so the accepted window maps evenly onto [0, r).export function maxFairFor(range: number): number {  assertRange(range);  return Math.floor(TWO_POW_32 / range) * range;}// …// §2 Step 2: walk the 8 big-endian u32 chunks of one digest, return the first accepted// one reduced mod range. If every chunk is rejected the spec gives no rule (§6 O1), so// this throws rather than invent one.function drawFromDigest(digest: Buffer, range: number, census?: DrawCensus): number {  const limit = maxFairFor(range);  if (census) census.draws += 1;  for (let c = 0; c < CHUNKS_PER_DIGEST; c++) {    const v = digest.readUInt32BE(c * 4);    if (v < limit) return v % range;    if (c === 0 && census) census.firstChunkRejected += 1;  }  throw new Error(`all ${CHUNKS_PER_DIGEST} chunks rejected for range ${range}; the spec defines no fallback (O1)`);} // One accepted draw in [0, range) for (serverSeed, clientSeed, nonce, cursor): §2 Steps 1-2.export function generateProvablyFairNumber(  serverSeed: string,  clientSeed: string,  nonce: number,  cursor: number,  range: number,): number {  assertRange(range);  return drawFromDigest(digestFor(hmacKey(serverSeed), clientSeed, nonce, cursor), range);}
Cursor = swap index: In LIQD’s construction the HMAC cursor is the Fisher-Yates index itself, counting down 415 → 1. Each shoe consumes 415 HMAC digests, one per swap.

The shoe template the shuffle starts from:

src/rng.ts · buildShoeTemplate · Verified
// §2 Step 3: BASE[x] for x = 0..415 is deck-major; inside a deck the suit is// SUITS[(x mod 52) div 13] and the rank is (x mod 13) + 1 (1 = Ace ... 13 = King).export function buildShoeTemplate(): string[] {  const shoe: string[] = [];  for (let x = 0; x < SHOE_SIZE; x++) {    const suit = SUITS[Math.floor((x % 52) / 13)];    const rank = (x % 13) + 1;    shoe.push(`${suit}:${rank}`);  }  return shoe;}

The table above is the real first digest of the report’s worked example — HMAC-SHA256(265595de…, 'auditfd77f679f966:0:415') = 746cfb2e… — read as eight big-endian uint32 chunks. The first chunk under the ceiling wins; here chunk 0 is accepted immediately, as it was in all but one of the 3,560,285 captured draws.

One digest per swap: Each Fisher-Yates index gets a fresh HMAC message (clientSeed:nonce:i), giving eight acceptance chances. If all eight were rejected the written specification gives no rule: our implementation stops with an error, while LIQD’s code draws again at cursor + 1,000,000 — S2.3 shows how far out of reach that case is.
2.2Entropy Sources

The system's unpredictability rests on two independent parties: the casino's secret 16-byte server seed (committed before play) and the player's free-choice client seed (which the casino cannot know at commitment time when the player sets it afterwards). The nonce adds no entropy — it's a public counter — but it guarantees every bet a unique HMAC message. There is no external randomness beacon in LIQD's design; the security model is the commit-reveal pairing plus the next-seed pre-commitment verified in S1.

Entropy Sources — illustrated flow
4 columns
InputControlled byFixed whenRole in the HMAC
serverSeed (16 bytes)CasinoAt commitment — before any betThe key (hexDecoded bytes)
clientSeedPlayerChangeable between hands via the fairness panelMessage component
nonceProtocolIncrements by 1 per betMessage component — makes each bet's shoe unique
swap index iAlgorithmWalks 415 → 1 inside one shoeMessage component + the modulo range (i + 1)
Design note: Because all entropy is fixed at commitment, the player's protection against a malicious operator is choosing or rotating their client seed after the commitment is published — which the fairness panel allows between hands.

That is the complete entropy budget of the specified derivation: the casino’s secret server seed, the player’s chosen client seed and two public counters. No clock, account identity or bet size is an input to it — S2.4 shows this structurally, and behaviourally on the captured sample (one account; 0.01, 0.10 and 10.00 stakes).

2.3Modulo Bias Analysis

Reducing a uniform 32-bit integer modulo range is only uniform when 2³² divides evenly by range — otherwise low results are slightly favoured. The specification removes this exactly: for each swap index i, chunks are accepted only below maxFair = floor(2³² / (i+1)) × (i+1), so every residue class is equally likely. Step 6 prints maxFair for all 415 ranges and finds each a whole multiple of its range — bias exactly 0 in our implementation; the worst per-draw chance of rejecting a chunk is 9.45 × 10⁻⁸ (range 410). With eight chunks per digest, rejecting all eight is far rarer still — about 1.6 × 10⁻⁵⁸ per digest at range 416.

range = 416  (the first swap, i = 415):
maxFair                = floor(2³² / 416) × 416 = 4,294,967,040
rejected values        = 4,294,967,296 − 4,294,967,040 = 256
P(one chunk rejected)  = 256 / 2³² ≈ 5.96 × 10⁻⁸
P(all 8 chunks reject) ≈ 1.6 × 10⁻⁵⁸  → the specification gives no rule

The other ranges reject at most 406 values (range 410) — and every accepted
chunk is exactly uniform over its range, by construction.
Result: Bias-free by construction in our implementation, and the first-card statistics (S2.5) find no sign of bias.

Across the capture’s 3,560,285 draws, a draw needing a later chunk was expected 0.0813 times and occurred once — epoch 2, nonce 184, at range 298; the chance that all eight chunks of some digest would be rejected anywhere in the capture is 2.9 × 10⁻⁵². That round used 5 cards, and a server doing a plain chunk % range with no rejection deals the same 5, so the served cards do not separate the two. If rejection were omitted, the exposure is at most 2.3 × 10⁻¹⁰ maximum point bias (range 257) and 2.4 × 10⁻⁸ total variation per draw (range 413) — immaterial to any figure quoted here (outputs/rng-branch-coverage.json, npm run branches). Step 6 shows the branch working on a fixed vector as well: nonce 5,591,308, cursor 409, range 410 rejects its first chunk and draws 116, where deleting the branch would give 312.

2.4RNG Isolation

blackjackShoe(serverSeed, clientSeed, nonce) is a pure function: no account identity, no bet size, no wall-clock, no game state. The audit demonstrates this two ways — structurally (our implementation needs only those three inputs to reproduce all 8,579 hands) and behaviourally (Phase E's 200 hands at a 100× larger stake reproduce card-for-card with the same function; Step 22).

RNG Isolation — illustrated flow
Result: RNG isolation confirmed. No state leakage between swaps, hands, or epochs — bet size and account identity are not inputs to the shoe function, and the 10.00 rounds reproduce with it (Step 22).
2.5Monte Carlo Simulation (30M Rounds)

Three statistical passes back the construction-level argument, every random input derived from one pinned 32-byte master seed so each pass replays exactly. Pass 0 is the sanity harness for the headline: 30,000,000 rounds played under basic strategy by our engine over a plain fair shuffle (the rule set is the object under test, not the shoe algorithm), checked against the exact solve in S4. Pass 1 runs 1,000,000 shoes through the real HMAC-SHA256 blackjackShoe under a seed pair derived from the master seed and screens the output like a lab sample: first-card uniformity χ² = 6.73 (df 12, p = 0.8752), lag-1 serial correlation |z| = 0.57, runs test p = 0.6387 — no sign of bias. A calibration harness (npm run calibrate, 300 replicates × 5,000 rounds by default) re-runs the first-card statistic on fresh-seed input; it writes no committed artifact.

Monte Carlo Simulation (30M Rounds) — illustrated flow
2 columns
MetricValue
Total rounds (Pass 0, fair shuffle)30,000,000 — plain fair shuffle, no operator input
Exact basic-strategy RTP (per initial bet)99.512325% (edge 0.487675%) — the 30M simulation reads 99.5230%, 0.51σ from it
RTP per total wagered99.567565% · average wager 1.127741 units
Pass 1 — first-card uniformity (1M real shoes)χ² = 6.73, df 12, p = 0.8752
Pass 1 — lag-1 serial correlationr₁ = 0.000573, |z| = 0.57
Pass 1 — runs test (first-card rank sequence, high/low split at 7)z = −0.47, p = 0.6387
Pass 1 — RTP through the real algorithm (1M rounds)99.4977% ± 0.1150% — −0.13σ from the exact figure
2 columns
RoundsCumulative simulated RTP (per initial bet)
1,000100.6500%
3,00098.1500%
10,00099.1950%
30,00099.3200%
100,00099.4440%
300,00099.5498%
1,000,00099.6640%
3,000,00099.5584%
10,000,00099.5318%
30,000,00099.5230% (±0.0210%, 1σ)
src/round-engine.ts · playHand · dealerPlay — the one round engine every pass plays · Verified
/** Play one non-split hand; canDouble gates the first-move double. Returns [finalTotal, betUnits]. */function playHand(cards: number[], up: number, canDouble: boolean, draw: () => number): [number, number] {  const bet = 1;  for (;;) {    const [t, soft] = totalOf(cards);    if (t > 21) return [t, bet];    const a = soft ? softAction(t, up) : hardAction(t, up);    if (a === 'D' || a === 'Ds') {      if (cards.length === 2 && canDouble) { cards.push(draw()); return [totalOf(cards)[0], 2]; }      if (a === 'Ds') return [t, bet];      cards.push(draw()); continue;                        // D with no double → hit    }    if (a === 'S') return [t, bet];    cards.push(draw());                                    // hit  }} function dealerPlay(cards: number[], draw: () => number): number {  // The draw rule is src/config.ts dealerDrawsOn (S17 from RULES.s17), shared with Step 11.  for (;;) { const [t, soft] = totalOf(cards); if (dealerDrawsOn(t, soft)) cards.push(draw()); else return t; }}
Result: 1,000,000 real-shoe rounds pass first-card uniformity, serial independence and the runs test, and their RTP sits −0.13σ from the exact solve (Step 18); the 30M-round fair-shuffle pass checks the exact RTP at 3σ (S4). The casino’s own seed stream is screened separately in Pass 2 (S4.11).

Three passes, three jobs: Pass 0 measures the game’s value under fair conditions (the 3σ sanity check on the exact solve), Pass 1 screens the real shuffle algorithm, and Pass 2 (S4.11) screens the captured epochs for cherry-picking. The convergence table below shows the simulation settling toward the exact figure as rounds accumulate — the early swings are what a ±3.6% standard error at 1,000 rounds predicts.

2.6Serial Independence

Serial independence means one shoe tells you nothing about the next. Consecutive bets share their seeds but differ by one nonce — and one nonce changes every HMAC message, so consecutive shoes share no HMAC message. Pass 1’s serial screens, computed on the first card of each shoe, agree: lag-1 correlation across 1,000,000 consecutive derivations is r₁ = 0.000573 (|z| = 0.57), and the runs test (p = 0.6387) finds no streak structure. The screens read the first card only, so they cannot see suit bias or bias at later positions.

Lag-1 autocorrelation (z) Measures whether one shoe’s first card predicts the next. The step fails at |z| ≥ 3; this run sits at 0.57.

Runs test Counts high/low streaks in the first-card rank sequence (rank above 7 vs 7 and under) against what independent trials produce. A low p-value would mean streaks are too clumpy or too regular; 0.64 is neither.

Calibration harness npm run calibrate re-runs the first-card uniformity test on 300 fresh-seed replicates × 5,000 rounds by default, so its false-alarm rate can be checked; it writes no committed artifact, so its figures are illustrative. The serial and runs statistics are not calibrated by it.

outputs/simulation-results.json · pass1_fresh_seeds · Artifact
"pass1_fresh_seeds": {  …  "rounds": 1000000,  "serverSeed": "c3b8b8d6b50b6796b56cd6a7f4484f35",  "clientSeed": "df0a6fb592b2813da9d8c1cad1c98dfe",  …  "firstCardChi2": 6.725978000000001,  "firstCardDf": 12,  "firstCardPValue": 0.8751781565082382,  "serialR1": 0.0005731791118897716,  "serialR1Z": 0.5731791118897716,  "serialRunsZ": -0.46947298217649175,  "serialRunsPValue": 0.6387316225088242,  "firstCardUniformFail": false,  "serialFail": false,  …}
Result: 0 serial-independence failures across 1,000,000 consecutive real-shoe derivations (|r₁ z| = 0.57, runs p = 0.6387, Step 18). Consecutive first cards show no sign of dependence.
2.78-Deck Shoe Confirmation

The data itself rules out a single deck: if LIQD dealt from one deck, no round could contain the same card twice — but 1,800 captured rounds do (like the round holding four 2♦). No round shows more than 4 copies of one card, within the 8-copy limit (Step 30) — a check an infinite deck would also pass, so the deck count itself is pinned by the strict-order recomputation of every card from a 416-card shoe (Step 6).

3 columns
EvidenceObservedVerdict
Rounds containing an exact-duplicate card1,800 / 8,579Impossible under a single deck — finite multi-deck confirmed
Maximum copies of one exact card in a round4Comfortably inside the 8-copy physical bound
Duplicate-round count vs the deck models1,800 — a single deck gives 0Consistent with a finite multi-deck shoe (the exact rate is not a scored test; the deck count is pinned by Step 6)
First-card rank fit over the 8,579 live roundsχ² = 11.021, df 12, p = 0.5271Informational — no sign of misfit (Step 30)
Naturals in the live rounds420 player and 412 dealer, against 407.1 expectedInformational — z = 0.66 and 0.25, inside |z| ≤ 3 (Step 30)
tests/steps/standardization.ts · Step 30 · Verified
// ── Step 30: Deck-Model Confirmation (finite 8-deck) ──// The shoe is a finite 8-deck: exact-duplicate cards appear within single rounds// (refuting a single-deck model) and no exact card exceeds the 8-copy bound.let dupRounds = 0, maxCopies = 0;for (const b of bets) {  const seq = [...b.playerHands.flatMap((h) => h.cards), ...(b.dealerHand || [])];  const m = new Map<string, number>();  for (const c of seq) m.set(c, (m.get(c) || 0) + 1);  const mx = Math.max(0, ...m.values());  if (mx > 1) dupRounds++;  if (mx > maxCopies) maxCopies = mx;}const bound = DECKS; // ≤ 8 copies of any exact card exist in the shoeconst deckOk = bets.length > 0 && dupRounds > 0 && maxCopies <= bound;
Result: 8-deck shoe confirmed from the captured hands — duplicates within rounds rule out a single deck (Step 30), and every card recomputes from the 416-card shoe (Step 6).

Step 30 rules out a single deck from the captured hands alone, not from documentation; the 8-deck count is pinned by Step 6, since every captured card is read from the 416-card shoe at its position.

2.8Worked Example — Full RNG Trace

Real hand from dataset — epoch 0, nonce 0 (the first captured hand), verified from blackjack-prod-8579hands.json. client seed auditfd77f679f966, revealed server seed 265595de7339e9ef94e96024f824d574 (commitment 3b09fb3b…8d35a — verified in S1.1). The shuffle starts at the highest index and walks down:

message = 'auditfd77f679f966:0:415'
HMAC-SHA256 digest = 746cfb2ec008fe4b…
first uint32 chunk = 1,953,299,246  <  maxFair(416)  →  j = 1953299246 % 416 = 366
swap(shoe[415], shoe[366])

message = 'auditfd77f679f966:0:414'
digest = b8f8e0421b997d4e…  →  chunk 3,103,318,082  →  j = 372  →  swap(shoe[414], shoe[372])

message = 'auditfd77f679f966:0:413'
digest = 4a7475eb5176b9c3…  →  chunk 1,249,146,347  →  j = 293  →  swap(shoe[413], shoe[293])

… 411 more swaps …

message = 'auditfd77f679f966:0:1'
digest = 066a46e96d251ba1…  →  chunk 107,628,265  →  j = 1  →  swap(shoe[1], shoe[1])
3 columns
Shoe PositionCardRole
shoe[0]8♦Player card 1
shoe[1]5♦Dealer upcard
shoe[2]4♠Player card 2 — the player stands on 12
shoe[3]J♥Dealer hole card
shoe[4]K♣Dealer draw → 5+10+10 = 25, bust
Parity verified: Every card matches the capture record — the S6 verification scripts and the ProvablyFair.org verifier both accept these seeds and reproduce this exact shoe.

Recompute this exact trace:

verify-ep0n0.js · Verified
// inside the repo, after npm ci: node -r ts-node/register verify-ep0n0.js   (src/rng.ts is TypeScript)const { blackjackShoe } = require('./src/rng');const shoe = blackjackShoe(  '265595de7339e9ef94e96024f824d574',   // revealed server seed, epoch 0  'auditfd77f679f966', 0);              // client seed, nonceconsole.log(shoe.slice(0, 5).join(' '));// → DIAMOND:8 DIAMOND:5 SPADE:4 HEART:11 CLUB:13   (8♦ 5♦ 4♠ J♥ K♣ — the deal, then the dealer's draw)

The player stood on 12, and the dealer drew from 15 into a bust at 25 — a 0.10 CAD stake returned 0.20. Every card above matches the capture record, and the deal and the dealer’s draw (shoe[0..4]) are pinned as unit tests inside the audit repo (tests/blackjack/rngTests.ts and vector V1 of rngSpecTests.ts), so the report, the dataset and the code tell one story.

Live GameP=[8D, 4S]=12 · D=[5D, JH, KC]=25 · result=win · won=0.20 CAD
VerifierP=[8D, 4S]=12 · D=[5D, JH, KC]=25 · result=win · won=0.20 CAD
Technical Evidence — RNG & Entropy Model5 sections
2.9Evidence Coverage Summary8 checks
3 columns
Verification AreaCoverageResult
Shoe recomputation (Step 6)8,579 shoes · 3,560,285 Fisher-Yates drawsPass
Simulation Pass 1 — uniformity & independence (Step 18)1,000,000 real-shoe rounds, re-derived from 100 census rowsPass
Deck-model confirmation (Step 30)1,800 duplicate-card rounds · 8-copy boundPass
Client-seed dependence (Step 7)1,046 / 1,073 and 1,058 / 1,073 first-card changes under a wrong and an empty seedPass
Draw-bias bound (Step 6)maxFair a whole multiple of all 415 ranges — bias 0; the branch shown on a fixed vectorPass
First-card χ² calibration (npm run calibrate)Harness included — 300 replicates × 5,000 rounds by default; writes no committed artifactAvailable
Rejection-branch coverage (npm run branches)3,560,285 captured draws: 1 later-chunk accept, 0 cursor fallbacks (expected 0.0813 and 2.9 × 10⁻⁵²) — outputs/rng-branch-coverage.jsonIn line with expectation
Real-shoe RTP consistency (Step 18)1,000,000 rounds · 99.4977%, −0.13σ from the exact figurePass
2.10Code References11 source files
2 columns
FilePurpose
src/rng.tsgenerateProvablyFairNumber (rejection sampling), blackjackShoe (backward Fisher-Yates), dealtHands, commitHash — written from docs/ALGORITHM.md
docs/ALGORITHM.mdThe written specification the RNG is built from — it names the source of every step, five worked rounds and the open points
src/bias.tsThe draw-bias bound Step 6 prints, from maxFairFor
src/replay.ts · src/round-engine.tsThe three simulation passes as pure functions of the master seed, and the one round engine they play
src/simulate.tsRuns the passes — into outputs/run/ with a field-by-field diff, or the committed artifact only under PF_EMIT=1
src/calibration.tsCalibration harness for the first-card statistic — 300 fresh-seed replicates by default
src/rng-branch-audit.tsReplays every captured draw through an instrumented draw primitive and states the closed-form rejection expectations → outputs/rng-branch-coverage.json (npm run branches)
src/stats.tsχ², serial-correlation, and runs-test implementations
tests/blackjack/rngTests.ts · rngSpecTests.tsThe captured epoch-0 shoe and its deal, the commitment hash, LIQD’s validation vectors as a cross-check, depth uniformity; the specification’s five worked rounds and 140 checks
tests/steps/standardization.tsStep 30: deck-model confirmation (duplicates + 8-copy bound) and the live-sample fit
tests/steps/simulation.tsSteps 17–19: scores the simulation artifact — round counts, df and α are pinned in src/config.ts, never read from the artifact; every Pass 1 statistic is re-derived from its census rows
2.11Verified Invariants12 invariants
2 columns
InvariantResult
Every dealt card equals the recomputed shoe position for all 8,579 rounds (48,429 cards)Pass
maxFair is a whole multiple of all 415 ranges — per-draw bias exactly 0 in our implementation; the capture took the rejection path once, as expectedPass
First-card distribution over 1,000,000 real shoes: χ² = 6.73, df 12, p = 0.8752Pass
Lag-1 serial correlation across consecutive derivations: |z| = 0.57Pass
Runs test on the first-card rank (high/low) sequence: p = 0.6387Pass
No round contains more than 4 copies of one card (8-copy physical bound)Pass
Duplicate-card rounds occur (1,800 / 8,579) — impossible under a single deckPass
Rejection census: 1 first-chunk rejection in 3,560,285 captured draws, against 0.0813 expectedPass
The rejection branch works on a fixed vector (nonce 5,591,308, cursor 409, range 410 → 116)Pass
Every Pass 1 statistic re-derived from the artifact’s 100 census rows; rows 0 and 99 re-dealt from the seed pairPass
30M-round fair-shuffle simulation 0.51σ from the exact figure — inside the 3σ sanity-harness gatePass
Simulation artifact and convergence chart SHA-256 match their pins in scored Step 25Pass
2.12Datasets UsedSource artifacts
Primary dataset: data/blackjack-prod-8579hands.json — 8,579 live bets across seven phases; full provenance and SHA-256 pinning in S1.11
Simulation artifact: outputs/simulation-results.json — Pass 0 (30M fair-shuffle rounds), Pass 1 (1M real-shoe rounds, 100 census rows), Pass 2 (47 revealed seeds × 20,000 nonces), and the convergence trace behind this page’s chart
Artifact hash: 2b128b2aa3fefe53c86022181c9b24fa749cd3c9b879c0fc8c06e50b6c5d8593 — pinned as SIMULATION_SHA256 and reconciled in scored Step 25 (the chart outputs/rtp-convergence.html carries its own pin, 8155d12e…)
Regeneration: npm run simulate replays all three passes from the pinned master seed into outputs/run/ and compares them field by field with the committed artifact (outputs/run/simulation-diff.json); npm test scores the committed run without re-running it
Provenance: outputs/simulation-provenance.json (a596d70c…) — the master seed, the derivation rule blackjack-seed-derivation-v1 and every pass’s seed domain
2.13Reproduction InstructionsRun locally

Clone the repository, install dependencies, and replay the simulation and the verification:

reproduce-s2.sh · 6 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjack && git checkout v1.1.0npm cinpm run simulate  # replays all three passes from the pinned master seed into outputs/run/npm run verify    # Steps 6, 7, 18, 26 and 30 cover S2cat outputs/simulation-results.json
S2-related steps:

  [PASS] Step 6 — Recomputation Parity
  [PASS] Step 7 — Client-Seed Dependence
  [PASS] Step 18 — Simulation Pass 1 — first-card uniformity, serial independence, RTP vs the exact solve
  [PASS] Step 26 — Client-Seed Variation
  [PASS] Step 30 — Deck-Model Confirmation
03

Verifier Parity

Does the live game actually follow its own rules?

For every one of the 8,579 hands, we recomputed every card from the revealed seeds and compared it with what the live game dealt, in exact shoe order, splits included. The ProvablyFair.org verifier and LIQD’s own verifier did the same. We also checked that the dealer follows LIQD’s rules on every hand, and that every payout, from the 3:2 blackjack to insurance and both side bets, matches the posted paytables. A single mismatch would break the fairness guarantee. There were none.

Live ↔︎ Verifier Parity

8,579 / 8,579hands matched

What we verified

  • Every hand recomputed from its seeds: all 48,429 dealt cards matched in exact shoe order, not just the payout
  • The dealer follows the rules every time: stands on soft 17, peeks for blackjack and never draws on 17 or more
  • All 338 split rounds play out in the right card order, with one card to split aces and double after split
  • Insurance is offered on every dealer ace and only there, and every accepted insurance paid what 2:1 gives
  • Every payout is exact, including all 2,758 side bets, which are fixed by the first cards dealt
  • Your bet amount plays no part in the shuffle: the 200 hands at 10.00 recompute card for card

What this means for you

  • Our recomputation gets the exact cards the live game dealt, on every hand
  • Every hand you play can be independently recomputed by anyone
  • The dealer plays by the published rules every time, and the stake makes no difference to the cards
  • On every hand, the live game dealt exactly the cards the specification gives
8,579 / 8,579hands matched
  • Every hand recomputed from its seeds: all 48,429 dealt cards matched in exact shoe order, not just the payout
  • The dealer follows the rules every time: stands on soft 17, peeks for blackjack and never draws on 17 or more
  • All 338 split rounds play out in the right card order, with one card to split aces and double after split
  • Insurance is offered on every dealer ace and only there, and every accepted insurance paid what 2:1 gives
  • Every payout is exact, including all 2,758 side bets, which are fixed by the first cards dealt
  • Your bet amount plays no part in the shuffle: the 200 hands at 10.00 recompute card for card
Parity Verification Flow — seeds → full-shoe recompute → strict-order compare → exact match — illustrated flow
8,579Live Bets Tested
100%Parity Rate
0.01 · 0.10 · 10.00Bet Sizes Tested
0Mismatches
CheckResultEvidence
Card recomputationPassAll 8,579 hands and 48,429 dealt cards match exactly, in shoe order
Split draw orderPassAll 338 split rounds deal their cards in the right order; the split hand plays out first
Dealer rulesPassThe dealer never drew a card too many or too few: it stood on soft 17 in 139 hands, and 412 dealer blackjacks ended the hand before any extra bet
Player mechanicsPassSplits by card value, one card to split aces and double after split, with no surrender: every action matches the cards drawn
Insurance offersPassOffered on all 653 dealer aces and nowhere else; the 488 declines cost nothing
Side bets fixed at the dealPassAll 2,758 side bets are decided by the first cards dealt, and every result follows from the deal
Payout correctnessPassAll 8,917 hands, splits counted separately, settled exactly, along with every double, insurance bet and side bet
Bet-size independencePassThe bet amount is not part of the shuffle: all 200 hands at 10.00 recompute card for card
ProvablyFair.org verifier parityPassRun on all 8,579 rounds, the ProvablyFair.org verifier agrees on every hand, and its full shoe equals ours on 48 shoes
LIQD verifier parityPassAsked about every round, LIQD’s own verifier returns our shoe card for card on all 8,579
Card recomputationPass
All 8,579 hands and 48,429 dealt cards match exactly, in shoe order
Split draw orderPass
All 338 split rounds deal their cards in the right order; the split hand plays out first
Dealer rulesPass
The dealer never drew a card too many or too few: it stood on soft 17 in 139 hands, and 412 dealer blackjacks ended the hand before any extra bet
Player mechanicsPass
Splits by card value, one card to split aces and double after split, with no surrender: every action matches the cards drawn
Insurance offersPass
Offered on all 653 dealer aces and nowhere else; the 488 declines cost nothing
Side bets fixed at the dealPass
All 2,758 side bets are decided by the first cards dealt, and every result follows from the deal
Payout correctnessPass
All 8,917 hands, splits counted separately, settled exactly, along with every double, insurance bet and side bet
Bet-size independencePass
The bet amount is not part of the shuffle: all 200 hands at 10.00 recompute card for card
ProvablyFair.org verifier parityPass
Run on all 8,579 rounds, the ProvablyFair.org verifier agrees on every hand, and its full shoe equals ours on 48 shoes
LIQD verifier parityPass
Asked about every round, LIQD’s own verifier returns our shoe card for card on all 8,579
✓  Live game and verifier fully aligned

All 8,579 hands match our own implementation card for card, and both the ProvablyFair.org verifier and LIQD’s own verifier agree on every round. The dealer stands on soft 17 and peeks for blackjack, insurance pays exactly 2:1, both side bets pay their posted paytables, and every split follows the right card order. Every payout is exact at all three stakes.

How It Works — Verifier Parity11 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 casino fixed its randomness before play; parity shows the game actually used it. A platform could publish honest seeds and still deal from somewhere else entirely; only recomputing every card from the seeds and matching it against what was really dealt closes that gap. This section is the audit’s core: our own implementation, written from the specification without LIQD’s code, run against all 8,579 captured hands — with the ProvablyFair.org verifier and LIQD’s own verifier as second checks.

Why Parity Matters — illustrated flow
Strict order, not multiset: The audit checks which position every card came from, not just that the right cards appeared somewhere. A reordering (same cards, different assignment) would fail this check.
3.2Seven-Phase Collection Design

Data was collected on liqd.com across seven structured phases, each designed to exercise a specific mechanic at verifiable volume. The phases are complementary — together they cover baseline volume, both side bets, insurance taken and declined, split settlement, player-set client seeds and stake independence. Every bet was paid from one USDT wallet; Phase A was booked in CAD, the account’s currency setting on 8 November, and every later phase in USD. Between them: 338 splits, 1,684 doubled rounds, 653 insurance offers, 420 naturals and 2,758 side bets.

5 columns
PhaseBetsBet AmountClient SeedPurpose
A — Basic strategy5,0000.10 CAD main25 distinct (rotated every 200 hands)Baseline RNG sampling under basic strategy (S17), insurance declined, across 25 seed pairs
SB — Side-bet run1,3790.01 USD main + 0.01 PP + 0.01 21+37 distinctBoth side bets on every round, basic strategy, insurance declined — run until every paying category of both paytables was served
D — Player-set client seeds5000.10 USD main5 player-set (pfaudit-prod-blackjack-d1…d5-…), 100 hands eachVerify the server honours seeds typed in by the player; insurance accepted
B — Insurance accepted5000.10 USD main3 distinctBasic strategy with every insurance offer accepted — insurance settlement and even money
C — Split-forcing5000.10 USD main3 distinctSplit-force play — every pair split, every double taken, double after split and split aces; insurance accepted
F — Split-forcing (second block)5000.10 USD main3 distinctSecond split-force block — more split and double-after-split coverage
E — Stake invariance20010.00 USD (no side bets)1Confirm bet amount is not an RNG input — 100× the standard 0.10 stake; insurance declined
Coverage check: Every phase’s recorded count and stake matches the capture plan declared in src/config.ts — no phase drifted (Steps 24, 31).
3.3Strict-Order Card Recomputation (Step 6)

For each bet, the engine rebuilds the full 416-card shoe from (serverSeed, clientSeed, nonce) and walks the recorded hand against it position by position: shoe[0] player, shoe[1] dealer up, shoe[2] player, shoe[3] dealer hole, then every hit, double card, split card, and dealer draw in sequence from shoe[4] onward. A hand passes only if every recorded card equals its recomputed position. Step 6 also binds the action log to the cards: hit + double tokens must equal the cards drawn, and the token stream must obey a seven-rule grammar — no token after a hand’s last terminal; no double after a hit; the insurance answer and split only at the head; the answer equal to the round’s insurance record; a hand ends without standing only on a bust, 21, a split ace or a dealer natural; no stand on a busted hand, nor on a single hand that reached 21; and the capture script’s doubled flag must agree with the double tokens — 8,579 / 8,579 rounds consistent. The tokens are the requests the capture sent; the check binds them to the cards, not to a strategy.

Strict-Order Card Recomputation (Step 6) — illustrated flow
Result: 8,579 / 8,579 hands — 48,429 dealt cards — match exactly, in strict shoe order. Zero mismatches.
3.4Pinned Split Order (Steps 6, 27)

Split rounds consume two extra deal positions and interleave two hands, so their draw order must be pinned, not guessed. The order LIQD deals, pinned from the data: shoe[4] completes the main hand, shoe[5] completes the split hand — then the split hand plays out fully first, then the main hand, then the dealer. Step 6 rebuilds each split round’s dealt order from the recorded hands (splitDealtSequence), and all 338 split rounds match the recomputed shoe card-for-card in this order. The verification treats a reordering — same cards, opposite hand assignment — as a hard failure. The order matters: playing the main hand out first instead reproduces every unsplit round but fails 233 of the 338 split rounds.

Pinned Split Order (Steps 6, 27) — illustrated flow
Result: 338 / 338 splits in pinned strict order — including 79 mixed ten-value splits (Q+10, K+J, …) and 45 one-card ace splits. No round ever produced a third hand.
3.5Dealer-Side Rules (Steps 11, 13)

Three dealer behaviours were verified on every hand. S17: the dealer stands on every 17, including the 139 played-out hands that finished on soft 17 (6 more ended there when a player natural settled the round first, 145 in all), never draws on 17 or more, and never stands below 17 while a player hand is live. Peek / OBO: on Ace and ten-value upcards the dealer checks the hole card before play continues; all 412 dealer naturals (191 Ace-up, 221 ten-up) settled before any play action (hit, stand, double or split), so no double or split stake was ever lost to one — and none of the 12,213 replies LIQD sent while a round was still open showed more than the dealer’s upcard. No improvisation: replaying every dealer hand against S17 finds 0 over-draws and 0 under-draws — the check that closes the gap Step 6 leaves, since Step 6 compares dealt cards with a prefix of the shoe and cannot know how many cards a round should consume.

Result: 0 over-draws, 0 under-draws, 0 peek violations across 8,579 hands; 281 early player-natural settlements exempt and counted (Steps 11, 13).
3.6Player-Side Mechanics (Steps 12, 14, 27)

The action vocabulary is closed: hit, stand, double, split, plus accept-ins and decline-ins, the capture’s log of LIQD’s own insurance accept and decline. No surrender action appears in 8,579 hands — the capture script has no surrender call, and the RTP is solved without surrender (Step 14). Splits are value-based (any two ten-value cards may split, not just same-rank pairs), split aces receive exactly one card each, no round reached a third hand (re-split was never attempted), and doubling is available on any first two cards — on non-split hands every two-card total from 5 to 20 was doubled at least once — including after a split (179 DAS rounds). Every mechanic was checked on every hand where it could apply.

Player-Side Mechanics (Steps 12, 14, 27) — illustrated flow
Result: All player-side rules conform — 1,684 doubled rounds (1,827 doubled hands), 338 splits, 45 ace splits, 0 surrender tokens.
3.7Insurance Mechanics (Steps 10, 28)

Insurance is offered whenever the dealer’s upcard is an Ace — on all 653 Ace-up rounds in the capture, including the 34 where the player held a natural, and on no other. It stakes half the main bet and pays 2:1 on a dealer natural; it is a separate wager and uses no shoe card. The capture answered every offer with LIQD’s own request — decline ({acceptInsurance: false}) in phases A, SB and E, accept ({acceptInsurance: true}) in phases D, B, C and F. The 488 declines booked nothing. Of the 165 acceptances, 108 lost the half stake to a dealer without blackjack; 45 won on a dealer natural and returned three halves of the stake — 2 with the insurance bet written on the round record, 43 settled through the wallet without one, each raising the wallet by exactly one main stake between reads taken before the insurance request and after the round; and the 12 taken on a player natural settled as even money, the hand paid at 2× (S4.14). The headline RTP assumes insurance is declined, as basic strategy does; taken on every offer except on a natural, the edge is 0.7612% per initial bet (Step 28).

Result: 653 / 653 offers on Ace upcards, every Ace upcard offered (Step 28) · declines book nothing, and every accepted insurance reconciles to the 1e-8 unit against the wallet reads (Step 10) · no shoe position consumed by insurance — the strict-order recomputation leaves no gap for one (Step 6).
3.8Side-Bet Provenance & Deal-Time Invariance (Steps 15, 16, 29)

Perfect Pairs reads your two cards (shoe[0], shoe[2]); 21+3 adds the dealer's upcard (shoe[1]). Both are therefore fixed the instant the shoe is committed — before you act, before the dealer draws. The audit re-derived every category from those positions and confirmed that no later card, action or dealer draw moved a side-bet result: 2,758 / 2,758 classifications and payouts match, including the capture's single 100:1 suited-trips hit. One round that ended on the insurance step carried its two side-bet records in its place-bet reply rather than the settling reply; both had lost, and both are counted (S4.14).

Side-Bet Provenance & Deal-Time Invariance (Steps 15, 16, 29) — illustrated flow
Result: Categories, multipliers, and deal-time invariance all exact — 1,379 Perfect Pairs + 1,379 21+3 wagers on the side-bet run, every paying category served.
3.9Phases D & E — Seed & Stake Sensitivity (Steps 22, 26)

Two phases exist purely to falsify hidden couplings. Phase D (500 hands, 5 player-set client seeds): each seed was typed into LIQD’s seed field as a player would, the site took it, and all 500 hands recompute under it — across the capture, 8,409 / 8,579 hands deal a different first card than a baseline seed would, the ≈98% a 1-in-52 chance-match rate predicts, showing the player’s seed genuinely drives the shuffle (Step 26). Each player-set seed ends in 12 random hex characters and was set after the commitment it is dealt against was published. Phase E (200 hands at 10.00, a 100× stake jump, no side bets): every round reproduces card-for-card with the same shoe function as the 0.10 rounds — a function that takes no stake argument (Step 22).

Result: Phase D: all 500 hands recompute under the player-set seeds the site took (Step 26). Phase E: 200 / 200 rounds at 10.00 reproduce card-for-card with the same shoe function (Step 22). The client seed is a genuine input; bet amount is not an input to the shoe.
3.10Per-Hand Payout Replay (Step 8)

Beyond the cards, the engine re-derives each hand’s outcome and each round’s credit from the cards and the rules. One capture detail matters for readers of the raw data: the platform’s per-hand result field is binary — it labels any hand that returned money as won, every push at exactly 1× included. The audit therefore derives outcomes from the cards and the rules, reconciles the money, and then checks the label against the derivation: it agrees on 8,917 / 8,917 hands. Full RTP-side treatment lives in S4.

Result: 8,917 / 8,917 per-hand credits reconstruct from the cards; 8,579 / 8,579 round totals equal their parts (Step 8).
3.11Worked Example — Full Parity Verification

Real bet from the side-bet run — epoch 27, nonce 140, a round that exercises the split, side-bet, and dealer paths together. Verified from blackjack-prod-8579hands.json. Client seed audit4e1fe9dabd84, revealed server seed fb0129df2705c2ce756aab7fdc89af52, commitment e84a8db1…68dc0 verified. The recomputed shoe opens:

shoe[0] = 9♠    (Player card 1)
shoe[1] = 9♠    (Dealer upcard — a second 9♠: the 8-deck shoe at work)
shoe[2] = 9♠    (Player card 2 — a THIRD 9♠)
shoe[3] = A♠    (Dealer hole)
shoe[4] = 4♣    (Main hand's second card after the split)
shoe[5] = J♣    (Split hand's second card)
shoe[6] = 6♠    (Main hand's hit — the split hand stood on 19 first)
3 columns
CheckRecordedRecomputed
Split of 9♠ + 9♠split → two handsidentical
Pinned order: main₂ = shoe[4], split₂ = shoe[5]9♠+4♣ (13) · 9♠+J♣ (19)identical, position-exact
Split hand first, then the main handsplit stands on 19 · main hits 6♠ → 19, standsidentical
Perfect Pairs on 9♠ 9♠PERFECT_PAIR · pays 0.26perfect pair · 26× × 0.01 = 0.26
21+3 on 9♠ 9♠ + 9♠SUITED_THREE_OF_A_KIND · pays 1.01suited trips · 101× × 0.01 = 1.01
Dealer on soft 20 (9♠ A♠)stands — both 19s losestands
Round credit1.270 (hands) + 0.26 + 1.01 = 1.27
Parity verified: Epoch 27 / nonce 140 — shoe, split order, hand outcomes, side bets, and settled credit all match exactly between live game and independent verifier. Enter these seeds and nonce 140 into the independent verifier (S6) to reproduce the shoe above.

Three copies of the 9♠ in one round is itself deck-model evidence (S2.7), and the 21+3 hit is the only 100:1 payout in the entire capture — verified at exactly 101× gross. One bet, checked by Steps 1, 6, 8, 11, 15, 16, 27 and 29 — all exact, and LIQD’s own verifier returned the same shoe for it.

Technical Evidence — Verifier Parity5 sections
3.12Evidence Coverage Summary10 checks
3 columns
Verification AreaCoverageResult
Strict-order recomputation (Step 6)8,579 hands · 48,429 dealt cardsPass
Split order & rules (Steps 6, 27)338 splits · 79 mixed ten-value · 45 ace splitsPass
Dealer rules (Steps 11, 13)Every dealer hand replayed against S17 — 139 soft-17 stands; 412 dealer naturals; 12,213 open-round replies show only the upcardPass
Action vocabulary / no surrender (Step 14)All 8,579 rounds’ action streamsPass
Insurance offer & settlement (Steps 10, 28)653 offers · 488 declined · 165 accepted, reconciled against the wallet readsPass
Side-bet provenance (Steps 15, 16, 29)2,758 side bets · deal-time invariancePass
Phase coverage & labels (Steps 24, 31)7 phases · counts, stakes and currencies match the planPass
Seed sensitivity / 10.00 reconstruction (Steps 26, 22)Phase D 500 / 500 hands under player-set seeds · Phase E 200 / 200 rounds at 10.00 recomputePass
ProvablyFair.org verifier (Step 6)8,579 rounds · 8,917 hands · 48 full shoesPass
LIQD production verifier (Step 6)8,579 / 8,579 replies match our 34-card shoe prefixPass
3.13Code References8 source files
2 columns
FilePurpose
tests/steps/parity.tsStep 6: strict-order shoe recomputation incl. the pinned split order, the action grammar, the draw-bias bound, the site-verifier arm and LIQD’s verifier replies; Step 7: client-seed dependence
tests/steps/rules.tsSteps 11–14: dealer and player rules — S17, peek (with the sweep of LIQD’s open-round replies), DAS, surrender absence
tests/steps/sidebets.tsSteps 15–16: side-bet classification against the published paytables
tests/steps/standardization.tsSteps 22–31: bet-size invariance, side-bet config, phase coverage, artifact hash integrity (25), client-seed variation, split & insurance rules, deal-time invariance, deck model (30), stake brackets
tests/steps/hands.tsSplit-aware initialTwo() shared by Steps 15, 16, 23, 29 and 30 (the initial pair on a split round is card 1 of each hand, not playerHands[0].cards)
src/types.tsCard / hand / bet record types — states each field the capture script wrote and why the steps may read it
verifier-parity/ · src/site-verifier.tsThe ProvablyFair.org site verifier, vendored byte for byte, pinned by SHA-256 and run by Step 6
src/captures.tsReads the capture files shipped in data/, each checked against its SHA-256 pin, for Steps 6 and 13: LIQD’s verifier replies and the replies it sent while a round was open
3.14Datasets UsedSource artifacts
Primary: data/blackjack-prod-8579hands.json (provenance in S1.11). Parity-relevant fields:
2 columns
PropertyValue
Card recordplayerHands[].cards and dealerHand — every dealt card per hand, in table order. The capture’s own recomputation fields (localSequence, verified, commitVerified, chainLinkOk) are deleted by src/loader.ts before any step runs; antiCircularityTests.ts asserts they are gone.
Split pinsplitDealtSequence() in tests/steps/parity.ts — the pinned draw-order reconstruction split rounds are checked against (a verifier function, not a dataset field)
Actionsactions[] — the requests the capture sent, in order: hit / stand / double / split plus accept-ins / decline-ins, its log of LIQD’s own insurance accept and decline
MoneybetAmount and winningAmount per hand (booked), winningAmountWallet (USDT), the doubleBets records, side-bet and insurance records, and each round’s fiatCurrency and exchangeRate
LIQD verifierliqdVerifier — a digest of LIQD’s verify reply for the round (the 34-card shoe it returned, by SHA-256); Step 6 reads the reply itself from the capture files, where each sits with the byte length and SHA-256 recorded when it arrived

The per-hand result field is binary (won = any money returned, pushes included; lost = zero), and dealerPoints reads 0 in 599 of the 815 rounds that ended at the deal on a natural — epoch 0 nonce 92 reports 0 while the dealer holds 20. The audit derives both from the cards and the rules rather than trusting either field.

3.15Verified Invariants11 invariants
2 columns
InvariantResult
Every dealt card equals its recomputed shoe position (strict order) for all 8,579 roundsPass
Split rounds follow main₂ = shoe[4], split₂ = shoe[5], split-plays-first — 338 / 338Pass
The dealer never draws on 17 or more and never stands below 17 with a live hand; 139 soft-17 standsPass
Dealer naturals end the round before any extra wager (peek / OBO) — 412 / 412Pass
No surrender token exists in any action streamPass
Insurance is offered on every dealer Ace and nowhere else — 653 offers; declines book nothing, and accepted insurance returns three halves of the stake on a dealer naturalPass
Side-bet categories re-derive from shoe[0], shoe[2], shoe[1] on all 2,758 betsPass
Phase E’s 200 rounds at 10.00 recompute card-for-card with the same shoe function as the 0.10 roundsPass
Hit + double tokens equal the cards drawn, and the action grammar holds, on 8,579 / 8,579 roundsPass
The ProvablyFair.org verifier reproduces 8,579 / 8,579 rounds and 48 / 48 full shoesPass
LIQD’s production verifier returns the same shoe prefix on 8,579 / 8,579 roundsPass
3.16Reproduction InstructionsRun locally

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

reproduce-s3.sh · 4 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjack && git checkout v1.1.0npm cinpm run verify   # Steps 6, 8–16, 22–24 and 26–31 cover S3
S3-related steps:

  [PASS] Step 6 — Recomputation Parity
  [PASS] Step 8 — Per-Hand Payout (reconstructed from cards)
  [PASS] Step 9 — Blackjack Pays 3:2
  [PASS] Step 10 — Insurance: Answer Honoured, Accepted Insurance Pays 2:1
  [PASS] Step 11 — Dealer Stands on Soft 17 (S17)
  [PASS] Step 12 — Double-After-Split Allowed (DAS)
  [PASS] Step 13 — Dealer Peeks for Blackjack
  [PASS] Step 14 — No Surrender Action Observed
  [PASS] Step 15 — Perfect Pairs Side Bet
  [PASS] Step 16 — 21+3 Side Bet
  [PASS] Step 22 — Bet-Size Invariance (Phase E)
  [PASS] Step 23 — Side-Bet Config Completeness
  [PASS] Step 24 — Phase Coverage & Labels
  [PASS] Step 26 — Client-Seed Variation
  [PASS] Step 27 — Split Rules Verification
  [PASS] Step 28 — Insurance Offer Condition
  [PASS] Step 29 — Side-Bet Deal-Time Invariance
  [PASS] Step 30 — Deck-Model Confirmation
  [PASS] Step 31 — Stake Bracket Bounds
04

RTP & Payout Logic

Is the house edge what the casino claims?

LIQD publishes a 99.52% RTP for Blackjack. We checked it without taking any casino figure on trust; that is what anti-circularity means. We solved the game exactly from its rules, the 8-deck shoe and basic strategy, with insurance declined: it returns 99.512325% of your initial bet, a house edge of about half a percent. An independent exact calculation and the published Wizard of Odds figure for the same rules agree, and so do 30 million simulated rounds. We also checked every payout and tested whether LIQD picked its seeds against players. We found nothing out of line.

Return to Player Verification

99.512325%theoretical RTP (per initial bet)

What we verified

  • With basic strategy and insurance declined, Blackjack returns exactly 99.512325% of your initial bet, solved from the rules
  • LIQD’s published 99.52% holds: the exact figure is less than a hundredth of a percentage point below it
  • An independent exact calculation and the Wizard of Odds figure for the same rules agree, and 30 million simulated rounds average 99.5230%
  • No currency-conversion cut observed: every recorded win reaches your wallet in full in USD, and within the precision of LIQD’s served rate in CAD
  • Side bets are worked out exactly from the shoe and LIQD’s paytables: Perfect Pairs has a 2.1687% edge, 21+3 a 3.7039% edge
  • No sign that LIQD chose seeds against players: the hands under all 47 revealed seeds returned in line with their odds

What this means for you

  • With basic strategy, the house edge is about half a percent of your initial bet
  • The RTP comes from the rules, not from the casino’s own claim
  • Side bets carry a higher edge than the main game: that’s standard, and the exact figures are here
  • Insurance costs you: taking it on every offer except on a blackjack raises the edge to 0.7612%
  • Your bet amount makes no difference to the cards you’re dealt
  • Setting your own client seed after LIQD commits is what protects you from seed selection
99.512325%theoretical RTP (per initial bet)
  • With basic strategy and insurance declined, Blackjack returns exactly 99.512325% of your initial bet, solved from the rules
  • LIQD’s published 99.52% holds: the exact figure is less than a hundredth of a percentage point below it
  • An independent exact calculation and the Wizard of Odds figure for the same rules agree, and 30 million simulated rounds average 99.5230%
  • No currency-conversion cut observed: every recorded win reaches your wallet in full in USD, and within the precision of LIQD’s served rate in CAD
  • Side bets are worked out exactly from the shoe and LIQD’s paytables: Perfect Pairs has a 2.1687% edge, 21+3 a 3.7039% edge
  • No sign that LIQD chose seeds against players: the hands under all 47 revealed seeds returned in line with their odds
INDEPENDENT DERIVATION
1 + Σ (chance of each starting deal × its net result per initial bet under basic strategy)= 99.512325%
Solved exactly for the 416-card, 8-deck shoe · Dealer stands on soft 17 and peeks · Double after split; no surrender, no re-split · Insurance declined · Per initial bet

An independent exact calculation and the Wizard of Odds figure for these rules (a 0.48768% edge) agree. Per total amount wagered, it is 99.567565%.

99.512325%Theoretical RTP — per initial bet (exact 8-deck solve)
99.5230%Simulated — 30M rounds (0.51σ)
0.48768%Wizard of Odds edge, same rules — within one unit of its last digit
99.52%LIQD’s published RTP holds (±0.1 pp)
CheckResultEvidence
Anti-circularityPassWe solved the RTP from the rules alone, using no casino figure, and an independent exact calculation and the Wizard of Odds figure agree
Exact RTPPass99.512325% per initial bet, a 0.487675% house edge, matching the Wizard of Odds figure; 30 million simulated rounds average 99.5230%
RTP claimPassLIQD’s Blackjack page states 99.52% RTP, and the exact figure is less than a hundredth of a percentage point below it
Per total wageredPassCounted per total amount wagered, doubles and splits included, the RTP is 99.567565%
House-edge reconciliationPassThe page’s 0.48% edge is the exact edge rounded down to two decimals, and the stats panel’s 0.49% is the same edge rounded to the nearest hundredth
No conversion cut observedPass5,000 rounds were played in CAD and 3,579 in USD: every recorded win reached the wallet in full in USD, and within the served rate’s precision in CAD
Real-shoe consistencyPassA million rounds through the real shoe return 99.4977%, within normal variation of the exact figure
Side-bet edgesPassPerfect Pairs has a 2.1687% edge, with a coloured pair paying a generous 13:1, and 21+3 a 3.7039% edge, worked out exactly
Cherry-pick testPassReplaying the hands under all 47 revealed seeds shows no shortfall beyond normal variation: no sign of seeds chosen against players
Every recorded credit correct in USDTPassEvery recorded credit is exact and every balance check reconciles, including rounds LIQD’s record shows its own way: even-money blackjacks at 2×, insurance wins and sub-cent wins
Anti-circularityPass
We solved the RTP from the rules alone, using no casino figure, and an independent exact calculation and the Wizard of Odds figure agree
Exact RTPPass
99.512325% per initial bet, a 0.487675% house edge, matching the Wizard of Odds figure; 30 million simulated rounds average 99.5230%
RTP claimPass
LIQD’s Blackjack page states 99.52% RTP, and the exact figure is less than a hundredth of a percentage point below it
Per total wageredPass
Counted per total amount wagered, doubles and splits included, the RTP is 99.567565%
House-edge reconciliationPass
The page’s 0.48% edge is the exact edge rounded down to two decimals, and the stats panel’s 0.49% is the same edge rounded to the nearest hundredth
No conversion cut observedPass
5,000 rounds were played in CAD and 3,579 in USD: every recorded win reached the wallet in full in USD, and within the served rate’s precision in CAD
Real-shoe consistencyPass
A million rounds through the real shoe return 99.4977%, within normal variation of the exact figure
Side-bet edgesPass
Perfect Pairs has a 2.1687% edge, with a coloured pair paying a generous 13:1, and 21+3 a 3.7039% edge, worked out exactly
Cherry-pick testPass
Replaying the hands under all 47 revealed seeds shows no shortfall beyond normal variation: no sign of seeds chosen against players
Every recorded credit correct in USDTPass
Every recorded credit is exact and every balance check reconciles, including rounds LIQD’s record shows its own way: even-money blackjacks at 2×, insurance wins and sub-cent wins
✓  RTP Behaves as Advertised

LIQD Blackjack returns 99.512325% of your initial bet with basic strategy and insurance declined, a 0.487675% house edge, solved exactly from the rules rather than sampled. An independent exact calculation, the Wizard of Odds figure for these rules and 30 million simulated rounds all agree, and LIQD’s published 99.52% holds. Counted per total amount wagered, the RTP is 99.567565%. Side bets carry their own exact edges, 2.17% for Perfect Pairs and 3.70% for 21+3, and every payout settled exactly.

How It Works — RTP & Payout Logic16 sections
4.1RTP & House Edge — Published vs Derived (Step 20)

LIQD publishes the edge directly. Its Blackjack game page, read on 1 October 2026, shows Edge: 0.48% in the header — RTP 99.52%, which the page’s structured data also gives — and RTP (optimal play) 99.51% and House Edge 0.49% in its stats panel. The audit’s exact solve gives 0.487675% per initial bet and 0.432435% per total amount wagered (average wager 1.127741). Against the 0.48% header the per-initial-bet edge sits 0.0077 pp higher: it rounds to 0.49% and truncates to 0.48%, so the header equals the exact edge truncated to two decimals (how LIQD arrives at it is not visible from the client) — within one display unit, which Step 20 records as a note, not a flag.

3 columns
SourceFigureWhat it is
LIQD game page — header0.48% (RTP 99.52%)the figure shown to players, and the claim held under the RTP claim rule (S4.2)
LIQD game page — stats panelRTP 99.51% · House Edge 0.49%the same edge, rounded
This audit — per initial bet0.487675% (exact)exact 8-deck basic-strategy edge, the standard convention
This audit — per total amount wagered0.432435% (exact)element of risk, average wager 1.127741
Result: One edge, several statements of it. The exact per-initial-bet edge 0.487675% truncates to the 0.48% on the game page and rounds to its 0.49%. Every figure is labelled with its convention (Step 20).
4.2RTP Claim Rule (Step 20)

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 — here from the 8-deck solve, 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 favours the player and never fails. Blackjack has one setting — the main game under its single rule set, played by the basic-strategy table; the side bets are separate wagers. The rule is scored on Step 20, the house-edge step.

2 columns
ItemDetail
Claim99.52% RTP — a flat 0.48% house edge
Where LIQD publishes itThe Blackjack game page, liqd.com/originals/blackjack: the header “Edge: 0.48%” and the page’s structured-data RTP of 99.52% — read logged out on 1 October 2026 (evidence/rtp-page-labels-2026-10-01.json). The same page shows “RTP (optimal play) 99.51%”; holding the higher 99.52% covers both
Settings tested1 — the main game, 8 decks, total-dependent basic strategy, per initial bet
MethodExact: the finite 8-deck solve in outputs/exact-rtp.json, taken as the exact value of its double (1120409176472375 / 1125899906842624)
Band±0.1 percentage points (house side fails, player side never fails)
True RTP99.512325%
Gap to the claim−0.007675 pp
Settings beyond the band0 on the house side · 0 on the player side
Scored onStep 20 (profile check BLACKJACK-19), rule enforced
ResultPass — the claim holds for every setting it states a figure for; no fix needed
6 columns
SettingExact RTPRTPGap to 99.52%Side of the bandResult
Main game — 8 decks, basic strategy, per initial bet1120409176472375 / 112589990684262499.512325%−0.007675 ppwithin ±0.1 ppPass
src/rtp-settings.ts · RTP_CLAIM · computeRtpClaim · Verified
export const RTP_CLAIM: RtpClaim = {  kind: 'flat',  rtp: HELD_RTP,  // …};// …/** The scored step that carries BLACKJACK-19 (src/profile-map.ts). */export const RTP_CLAIM_STEP = 20;// …export function computeRtpClaim(): RtpClaimResult {  const buf = fs.readFileSync(path.join(__dirname, '..', 'outputs', 'exact-rtp.json'));  if (createHash('sha256').update(buf).digest('hex') !== EXACT_RTP_SHA256) throw new Error('outputs/exact-rtp.json does not match its pin');  const x = JSON.parse(buf.toString('utf8')).finite8TD;  const r = rationalFromDouble(x.rtpPerInitialBet);  const acc = new RtpClaimAccumulator(RTP_CLAIM);  acc.add('main game, 8-deck basic strategy (TD), per initial bet', r.n, r.d);  return acc.result();}
Result: Pass — LIQD’s published 99.52% holds: the exact RTP is 0.007675 pp below it, inside the band, and no setting falls outside the band on either side (Step 20). The table ships as outputs/rtp-claim-table.json, pinned by SHA-256 (b3baa192…) and re-derived on every run.
4.3RTP Conventions — Per Initial Bet vs Per Total Wagered

"RTP" hides a choice of base: the expected loss can be measured against the initial bet, or against all money wagered including doubles and split stakes. Both are legitimate; they answer different questions. Per initial bet: 99.512325%, 100% minus an expected loss of 0.487675% of the initial bet. Per total wagered: 99.567565% (edge 0.432435%), the element-of-risk view. The gap exists because basic strategy adds money mid-hand (average 1.127741 units wagered per round), and that added money is placed in advantageous spots. Both figures come from the same exact solve; this report states both and labels every figure with its convention.

src/exact-play.ts · the two conventions from one solve · Verified
// In infinite mode the enumeration is already normalised; in finite mode the// three-card probabilities sum to 1 by construction. Guard anyway.const norm = pSum > 0 ? pSum : 1;const evPerInitial = evSum / norm;const avgWager = wagerSum / norm; return {  model: this.model,  strategy: this.strategy,  rules: this.rules,  evPerInitialBet: evPerInitial,  rtpPerInitialBet: 1 + evPerInitial,  edgePerInitialBet: -evPerInitial,  avgWager,  evPerTotalWagered: evPerInitial / avgWager,  rtpPerTotalWagered: 1 + evPerInitial / avgWager,  edgePerTotalWagered: -evPerInitial / avgWager,
Why both are stated: Per-initial and per-total figures answer different questions and are not directly comparable. Stating both, each labelled with its convention, removes the ambiguity.
4.4Exact 8-Deck RTP Solver (Step 17)

The edge is solved, not sampled. src/exact-play.ts enumerates every initial deal from the 8-deck, 416-card composition without replacement — the deck model the captured hands confirm (Steps 6 and 30) — and computes the exact expected value of playing it out under the total-dependent basic-strategy table (src/strategy.ts), including the hole-card conditioning after a negative peek. Result: 99.512325% / 0.487675% per initial bet, deterministic, emitted to outputs/exact-rtp.json (npm run rtp regenerates it byte-identically). The headline is solved for no surrender, no re-split and insurance declined.

Two anchors sit outside the solver. An exact-rational tiny-shoe oracle (anchor/oracle.py, Python fractions) is a second, physical enumerator — the hole is a concrete dealt card, splits play sequentially against a genuinely depleted shoe, no conditional probability anywhere — whose exact fractions the solver must reproduce at 1e-12 on three constructed shoes (peek-heavy, split-heavy, and a peek-free control). It shares the strategy table, the rules reading and the implementer with the solver, so it anchors arithmetic, not the table’s optimality. The organisationally independent anchor is the Wizard of Odds figure for this rule set (the cross-validation below). A declared mutation shifts the natural payout from 3:2 to 29:20, and the Wizard of Odds gate must then fail (tests/mutations.json).

src/exact-play.ts · solve — hole-explicit peek branch · Verified
} else if ((up === A_IDX || up === T_IDX) && this.rules.peek && this.strategy === 'TD') {  // ── Hole-explicit peek branch ────────────────────────────────────  // Conditioning happens ONCE, here, and never again below.  // …  // Here the hole is a CONCRETE card, drawn and removed from the shoe  // before the player acts. Inside each branch the dealer's hand is known  // and every player draw is the plain physical law on the depleted shoe.  // …  const natRank = up === A_IDX ? T_IDX : A_IDX;  const N = sum(c);  const pNat = pDraw(c, N, natRank, this.model);  const denomP = 1 - pNat;   let evPlay = 0, wagerPlay = 0;  for (let h = 0; h < 10; h++) {    if (h === natRank || c[h] === 0) continue;    const w = denomP > 0 ? pDraw(c, N, h, this.model) / denomP : 0;    if (w <= 0) continue;    if (this.model.kind === 'finite') c[h]--;  // the hole is a real card    const r = this.initialEV(c, p1, p2, up, h);    if (this.model.kind === 'finite') c[h]++;    evPlay += w * r.ev;    wagerPlay += w * r.wager;  }  // OBO: a dealer natural takes the initial bet only.  ev = pNat * -1 + (1 - pNat) * evPlay;  wager = pNat * 1 + (1 - pNat) * wagerPlay;} else if (up === A_IDX || up === T_IDX) {  // …
Result: Nothing in the solve, the oracle, or the published reference reads the capture or the operator — the rule set and the strategy table in, the edge out (Step 17).

The oracle gate — three exact fractions, asserted at 1e-12:

tests/blackjack/exactOracleTests.ts · rational oracle · Verified
/** Rank order is [2..9, T, A]; index 8 = Ten, index 9 = Ace. */const SHOES: Array<{ name: string; counts: number[]; exact: [number, number]; note: string }> = [  {    name: 'control — peek path unreachable (no Ten, no Ace)',    counts: [3, 0, 0, 0, 0, 3, 3, 3, 0, 0],    exact: [437, 13200],    note: 'proves the core engine (recursion, splits, DAS, dealer play, settlement) is sound',  },  {    name: 'peekA — Ten/Ace heavy',    counts: [0, 0, 0, 0, 0, 2, 2, 2, 5, 3],    exact: [17081, 194040],// …},{  name: 'peekB — split-heavy peek shoe',  counts: [2, 0, 0, 0, 0, 0, 2, 2, 4, 3],  exact: [78863, 900900],// …  },];// …describe('Exact solver — tiny-shoe rational oracle (independent anchor)', () => {  for (const { name, counts, exact, note } of SHOES) {    const [num, den] = exact;    it(`reproduces ${num}/${den} exactly — ${name}`, () => {      const got = solveShoe(counts);      const want = num / den;      assert.ok(        Math.abs(got - want) < 1e-12,        `${name}\n  expected ${want.toFixed(15)} (= ${num}/${den})\n  ` +        `got      ${got.toFixed(15)}\n  delta    ${(got - want).toExponential(3)}\n  ${note}`,      );    });  }
4.5Simulation Pass 0 — 30M Rounds (Step 17 Sanity Harness)

Our engine dealt 30,000,000 complete rounds from fairly shuffled 8-deck shoes (a fair shuffle driven by a seeded xoshiro128** stream rather than the HMAC shoe — here the rule set is the object under test — and zero operator input), playing the same basic-strategy table, every draw taken from a stream derived from the pinned master seed. The committed run reads 99.5230% per initial bet (0.4770% edge, standard error ±0.0210%) and 99.5771% per total wagered — consistent with the exact figure at 0.51σ in both conventions.

The simulation is a 3σ sanity harness, not the precision instrument: at σ = 0.021 pp it cannot resolve the fourth decimal. Because every input derives from the pinned master seed, npm run simulate replays this exact run; a different seed would land elsewhere, typically within a few multiples of the ±0.0210% standard error — which is why the published figure is the exact solve and the simulation is the check. Step 17 re-draws the first 1,000 rounds from the master seed and requires them to reproduce the first convergence checkpoint exactly; the full trace is in outputs/simulation-results.json (baseGame.convergence) and is plotted on this page’s chart against the exact figure.

tests/steps/simulation.ts · Step 17 — the 3σ gate against the exact solve · Verified
const exactTD = solveExact({ kind: 'finite', decks: 8 }, 'TD');const exactEdge = exactTD.edgePerInitialBet;const exactPerTotal = exactTD.edgePerTotalWagered; const rtpInitial = sim.baseGame?.rtpInitial ?? sim.baseGame?.rtp ?? sim.rtp;const rtpPerTotal = sim.baseGame?.rtpPerTotalWagered;const rounds = sim.baseGame?.rounds ?? sim.rounds;// …const roundsPinned = Number(rounds) === SIM_BASE_ROUNDS;const se = SIM_SD_PER_ROUND / Math.sqrt(SIM_BASE_ROUNDS);   // pinned; the committed run's measured SD is 1.14662130892236 (baseGame.sdPerRound), rounded upconst TOL = 3 * se;                                          // Monte-Carlo error only const simEdge = rtpInitial != null ? 1 - rtpInitial : NaN;const dev = Math.abs(simEdge - exactEdge);// …const sePerTotal = se / exactTD.avgWager;const TOL_PER_TOTAL = 3 * sePerTotal;const devPerTotal = rtpPerTotal != null ? Math.abs((1 - rtpPerTotal) - exactPerTotal) : NaN;const consistent = roundsPinned && rtpInitial != null && dev <= TOL  && (rtpPerTotal == null || devPerTotal <= TOL_PER_TOTAL);// …const liftRecomputed = (exactTD.rtpPerInitialBet - computeOptimalRTP('stand', true).rtp) * 100;const liftArtifact = Number(sim.cardRemovalLiftPP);const liftOk = Number.isFinite(liftArtifact) && Math.abs(liftArtifact - liftRecomputed) < 1e-9;// …const status17 = (!liftOk || !roundsPinned || !prefixOk) ? 'FAIL' : (consistent ? 'PASS' : 'FLAG');
Result: 30M rounds: 99.5230% per initial bet (0.4770% edge, SE ±0.0210%), consistent with the exact solve at 0.51σ (Step 17). The simulation reads no capture-side or operator-side data — rules in, RTP out.
4.6Real-Shoe Consistency Pass (1M Rounds, Step 18)

A second pass runs 1,000,000 rounds through the actual blackjackShoe algorithm — HMAC-SHA256 Fisher-Yates over all 416 cards — under a seed pair derived from the master seed, and scores the RTP under the same strategy: 99.4977% ± 0.1150% — −0.13σ from the exact figure. It is a consistency check with wide Monte Carlo error, not an RTP method: it asks whether the real shuffle algorithm returns what a fair shuffle returns, and finds no sign that it does not. Step 18 re-derives every Pass 1 statistic from the artifact’s 100 census rows and re-deals the first and last row from the seed pair. Whether the casino’s own seed stream looks selected is a separate question, answered by Pass 2 (S4.11).

tests/steps/simulation.ts · Step 18 — the gates applied to the re-derived statistics · Verified
// RTP through the real RNG against the engine, at a stated σ from the PINNED round count.const rtpSE1 = SIM_SD_PER_ROUND / Math.sqrt(SIM_PASS1_ROUNDS);const rtpZ = st ? (st.rtp - exactTD.rtpPerInitialBet) / rtpSE1 : NaN;const rtpOk = Number.isFinite(rtpZ) && Math.abs(rtpZ) <= 3;const pRe = st ? st.firstCardPValue : NaN;const uniformOk = st !== null && st.firstCardDf === FIRST_CARD_DF && pRe >= 0.01;const serialOk = st !== null && Math.abs(st.serialR1Z) < 3 && st.serialRunsPValue >= 0.01; // A statistic outside its threshold is a FLAG (a finding about the RNG); an artifact that// contradicts a pin, its own rows or the re-dealt rows is a FAIL (a finding about the artifact).const contradiction18 = !dfOk || !roundsOk || !rowNoncesOk || !!rowsProblem || !seedPairDerived  || scalarBad.length > 0 || replayBad.length > 0 || replayed !== PASS1_REPLAYED_ROWS.length || st === null;const ok18 = uniformOk && serialOk && rtpOk && !contradiction18;
Result: The real shuffle algorithm is RTP-consistent with the exact solve (−0.13σ, Step 18); the casino’s seed stream is screened separately in Pass 2.
4.7Wizard of Odds Cross-Validation

The Wizard of Odds reference is an external anchor. Its house-edge calculator was driven at the rule set our solve uses — 8 decks, S17, DAS, double on any first two cards, split to 2 hands, no hit split aces, peek/OBO, blackjack 3:2, no re-split and no surrender (captured 2026-08-23) — and its “basic strategy with continuous shuffler” result, the regime that matches LIQD’s reshuffle-every-hand deal under a total-dependent table, is 0.48768% per initial bet. The audit’s exact 0.4876748% sits within one unit of that figure’s last published digit (delta −5.2 × 10⁻⁶ pp). That checks the engine lands on the published figure; it does not certify the published fifth decimal, since Wizard of Odds’ continuous-shuffler figures resolve to about 10⁻⁴ pp — at six decks the engine reads 0.459936% against a published 0.45999%. The comparison is a test that can fail (tests/blackjack/wooAnchorTests.ts) and is recorded in outputs/exact-rtp.json under wooAnchor.

tests/blackjack/wooAnchorTests.ts · published-precision gate · Verified
const WOO_BASIC_CSM_EDGE = 0.0048768; // 0.48768% per initial bet, published at 5 dpconst ONE_ULP = 1e-7;                 // resolution of the published figure, in fraction describe('blackjack: published external anchor (Wizard of Odds, 8-deck LIQD rule set)', () => {  it('exact 8-deck TD edge matches the published 0.48768% at published precision', function () {    this.timeout(300_000);    const td = solveExact({ kind: 'finite', decks: 8 }, 'TD');    const delta = td.edgePerInitialBet - WOO_BASIC_CSM_EDGE;    assert.ok(      Math.abs(delta) <= ONE_ULP,      `exact 8-deck TD edge ${(td.edgePerInitialBet * 100).toFixed(6)}% vs published ` +      `0.48768% — delta ${(delta * 100).toExponential(3)} pp exceeds one ulp of the ` +      'published figure. Either the engine regressed or the anchor is stale.',    );  });
Result: An external published figure for this rule set, matched within one unit of its last digit (0.48768% vs 0.4876748%) — the anchor that does not share the solver’s strategy table.
4.8Deck-Count Sensitivity

Run on a single deck (same rules, same 8-deck table), the exact solve gives a player-favourable edge of −0.083726% per initial bet (finite1TD) — a 0.571 pp swing. The Wizard of Odds calculator's own 8-deck → 1-deck delta at this rule set is 0.602 pp, leaving a ≈0.031 pp difference against the published single-deck figure. The 8-deck headline does not depend on it. LIQD deals 8 decks; the 1-deck figure is a sensitivity reference only, not an RTP of any offered game.

outputs/exact-rtp.json · finite1TD (trimmed) · Artifact
"finite1TD": {  "model": {    "kind": "finite",    "decks": 1  },  "strategy": "TD",  …  "evPerInitialBet": 0.0008372608547358003,  "rtpPerInitialBet": 1.0008372608547358,  "edgePerInitialBet": -0.0008372608547358003,  "avgWager": 1.1200529442546212,  …}
Why this is included: Deck-count response is a sharp test of a finite-shoe solver: moving from 8 decks to 1 swings the exact edge by 0.571 pp, in the direction and close to the size of the published 0.602 pp delta. LIQD deals 8 decks; the 1-deck figure is a sensitivity reference only, not an RTP of any offered game.
4.9Anti-Circularity Proof — Exact RTP

Anti-circularity means no scored figure is checked against a copy of itself or against the operator’s own number. The exact solver takes only the rules and the strategy table — it reads no dataset and no operator figure. The simulation passes play our own round engine: Passes 0 and 1 on seeds derived from the pinned master seed, Pass 2 on the revealed casino seeds. And the loader (src/loader.ts) deletes the four capture-side recomputation fields (localSequence, verified, commitVerified, chainLinkOk) before any step runs; tests/blackjack/antiCircularityTests.ts asserts against the real dataset that they are gone, and a source scan — a lint, not a proof — fails the build early if a verification source names one. The simulation artifact, the convergence chart, the exact-RTP artifact and the experiment artifacts are hash-pinned in src/config.ts and reconciled in scored Step 25 — so a silently swapped artifact cannot pass as the published one.

Anti-Circularity Proof — Exact RTP — illustrated flow
tests/blackjack/antiCircularityTests.ts · build-failing guard · Verified
/** Fields written by the capture rig from its own recomputation — never evidence. */const CAPTURE_SIDE_FIELDS = ['localSequence', 'verified', 'commitVerified', 'chainLinkOk'];// …describe('blackjack: anti-circularity — no capture-side field feeds a scored step', () => {  const sources = verificationSources();// …for (const field of CAPTURE_SIDE_FIELDS) {  it(`no verification source reads \`.${field}\``, () => {    const offenders: string[] = [];    for (const file of sources) {      const raw = fs.readFileSync(file, 'utf8');      const code = codeOnly(raw);      // Indexed access `b['localSequence']` must be matched on the comment-stripped-but-      // string-KEPT source: codeOnly() blanks string literals, which would turn      // `b['verified']` into `b['']` and hide the very access this guard exists to catch.      const withStrings = stripComments(raw);      // property access (`b.localSequence`) and destructuring (`const { localSequence } = bet`)      // run on the fully stripped source; indexed access runs on withStrings.      const patterns: Array<[RegExp, string]> = [        [new RegExp(`\\.\\s*${field}\\b`), code],        [new RegExp(`\\[\\s*['"\`]${field}['"\`]\\s*\\]`), withStrings],        [new RegExp(`\\{[^}]*\\b${field}\\b[^}]*\\}\\s*=`), code],      ];      if (patterns.some(([re, hay]) => re.test(hay))) offenders.push(path.relative(ROOT, file));    }    assert.deepEqual(offenders, [], `capture-side field \`${field}\` read by: ${offenders.join(', ')}`);  });}// …// ── The structural layer. This is the one that makes the guarantee true. ────────────────it('loader.ts declares exactly the four capture-side fields as strippable', () => {  assert.deepEqual([...STRIPPED].sort(), [...CAPTURE_SIDE_FIELDS].sort(),    'src/loader.ts CAPTURE_SIDE_FIELDS has drifted from the list this guard scans for');}); it('loadDataset() returns bets and seeds with NO capture-side field present at all', () => {  // Not "no source reads them" — literally not there. A computed key, a bracket access, a  // destructure, JSON.stringify: none of them can recover a deleted property.  const ds = loadDataset();  assert.ok(ds.bets.length > 0 && ds.seeds.length > 0, 'dataset loaded non-empty');  const offenders: string[] = [];  for (const field of CAPTURE_SIDE_FIELDS) {    const nBets = ds.bets.filter((b) => Object.prototype.hasOwnProperty.call(b, field)).length;    const nSeeds = ds.seeds.filter((s) => Object.prototype.hasOwnProperty.call(s, field)).length;    if (nBets || nSeeds) offenders.push(`${field}: ${nBets} bet(s), ${nSeeds} seed(s)`);  }  assert.deepEqual(offenders, [], `loadDataset() left capture-side fields in place — ${offenders.join('; ')}`);});// …});
Scope: Hash-pinning protects third parties against artifact drift and substitution; no pin can prove the publisher to itself. The independence comes from the derivation chain — the pin makes it auditable.
4.10Currency Path — No FX Haircut Observed (Step 21)

Every bet in the capture was paid from a USDT wallet and booked in the account’s currency: Phase A in CAD at a served exchange rate of 1.41, every later phase in USD at 1.00 (the account’s currency setting was changed in between). Each record carries the booked stake and credit, the USDT credit LIQD states for the wallet (winningAmountWallet) and the exchange rate — the place a dishonest implementation could quietly haircut every credit. Step 21 checks all 13,612 credit records: hands, double bets, side bets and insurance. At 1.00 (7,933 records) the wallet credit is never below the booked credit; it equals it everywhere except the 66 sub-cent naturals, where the wallet carries the full 0.025 and the record shows 0.02 (S4.14). In CAD (5,679 records) every booked credit over its wallet credit lies within the served rate’s precision, [1.41, 1.42) — LIQD converts at a finer rate that moved between 1.41033 and 1.41228 during the capture — and in all 381 rounds with more than one credit, every credit converts at the same rate. A haircut on any USD credit, or on one credit of a multi-credit round, would break one of these; every CAD credit sits within the served rate’s precision, at one rate per round.

tests/steps/houseedge.ts · Step 21 · Verified
  const RATE_UNIT = 1_000_000; // 0.01 of exchange rate, in 1e-8 units  let credits = 0, rate1 = 0, rate1Bad = 0, fx = 0, fxRangeBad = 0, fxRounds = 0, fxPropBad = 0, currencyBad = 0;// …  for (const b of ctx.bets) {    const rateUnits = unitsOf(b.exchangeRate);    // every record of the round with a booked fiat credit and a wallet credit    const recs: Array<{ fiat: number | null; wallet: number | null }> = [];    for (const h of b.playerHands) recs.push({ fiat: unitsOf(h.winningAmount), wallet: unitsOf(h.winningAmountWallet) });    for (const d of [b.doubleBets?.main, b.doubleBets?.split]) if (d) recs.push({ fiat: unitsOf(d.fiatWinningAmount), wallet: unitsOf(d.winningAmountWallet) });  // …    const isRate1 = rateUnits === 100_000_000;  // …    for (const r of recs) {    // …      if (isRate1) {        rate1++;        // booked fiat = the wallet credit, except the cent-floored naturals (Step 8), where the wallet holds        // MORE than the booked figure: the wallet credit is never below the booked credit.        if (r.wallet < r.fiat) { rate1Bad++; if (fxFails.length < 3) fxFails.push(`e${b.epoch}/n${b.nonce}: wallet credit ${r.wallet} units below the booked ${r.fiat}`); }      } else {        fx++;        if (r.fiat === 0 && r.wallet === 0) continue;        // rate <= fiat / wallet < rate + 0.01, in integers: fiat·1e8 >= rate·wallet and fiat·1e8 < (rate + 0.01)·wallet        const lhs = BigInt(r.fiat) * 100_000_000n;        if (r.wallet <= 0 || lhs < BigInt(rateUnits) * BigInt(r.wallet) || lhs >= BigInt(rateUnits + RATE_UNIT) * BigInt(r.wallet)) {      // …// …  const fxOk = credits > 0 && rate1 > 0 && fx > 0 && rate1Bad === 0 && fxRangeBad === 0 && fxPropBad === 0 && currencyBad === 0;
Result: No haircut observed between the booked amount and the wallet credit: 7,933 / 7,933 USD records at or above face value, 5,679 / 5,679 CAD records within the served rate, one rate per round on 381 / 381 rounds (Step 21).
4.11Cherry-Pick Screen — Pass 2 (Step 19)

Could the casino have chosen server seeds that produce worse outcomes for players? Pass 2 takes each of the 47 revealed casino seeds, extends it to 20,000 nonces under its epoch’s client seed, and plays the declared basic strategy through 200 windows of 100 rounds. The primary statistic is money, fixed in src/config.ts before it was first computed: each seed’s served window (nonces 0–99, dealt under every seed and replayed under the declared strategy — 4,700 of the 8,579 served hands) is ranked against its own 199 later windows, and a seed is flagged at p ≤ 0.01; the screen raises a flag when more than 4 seeds are flagged (the binomial upper tail at 0.001), or when the pooled served-window net falls below z = −3.09. Result: 2 of 47 seeds flagged, and a pooled net of −84 initial bets over 4,700 served rounds against an exact expectation of −22.92 — z = −0.777. A first-card rank screen rides along as a secondary check: 3 flags against 2.2 expected by chance (P = 0.3875).

Measured power: against a 1% / 2% / 5% / 10% shortfall in served-window RTP, the pooled rule detects selection with probability 0.6% / 2.9% / 46.0% / 99.8%. npm run attack measures it against a real grind: keeping the most house-favourable of 50 candidate server seeds per epoch takes the served windows from 98.4213% to 76.8541% RTP per total wagered, and the money rule flags 20 of 47 seeds with pooled z = −15.47 — detected. All 47 capture epochs used a fresh client seed set after the commitment, which rules selection out for those epochs. The working defence is the player’s: set a fresh client seed after the commitment is published.

tests/steps/simulation.ts · Step 19 — the money rule, re-derived from the rows · Verified
const familyGate = binomialTailThreshold(EXPECTED_SEEDS, PASS2_MONEY_ALPHA, PASS2_FAMILY_ALPHA);// …const moments = solveMoments({ kind: 'finite', decks: 8 });const exactSd = moments.sd;// …// The money statistic, RE-DERIVED from the row's windows.const mp = moneyP(windowNet2);const mf = mp <= PASS2_MONEY_ALPHA;if (mf) moneyFlagsRe++;// …// Pooled served-window net against the EXACT 8-deck mean (exactTD, recomputed in Step 17 above).const servedRounds = EXPECTED_SEEDS * PASS2_EARLY_NONCES;const pooledNet = pooledNet2 / 2;const pooledExpected = -exactTD.edgePerInitialBet * servedRounds;const pooledSD = exactSd * Math.sqrt(servedRounds);const pooledZ = (pooledNet - pooledExpected) / pooledSD;// …const power = PASS2_POWER_SHORTFALLS.map((d) => ({ d, pw: normalCDF((d * servedRounds) / pooledSD - PASS2_POOLED_Z) }));// …const moneyFlagged = moneyFlagsRe > familyGate || pooledZ < -PASS2_POOLED_Z;// …const ok19 = !contradiction19 && !moneyFlagged && survivalRecomputed >= 0.01;
Result: 2 / 47 seeds flagged by the money rule (gate 4), pooled z = −0.777 (gate −3.09) — no sign of seed selection (Step 19). A client seed set after the commitment is the player’s defence.
4.12Side-Bet EV — Perfect Pairs & 21+3

The side bets carry their own house edges, computed exactly from the verified paytables and 8-deck combinatorics. Perfect Pairs (25 / 13 / 6 to 1) carries a 2.1687% edge (9/415) — LIQD’s coloured pair pays 13:1, one pip above the common 12:1, a player-favourable deviation confirmed on 32 live coloured-pair wins; at 12:1 the edge would be 4.096%. 21+3 (100 / 40 / 30 / 10 / 5 to 1) carries a 3.7039% edge (4596/124085). Both are pure-luck wagers resolved at the deal; the capture’s 2,758 settlements match these paytables exactly, every paying category of both served at least once (S3.8). The side bets are separate wagers outside the RTP claim table (S4.2).

3 columns
Perfect Pairs — 2 cards, C(416, 2) = 86,320 dealsCombinationsPays
Perfect pair1,45625:1
Coloured pair1,66413:1
Mixed pair3,3286:1
No pair79,872lose
3 columns
21+3 — 3 cards, C(416, 3) = 11,912,160 dealsCombinationsPays
Suited three of a kind2,912100:1
Straight flush24,57640:1
Three of a kind61,56830:1
Straight368,64010:1
Flush700,9285:1
No combination10,753,536lose
src/sidebets.ts · independent evaluators (Steps 15–16) · Verified
/** Perfect Pairs on two cards. */export function evaluatePerfectPairs(c1: string, c2: string): SideResult {  // LIQD labels a losing Perfect Pairs bet `NO_PAIR`, but a losing 21+3 bet `NO_MATCH`.  // The two side bets genuinely use different vocabulary; the category comparison in  // Step 15 is against LIQD's own `gameResult`, so this string must match exactly.  if (rankOf(c1) !== rankOf(c2)) return { category: 'NO_PAIR', payout: 0 };  if (suitOf(c1) === suitOf(c2)) return { category: 'PERFECT_PAIR', payout: PERFECT_PAIRS.PERFECT_PAIR };  if (isRed(c1) === isRed(c2)) return { category: 'COLORED_PAIR', payout: PERFECT_PAIRS.COLORED_PAIR };  return { category: 'MIXED_PAIR', payout: PERFECT_PAIRS.MIXED_PAIR };} function isThreeStraight(a: number, b: number, c: number): boolean {  const consec = (rs: number[]): boolean => {    const s = [...rs].sort((x, y) => x - y);    return s[0] + 1 === s[1] && s[1] + 1 === s[2];  };  if (consec([a, b, c])) return true;  // Ace-high: A(1) counts as 14 for Q-K-A  return consec([a, b, c].map((r) => (r === 1 ? 14 : r)));} /** 21+3 on the player's two cards + the dealer upcard. */export function evaluate21Plus3(c1: string, c2: string, dealerUp: string): SideResult {  const cards = [c1, c2, dealerUp];  const ranks = cards.map(rankOf);  const suits = cards.map(suitOf);  const flush = suits[0] === suits[1] && suits[1] === suits[2];  const trips = ranks[0] === ranks[1] && ranks[1] === ranks[2];  const straight = isThreeStraight(ranks[0], ranks[1], ranks[2]);  if (trips && flush) return { category: 'SUITED_THREE_OF_A_KIND', payout: TWENTY_ONE_PLUS_THREE.SUITED_THREE_OF_A_KIND };  if (straight && flush) return { category: 'STRAIGHT_FLUSH', payout: TWENTY_ONE_PLUS_THREE.STRAIGHT_FLUSH };  if (trips) return { category: 'THREE_OF_A_KIND', payout: TWENTY_ONE_PLUS_THREE.THREE_OF_A_KIND };  if (straight) return { category: 'STRAIGHT', payout: TWENTY_ONE_PLUS_THREE.STRAIGHT };  if (flush) return { category: 'FLUSH', payout: TWENTY_ONE_PLUS_THREE.FLUSH };  return { category: 'NO_MATCH', payout: 0 };}
Player context: The main bet’s edge — 0.487675% per initial bet, 0.432435% per unit wagered — is far lower than either side bet’s: per unit wagered, Perfect Pairs costs about 5× and 21+3 about 8.6× as much.

The edges follow by arithmetic on those tables. Perfect Pairs: (1,456 × 25 + 1,664 × 13 + 3,328 × 6 − 79,872) / 86,320 = −1,872 / 86,320 = −2.1687%. 21+3: (2,912 × 100 + 24,576 × 40 + 61,568 × 30 + 368,640 × 10 + 700,928 × 5 − 10,753,536) / 11,912,160 = −441,216 / 11,912,160 = −3.7039%. Both are per unit wagered on the side bet itself; neither touches the main-bet figure.

4.13Payout Conventions — 3:2, Doubles, Insurance (Steps 8, 9, 10)

Every settlement path was reconciled. Naturals pay 3:2 — 330 naturals booked at exactly 2.5×, and 66 more on a 0.01 stake paid 2.5× in the wallet credit (S4.14) (Step 9); a natural against a dealer natural pushes (12 such hands). Doubles add a second bet of the same stake with the same outcome: LIQD writes it as its own double-bet record, and Step 8b checks every one of the 1,827 sits on the hand the action log says doubled and is credited exactly like it. Insurance pays 2:1 — 3× the insurance stake on a dealer natural, on both records that carry it, and as the matching one-stake wallet rise on the other 43 (Step 10). The round total is the capture script’s own sum of LIQD’s records — hands, double bets, side bets and insurance — so it shows the dataset carries every record; the per-hand reconstruction from the cards is what tests each credit. Money is compared as exact integer equality in 1e-8 accounting units — a one-unit discrepancy fails, and all 50,201 recorded amounts sit on that grid (Step 8).

Payout Conventions — 3:2, Doubles, Insurance (Steps 8, 9, 10) — illustrated flow
src/settlement.ts · ruleReturn · expectedBooking (cards + rules, never the label) · Verified
/** * Rule amount of one hand (stake included) in exact 1e-8 units, as a rational [numerator, denominator] so a * 5/2 natural on an odd unit stake is not rounded here. Derived from cards + rules, never from a label. */export function ruleReturn(cards: string[], dealer: string[], stakeUnits: number, isSplitHand: boolean): { num: number; den: number } {  const pt = handValue(cards).total;  if (pt > 21) return { num: 0, den: 1 };  const dt = handValue(dealer).total;  const pBJ = (!isSplitHand || RULES.splitTwentyOneIsNatural) && isBlackjack(cards);  const dBJ = dealerHasBJ(dealer);  if (pBJ && dBJ) return { num: stakeUnits, den: 1 };  if (pBJ) return { num: (BJ_NUM + BJ_DEN) * stakeUnits, den: BJ_DEN };  if (dBJ) return { num: 0, den: 1 };  if (dt > 21 || pt > dt) return { num: 2 * stakeUnits, den: 1 };  return { num: pt === dt ? stakeUnits : 0, den: 1 };}// …/** Expected booked credit of hand `hi` of round `b` (see the header for the three production behaviours). */export function expectedBooking(b: Bet, hi: number): Booking {  const h = b.playerHands[hi];  const stakeUnits = unitsOf(h.betAmount);  if (stakeUnits === null) return { ruleUnits: null, bookedUnits: null, kind: 'rule' };  const r = ruleReturn(h.cards, b.dealerHand, stakeUnits, b.split);  const ruleUnits = r.num % r.den === 0 ? r.num / r.den : null;  if (isEvenMoney(b)) return { ruleUnits, bookedUnits: 2 * stakeUnits, kind: 'even-money' };  if (ruleUnits === null) return { ruleUnits, bookedUnits: null, kind: 'rule' };  const floored = Math.floor(ruleUnits / FIAT_CENT_UNITS) * FIAT_CENT_UNITS;  return floored === ruleUnits ? { ruleUnits, bookedUnits: ruleUnits, kind: 'rule' } : { ruleUnits, bookedUnits: floored, kind: 'cent-floor' };}
Result: All 8,917 hands, 1,827 double bets and 165 accepted insurances reconcile exactly.

And the double bets and the round total, on every one of the 8,579 rounds:

tests/steps/payouts.ts · Step 8b — double bets and the round total · Verified
// ── Step 8b: Double bets and the round total ─────────────────────────────────// The dataset carries LIQD's double-bet records (doubleBets.main / doubleBets.split). Three checks://   (1) a double record exists exactly where the action log says its hand doubled (src/doubles.ts cut);//   (2) each double bet was credited like its hand: its fiat credit equals the hand's booked credit scaled//       by the two stakes (same stake on every double here, so the same credit);//   (3) the round's top-level `winningAmount` (the runner's sum of the served winningAmount fields) equals//       the sum of the winningAmount fields the dataset carries: hands + double records + side bets +//       insurance.// WHAT (3) CAN SEE. The round total is not a field LIQD returned, so (3) is bookkeeping: it shows the// dataset carries every record the total was summed from. It cannot detect a skim by the casino — a short// credit on any record would be summed into the total as well. The per-hand reconstruction above (each// credit derived from the cards) and (2) are what test the casino's credits.// A UNIT QUIRK IN LIQD'S RECORD, counted and named: on some split-double records `betAmount` and// `winningAmount` are in the wallet currency (USDT) while every other record states them in the booked// fiat; `fiatBetAmount` / `fiatWinningAmount` are in the fiat on every record, which is why (2) reads those.// It is visible only where the two currencies differ (Phase A, CAD); at exchangeRate 1 the two figures// are the same number.let dblRecords = 0, dblPlacementBad = 0, dblCreditBad = 0, dblUnitQuirk = 0;let recOk = 0, recBad = 0;const dblFails: string[] = [];const quirk: string[] = [];const recFails: string[] = [];for (const b of bets) {  const recs = [b.doubleBets?.main ?? null, b.doubleBets?.split ?? null];  const doubled = doubledHandsOf(b);  let sum = b.playerHands.reduce((s, h) => s + unitsOr0(h.winningAmount), 0);  for (let i = 0; i < 2; i++) {    const r = recs[i];    const should = !!doubled && doubled[i] === true;    if (!!r !== should) { dblPlacementBad++; if (dblFails.length < 3) dblFails.push(`${id(b)}: ${i === 0 ? 'main' : 'split'} double record ${r ? 'present' : 'absent'}, the action log says the hand ${should ? 'doubled' : 'did not double'}`); }    if (!r) continue;    dblRecords++;    sum += unitsOr0(r.winningAmount);    const h = b.playerHands[i];    const hs = h ? unitsOf(h.betAmount) : null, hc = h ? unitsOf(h.winningAmount) : null;    const ds = unitsOf(r.fiatBetAmount), dc = unitsOf(r.fiatWinningAmount);    // credited like its hand: dc / ds == hc / hs, in integers    if (hs === null || hc === null || ds === null || dc === null || ds !== hs || dc * hs !== hc * ds) {      dblCreditBad++;      if (dblFails.length < 3) dblFails.push(`${id(b)}: ${i === 0 ? 'main' : 'split'} double booked ${String(r.fiatWinningAmount)} on ${String(r.fiatBetAmount)}, its hand ${String(h?.winningAmount)} on ${String(h?.betAmount)}`);    }    if (unitsOf(r.winningAmount) !== dc || unitsOf(r.betAmount) !== ds) { dblUnitQuirk++; if (quirk.length < 3) quirk.push(`${id(b)} ${i === 0 ? 'main' : 'split'} double: winningAmount ${String(r.winningAmount)} beside fiatWinningAmount ${String(r.fiatWinningAmount)} ${b.fiatCurrency}`); }  }  for (const k of ['perfectPair', 'twentyOnePlusThree', 'insurance'] as const) if (b.sideBets[k]) sum += unitsOr0(b.sideBets[k]!.winningAmount);  const top = unitsOf(b.winningAmount);  if (top !== null && top === sum) recOk++;  else { recBad++; if (recFails.length < 3) recFails.push(`${id(b)}: round total ${String(b.winningAmount)} != ${asMoney(sum)} summed from the records`); }}
4.14Payout Display Notes — Correct USDT on Every Recorded Credit (Steps 8–10)

Every wallet credit LIQD records in the capture is the correct USDT amount, and every wallet-balance check reconciles to the last unit. In five cases its round record displays the settlement differently; the money is right in each, confirmed by the balance reads around the round, the wallet credit in LIQD’s reply or LIQD’s own account bet history, and a scored step counts every case. Even money (12 rounds): insurance taken on a natural shows as one hand paid 2× the stake, with no insurance line — exactly what even money pays, whether or not the dealer has blackjack. Winning insurance (43 of 45): on a dealer natural the 2:1 insurance payout goes straight to the wallet, three halves back for half a stake, and the round record shows the main hand only; the other 2 show the insurance line. Naturals on a 0.01 stake (66): 3:2 is 0.025 USDT, credited in full and recorded at 0.025 in LIQD’s own account bet history; the round record shows the booked figure to the cent, 0.02. Side bets on the one hand that ended at the insurance step show in its place-bet reply (both had lost), and 9 of the 1,827 double-bet records state their amounts in USDT beside the correct fiat fields.

4 columns
SettlementRoundsPaid to the playerRound record shows
Even money (insurance taken on a natural)12Exactly 2× the stakeOne hand at 2×, no insurance line
Winning insurance on a dealer natural43 of 452:1 — three halves for half a stakeThe main hand only
3:2 natural on a 0.01 stake66The full 0.025 USDT0.02, to the cent
Side bets on a hand ending at insurance1Nothing owed — both lostIn the place-bet reply
Double bet9 of 1,827Correct on all 9Amounts in USDT
Result: Every recorded credit correct in USDT — 12 / 12 even-money hands at exactly 2×, 43 / 43 wallet-paid insurances at 2:1, 66 / 66 sub-cent naturals at the full 0.025; the wallet moved by exactly the booked net plus those insurances across all 164 stretches between reads (Steps 8–10).

The wallet confirms it to the last unit. In the capture session of phases D, B, C and F, it moved from 771.77443387 USDT at its first read to 689.12443387 at its last: −82.65, exactly the −86.95 the 1,995 rounds in between book plus the +4.30 of the 43 insurances paid through the wallet. Worked rounds: epoch 32 / nonce 43 — insurance taken, dealer A♥ J♥: the record shows the main hand lost, and the wallet rises the insurance’s 0.10 (771.52443387 → 771.62443387); epoch 35 / nonce 7 — J♠ A♠ insured against A♥ 3♦, even money, 0.20 on 0.10; epoch 25 / nonce 29 — A♣ J♦ on 0.01, 0.025 credited, 0.02 shown.

4.15Informational Items (Not Scored)

Three observations ride along without gating the verdict. Money-path reconciliation: the 5,000 rounds booked in CAD returned 569.10 on 567.90 wagered — 100.21%; the 3,579 booked in USD returned 2,385.10 on 2,626.59 wagered (main 2,593.51, side bets 27.58, booked insurance 5.50) — 90.81%. This is bookkeeping, not an RTP estimate: blackjack’s per-hand SD is about 1.15, so the standard error of a 5,000-round return is about ±1.6 pp, and phases C and F play off basic strategy on purpose (split-force returned 64.97% and 66.53%) — which is why the headline is the exact solve. Insurance: 653 offers, 488 declined and 165 accepted — the accepted ones staked 7.65 in all (5.50 booked, 2.15 through the wallet) and returned 6.75, as a −EV wager should. Natural frequency: 420 / 8,579 = 4.90% against the ≈4.75% 8-deck expectation — z = 0.66, within normal range and orthogonal to RTP (naturals were paid correctly wherever they occurred).

Why these are included: A reader who computes these figures independently should find them already on the table, with the reason they do not move the verdict.
4.16Worked Example — RTP & Payout Reconciliation

Real bet from the side-bet run — epoch 30, nonce 173, the busiest money path in one round. Verified from blackjack-prod-8579hands.json: a 2♦/2♥ split, a double on the main hand, plus both side bets landing. Stake 0.01 USD per bet:

3 columns
ComponentDetailReturn
Main hand2♦ + 8♣ (shoe[4]) → double, Q♦ → 20 vs dealer bust 230.02
Main double betthe doubled stake, a record of its own, settled like its hand0.02
Split hand2♥ + 6♥ (shoe[5]) → hit J♣ → 18, stands — played first, vs dealer bust 230.02
Perfect Pairs2♦ 2♥ — coloured pair, 14× gross × 0.010.14
21+32♦ 2♥ + dealer 2♥ — three of a kind, 31× gross × 0.010.31
Round credit0.02 + 0.02 + 0.02 + 0.14 + 0.310.51 ✓ recorded
Parity verified: Epoch 30 / nonce 173 — split, double, both side bets, and the settled credit all reconcile exactly. npm run verify re-derives this round under Step 8; the S6 scripts reproduce its shoe from the seeds.

Two supporting one-liners from the same capture: epoch 0 / nonce 61 — K♥ A♣ natural, insurance declined, 0.10 → 0.25 CAD, exactly 3:2; epoch 41 / nonce 45 — dealer A♠ K♣ natural, the 0.05 insurance bet returns 0.15, exactly 2:1. Every number recomputed, every number matches.

Technical Evidence — RTP & Payout Logic5 sections
4.17Evidence Coverage Summary12 checks
3 columns
Verification AreaCoverageResult
Exact basic-strategy solve + anchors (Step 17)Exact 8-deck RTP 99.512325% · rational oracle at 1e-12 · Wizard of Odds 0.48768% within one unit of its last digitPass
RTP claim rule (Step 20)LIQD’s 99.52% vs exact 99.512325% — gap −0.007675 pp, inside ±0.1 ppPass
30M fair-shuffle simulation (Step 17)30,000,000 rounds · SE ±0.0210% (σ from the pinned round count) · 0.51σ (3σ gate)Pass
Real-shoe pass (Step 18)1,000,000 rounds · 99.4977%, −0.13σPass
Per-hand payout math (Steps 8, 9, 10)8,917 hands · 1,827 double bets · 420 naturals · 653 insurance offersPass
Payout display notes — correct USDT on every recorded credit (Steps 8–10)12 even-money hands · 43 insurances paid through the wallet · 66 sub-cent naturals · 165 wallet readsPass
House-edge reconciliation (Step 20)Game-page header vs the exact solve, both conventions; dataset swept for a served edge or RTP field (none)Pass
No FX haircut observed (Step 21)13,612 credit records — 7,933 at 1.00 (USD), 5,679 at the served 1.41 (CAD), one rate per roundPass
Cherry-pick screen (Step 19)47 seeds × 20,000 nonces — money rule 2 / 47 (gate 4), pooled z −0.777; rank screen 3 vs 2.2Pass
Seed-grind power experiment (npm run attack)50 candidate seeds × 47 epochs against the Step 19 money rule — 20 / 47 flagged, pooled z −15.47Simulated grind detected
Side-bet EV (Steps 15, 16, 20)Exact combinatorics vs verified paytablesPass
Stake brackets (Steps 22, 31)0.10 CAD × 5,000 · 0.01 USD × 1,379 · 0.10 USD × 2,000 · 10.00 USD × 200Pass
4.18Code References13 source files
2 columns
FilePurpose
src/exact-play.tsExact finite-shoe EV solver (TD basic strategy) — the 99.512325% figure, emitted to outputs/exact-rtp.json (npm run rtp, byte-identical every run)
anchor/oracle.py + tests/blackjack/exactOracleTests.ts / wooAnchorTests.tsThe two anchors: the exact-rational tiny-shoe oracle (three shoes, 1e-12) and the Wizard of Odds gate at published precision
src/rtp-claim.ts · src/rtp-settings.tsThe RTP claim rule (RTP-CLAIM 1.2.0, enforced) and the claim it holds — 99.52%, the RTP implied by the 0.48% game-page header
src/replay.ts · src/simulate.tsPass 0 (30M fair-shuffle rounds), Pass 1 (1M real-shoe rounds) and Pass 2 (the 47 revealed seeds × 20,000 nonces); Passes 0 and 1 and the Pass-2 bootstrap derive every input from the pinned master seed
src/sidebets.tsIndependent evaluators for both side bets against the paytable constants in src/config.ts (Steps 15–16); the exact edges are enumerated in src/sidebet-edges.ts, tested as exact rationals (9/415 and 4596/124085) in tests/blackjack/sideBetEdgeTests.ts, and recorded in outputs/report-figures.json
tests/steps/payouts.tsSteps 8–10: per-hand payouts from cards + rules, double bets, 3:2 naturals, insurance and the wallet reads, round totals — compared as exact integers in 1e-8 settlement units (src/money.ts)
src/settlement.tsHow LIQD books a hand — the rule amount, even money, the cent floor and the wallet arithmetic around an accepted insurance — one definition read by Steps 6, 8, 9, 10 and 21
tests/steps/houseedge.tsSteps 20–21: house-edge reconciliation against the exact solve; the currency path, no FX haircut
tests/blackjack/antiCircularityTests.tssrc/loader.ts deletes the capture-side recomputation fields before any step runs; the test asserts they are gone and fails the build if a verification source references one
src/config.tsThe ten run-time artifact pins (dataset, simulation, convergence chart, exact RTP, simulation provenance, bootstrap nulls, seed-grind experiment, branch coverage, both replay reports), the capture-file pins, and the population and simulation-shape pins (the epoch plan, 30M / 1M rounds, σ = 1.15, df 12, α)
src/round-engine.ts + tests/blackjack/roundEngineTests.tsThe one round engine every simulation pass plays, bound to the exact solve within 5σ (0.4065864 pp over 2,000,000 rounds); mutation R37 turns it red
src/cherry-pick-attack.tsThe seed-grind experiment behind S4.11 (npm run attack); deterministic, byte-for-byte reproducible
src/report-figures.tsRegenerates outputs/report-figures.json — the accounting, insurance, wallet, natural-frequency and side-bet figures and the worked rounds quoted on this page; Step 25 re-derives it field for field
4.19Datasets UsedSource artifacts
Primary: data/blackjack-prod-8579hands.json (S1.11). S4 additionally consumes:
2 columns
PropertyValue
Simulation artifactoutputs/simulation-results.json (≈234 KB) — all three passes, their retained replay inputs and the convergence trace behind this page’s chart. The exact figures are not embedded here: exactFiguresSource points at outputs/exact-rtp.json
Simulation SHA-2562b128b2aa3fefe53c86022181c9b24fa749cd3c9b879c0fc8c06e50b6c5d8593
Exact-RTP artifactoutputs/exact-rtp.json — the exact figures of record: the finite-8 TD figure, the finite-1 deck sensitivity, the Wizard of Odds anchor with its delta, and the per-round moments Step 19 uses; npm run rtp regenerates it byte-identically
Exact-RTP SHA-256f89b1920086bf0af17dbf5f30350bfef259a6fa0f934631a7ffa41e34cec4611
RTP claim tableoutputs/rtp-claim-table.json — LIQD’s 99.52% against the one setting, with exact RTP, gap and outcome · SHA-256 b3baa192…
Convergence chartoutputs/rtp-convergence.html (≈6 KB) — a static inline-SVG rendering of the same baseGame.convergence trace; this page re-renders that trace in the site's house chart style
Seed-selection experimentoutputs/cherry-pick-attack.json (≈32 KB) — the S4.11 power experiment; deterministic (npm run attack reproduces it byte for byte), SHA-256 647bd63f7cf3ba99ef0ce749315ccab0f2325539bbc065d7681216578add30f0
Report figuresoutputs/report-figures.json (≈20 KB) — the derived accounting, insurance, wallet and side-bet figures and the 11 worked rounds quoted in S4, re-derived field for field by Step 25 rather than hash-pinned
LIQD account bet historyevidence/liqd-account-bet-history-2026-11-11/ — 29 pages of LIQD’s own bet history for the capture account, read 11 November 2026 and pinned in SHA256SUMS; npm test checks the 66 sub-cent naturals against it

Money fields used: betAmount, winningAmount (hand and round), winningAmountWallet, the doubleBets records, side-bet and insurance records, fiatCurrency, exchangeRate, and the wallet reads around each accepted insurance (insuranceOffer). Phase A settles in CAD, every later phase in USD, all paid from a USDT wallet.

4.20Verified Invariants14 invariants
2 columns
InvariantResult
Winning naturals return exactly 2.5× — 330 booked, 66 more in the wallet creditPass
Pushes return exactly 1× (recorded under the platform’s binary won label)Pass
Every double bet sits on the hand that doubled and is credited like it — 1,827 / 1,827Pass
Round total = the sum of the round’s records on all 8,579 roundsPass
Accepted insurance returns exactly 3× its stake on a dealer natural — 2 on the record, 43 through the wallet; 108 lostPass
Even money pays exactly 2× — 12 / 12Pass
No FX haircut: USD wallet credits never below the booked credit (7,933), CAD credits within the served rate at one rate per round (5,679)Pass
LIQD’s published 99.52% holds under the RTP claim rule — gap −0.007675 pp, inside ±0.1 ppPass
30M simulation consistent with the exact figure at 0.51σ, per initial bet and per total wagered (3σ gate)Pass
Pass 2 money rule: 2 / 47 seeds flagged (gate 4), pooled z = −0.777 (gate −3.09)Pass
Side-bet paytables imply 2.1687% (PP) and 3.7039% (21+3) edges — exact combinatoricsPass
Solver reproduces the exact-rational oracle on all three tiny shoes at 1e-12; Wizard of Odds anchor matched within one unit of its last digit (both gates can fail)Pass
npm run rtp regenerates outputs/exact-rtp.json byte-identicallyPass
Round engine reproduces the exact solve within 5σ over 2,000,000 rounds (0.4065864 pp window)Pass
4.21Reproduction InstructionsRun locally

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

reproduce-s4.sh · 6 lines · Verified
git clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjack && git checkout v1.1.0npm cinpm run rtp      # exact 8-deck basic-strategy solve → outputs/exact-rtp.json (byte-identical)npm run verify   # Steps 8–10, 15–22 and 31 cover S4, with the RTP claim rulecat outputs/rtp-claim-table.json
S4-related steps:

  [PASS] Step 8 — Per-Hand Payout (reconstructed from cards)
  [PASS] Step 9 — Blackjack Pays 3:2
  [PASS] Step 10 — Insurance: Answer Honoured, Accepted Insurance Pays 2:1
  [PASS] Step 15 — Perfect Pairs Side Bet
  [PASS] Step 16 — 21+3 Side Bet
  [PASS] Step 17 — Basic-strategy RTP vs exact 8-deck solver
  [PASS] Step 18 — Simulation Pass 1 — first-card uniformity, serial independence, RTP vs the exact solve
  [PASS] Step 19 — Simulation Pass 2 — cherry-pick detection (casino seeds)
  [PASS] Step 20 — House-edge reconciliation (published figures vs the exact edge)
  [PASS] Step 21 — No FX haircut between the booked amounts and the wallet credits
  [PASS] Step 22 — Bet-Size Invariance (Phase E)
  [PASS] Step 31 — Stake Bracket Bounds

  rtp-claim: ENFORCED — PASS
  rtp-claim:   claim flat 99.520000% — source: LIQD Blackjack: the game page liqd.com/originals/blackjack shows "Released: June 2026 | Edge: 0.48%" = RTP 99.52 %, the figure held here, …
  rtp-claim:   band ±0.10 pp · 1 settings · true min 99.512325% (main game, 8-deck basic strategy (TD), per initial bet) · true max 99.512325% (main game, 8-deck basic strategy (TD), per initial bet)
  rtp-claim:   house side beyond band: 0 · player-favourable beyond band: 0 · worst main game, 8-deck basic strategy (TD), per initial bet at -0.007675 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 b3baa192f9f4cdcf… matches the pin
05

Fairness Integrity Testing

Does the implementation maintain fairness under non-standard conditions?

Sections 1–4 show the game is mathematically fair. Section 5 tests whether the game holds up under pressure on LIQD’s pre-launch environment: actions sent at the same moment, retried requests, invalid inputs, other players’ requests and the dealer’s hidden card. It reports 39 integrity tests across 12 categories. 32 passed, and seven were remediated and re-tested; the most serious let simultaneous doubles or splits add extra stakes to one hand (Critical and High), and LIQD fixed it. None changed the shuffle or the order cards are dealt in.

Fairness Integrity Testing

32pass7remediated

What we verified

  • Parallel actions: can doubles or splits sent at the same moment add extra stakes to one hand, or a seed change during a hand reveal its seed?
  • Replays and retries: can a nonce be forced or skipped, a finished hand replayed, or a retried or delayed action apply twice?
  • Seeds: can unusual client seeds or server seed fields be overridden, or a live hand’s seed changed?
  • Other players: can anyone act on another player’s hand or session?
  • Payouts: can payout, outcome, double or side-bet amounts be injected?
  • Limits: can invalid bet amounts or currencies get through?

What this means for you

  • None of these tests changed the shuffle or the order cards are dealt in
  • Only you can act on your hand: other accounts’ requests were rejected
  • Each hand is dealt from the committed seeds and its own nonce, and its seed is locked during play
  • Extra stakes from simultaneous actions, repeated or delayed actions and loose input checks were all fixed by LIQD and re-tested
  • The dealer’s hidden card stays hidden: at every point, responses show only your cards and the dealer’s up-card
32pass7remediated
  • Parallel actions: can doubles or splits sent at the same moment add extra stakes to one hand, or a seed change during a hand reveal its seed?
  • Replays and retries: can a nonce be forced or skipped, a finished hand replayed, or a retried or delayed action apply twice?
  • Seeds: can unusual client seeds or server seed fields be overridden, or a live hand’s seed changed?
  • Other players: can anyone act on another player’s hand or session?
  • Payouts: can payout, outcome, double or side-bet amounts be injected?
  • Limits: can invalid bet amounts or currencies get through?
13 / 13Race Conditions
2 / 2Input Validation
3 / 3Atomic Balance / Idempotency
2 / 2Broken Authorization
3 / 3Max-win Bypass
3 / 3Nonce Manipulation
4 / 4RNG / PF Verification
1 / 1RNG / Information Leak
1 / 1Entropy / PF Verification
1 / 1Precision / Payout
2 / 2Event Replay
4 / 4Adversarial Seeds

Category Coverage

Race Conditions13/13
Input Validation2/2
Atomic Balance / Idempotency3/3
Broken Authorization2/2
Max-win Bypass3/3
Nonce Manipulation3/3
RNG / PF Verification4/4
RNG / Information Leak1/1
Entropy / PF Verification1/1
Precision / Payout1/1
Event Replay2/2
Adversarial Seeds4/4
CheckResultEvidence
Nonce integrityPassThe server assigns every nonce: reused, skipped or invalid nonces are never honoured, and the count rises by one per hand
Seed integrityPassRevealed seeds match their hashes and never repeat; a live hand’s seed is locked, and seed changes are refused mid-hand or during insurance
Hidden cardPassAt every point in a hand, a double after a split included, responses show only your cards and the dealer’s up-card
Round & player isolationPassAnother account can’t act on your hand, logged-out sessions are rejected, and settled hands accept no more actions
Payout integrityPassInjected payout, outcome, double and side-bet amounts never changed a settlement
Simultaneous and retried actionsRemediatedSimultaneous doubles or splits could add extra stakes to one hand (Critical, High); retried or late actions could apply twice or reach the next hand (Medium): all fixed and re-tested
Parameter limitsRemediatedClearly invalid amounts were always refused; borderline stakes and malformed currency codes got through (Low), fixed by LIQD and re-tested
Nonce integrityPass
The server assigns every nonce: reused, skipped or invalid nonces are never honoured, and the count rises by one per hand
Seed integrityPass
Revealed seeds match their hashes and never repeat; a live hand’s seed is locked, and seed changes are refused mid-hand or during insurance
Hidden cardPass
At every point in a hand, a double after a split included, responses show only your cards and the dealer’s up-card
Round & player isolationPass
Another account can’t act on your hand, logged-out sessions are rejected, and settled hands accept no more actions
Payout integrityPass
Injected payout, outcome, double and side-bet amounts never changed a settlement
Simultaneous and retried actionsRemediated
Simultaneous doubles or splits could add extra stakes to one hand (Critical, High); retried or late actions could apply twice or reach the next hand (Medium): all fixed and re-tested
Parameter limitsRemediated
Clearly invalid amounts were always refused; borderline stakes and malformed currency codes got through (Low), fixed by LIQD and re-tested
✓  39 of 39 Pass or Remediated

39 integrity tests reported: 32 pass and 7 remediated (simultaneous doubles or splits adding extra stakes, retried or late actions, and two input checks), all fixed by LIQD and re-tested. None changed the shuffle or the order cards are dealt in. 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 hand 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 39 tests across 12 categories. Each card below gives the control assessed, the broad testing approach, the observed result, its impact and any limitation.

3 columns
CategoryTestsWhat It Catches
Race Conditions13Parallel round starts and in-round actions, delayed requests, and seed rotation racing a live hand
Input Validation2Grey-area and malformed stakes, and invalid currency identifiers
Atomic Balance / Idempotency3Double debits, orphaned debits and unsafe retry behaviour after a timeout or disconnect
Broken Authorization2Acting on another account, or after the session has ended
Max-win Bypass3Client-supplied payout, outcome, double-down or side-bet amounts
Nonce Manipulation3Reused, skipped, zero, negative or oversized nonces supplied by the client
RNG / PF Verification4Provably fair fields, the nonce sequence, seed commitments across rotations, and LIQD’s verifier against the cards actually dealt
RNG / Information Leak1Disclosure of the dealer’s hole card, or of any hidden hand state, before settlement
Entropy / PF Verification1Server-seed randomness and uniqueness across rotations
Precision / Payout1Settlement arithmetic and wallet reconciliation over many rounds
Event Replay2Final actions replayed after settlement, and actions sent to a settled round
Adversarial Seeds4Unusual client seeds — length, character sets, Unicode forms, rapid changes — and rotation mid-round
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: seven Remediated tests — the action-handler concurrency defect (graded Critical and High), two input-hygiene issues (Low), and in-round retry and delayed-request handling (Medium). All seven are re-verified on LIQD’s current build.

3 columns
StatusMeaningAction
PassThe service handled the scenario correctly: the control heldNone — recorded with its result
RemediatedA failed control that LIQD has since fixed, re-tested by ProvablyFair.org on the current buildRecorded with the fix and its re-test
WarningA security or availability defect that leaves fairness, outcomes and player funds intactReported to LIQD privately; published once fixed and re-tested, or as open if its fix deadline passes
FailA defect affecting fairness, outcomes or player fundsBlocks certification until fixed and re-tested
2 columns
ConditionConsequence
A substituted server seed is accepted against a published commitmentHard fail
A revealed seed fails its commitment and play continuesHard fail
Any settled hand’s cards cannot be reproduced from disclosed inputsHard fail
A credited payout deviates from the rule set and the hand’s outcomeHard fail
Nonce reuse or gaps that could conceal discarded outcomesHard fail
Hard fail criteria: These conditions are absolute — a single occurrence fails the game regardless of every other result. None of them occurred in these tests. The findings in this section affected which actions and stakes a hand accepted — never the seed values, the shuffle or the order cards are dealt in.

39 tests · 32 pass · 7 remediated

Race Conditions13/13
LIQD-BJ-RACE-010CriticalRemediated

Concurrent double-down on one hand

Control assessed
A hand can be doubled once: one extra stake, and any further double sent at the same moment is refused.
Testing approach
Double-down requests sent in parallel on a single eligible hand; the settled hand and the wallet ledger inspected.
Observed result
Before the fix, several concurrent doubles could be accepted on the same hand. LIQD made per-round bet placement atomic; re-tested on the current build, parallel doubles no longer stack on one hand.
Impact
Critical · funds — before the fix, a hand could carry more stake than the rules allow, and winning stacked hands paid out in full. No committed outcome was affected. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-011HighRemediated

Concurrent splits on one hand

Control assessed
A pair can be split once, every debited stake is settled or refunded, and the round always reaches a final state.
Testing approach
Split requests sent in parallel on a single pair, then the round played to settlement; the ledger, settlement and seed rotation inspected.
Observed result
Before the fix, concurrent splits could debit extra split stakes that were neither settled nor refunded, leaving the round open and holding up seed rotation and verification on the account. After LIQD’s fix (atomic placement, with split and double settlement recorded), re-tested on the current build: no orphaned split stake, and every round reaches a final settle or refund.
Impact
High · funds and verification — no player profit was possible, but extra split stakes were debited and never settled or refunded, and the stuck round blocked seed rotation and verification for the whole account. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-014MediumRemediated

A delayed action landing on the next round

Control assessed
A request that belongs to a finished round cannot change the next one: no extra card, no added stake, no settlement, and no reply naming the new round.
Testing approach
Hit, stand, double and split requests held back until the next round had started, with and without the original round ID, plus a control naming the current round. Re-tested on 23 October 2026.
Observed result
Before the fix, delayed actions from one round altered the next in every case tried. On the re-test, stale round IDs were rejected in 8 of 8 cases and requests without a round ID in 4 of 4; the new round was unchanged in all 12, while the control on the current round succeeded.
Impact
Medium · action integrity — before the fix, a delayed request could change the following round. Fixed by LIQD and re-verified.
Limitations
The re-test covered hit, stand, double and split requests within a refreshed session; other request types and session flows were outside its scope.
LIQD-BJ-RACE-001Pass

Parallel round starts

Control assessed
Only one round can start at a time, and only one stake is taken.
Testing approach
Round starts sent in parallel.
Observed result
Exactly one was accepted, and the balance fell by exactly one stake.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-002Pass

A second bet while a round is live

Control assessed
A second bet is refused while a round is still unresolved.
Testing approach
A second bet sent immediately after the first.
Observed result
The second bet was correctly rejected.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-003Pass

Parallel hits on one round

Control assessed
Parallel hits resolve to one consistent hand and one round’s settlement.
Testing approach
Hit requests sent in parallel on one round.
Observed result
The hits resolved to one consistent hand that grew card by card, and the balance matched exactly one round.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-004Pass

Parallel stands

Control assessed
A round settles once, however many stands arrive together.
Testing approach
Stand requests sent in parallel on one round.
Observed result
Only one was accepted; the balance matched one settlement, with no double credit.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-005Pass

Stand and double at the same moment

Control assessed
Exactly one of two competing final actions is accepted.
Testing approach
A stand and a double sent together on a double-eligible hand.
Observed result
Exactly one action was accepted every time.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-006Pass

Seed reveal racing an unfinished round

Control assessed
A rotation cannot reveal the seed of a round still in play.
Testing approach
Seventy attempts to rotate the seed while a round was in play.
Observed result
The rotation never succeeded while a round was in play, so no live round’s seed was revealed.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-007Pass

Parallel hits after a split

Control assessed
After a split, cards cannot cross between hands, and finished hands stay frozen.
Testing approach
Hit requests sent in parallel on split hands.
Observed result
No card was attributed to both hands, and finished hands stayed frozen.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-008Pass

Seed reveal while insurance is offered

Control assessed
No seed is revealed while an insurance offer is open.
Testing approach
Sixty-six attempts to rotate the seed during an open insurance offer.
Observed result
Every attempt was cleanly refused, so no seed was revealed while the offer was open.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-009Pass

A busting hit racing a stand

Control assessed
A busted hand never pays through a stand sent at the same moment.
Testing approach
A hit and a stand sent together, where the hit busts the hand.
Observed result
The stand never paid a win or a push on the busted hand.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-RACE-013Pass

Starting rounds from several sessions

Control assessed
An account holds at most one unsettled round; a new round starts only after the previous one settles; sessions and accounts stay isolated, and the wallet reconciles.
Testing approach
Seventeen iterations starting rounds from two sessions, at varied offsets around settlement.
Observed result
Every iteration held at most one unsettled round per account; at all 6 offsets the new round was created after settlement; the wallet and the round history matched in all 17 iterations.
Impact
None — the control held.
Limitations
The test covered funded play in one currency under the sessions it used; other stake, currency, balance and session conditions were outside it.
Input Validation2/2
LIQD-BJ-BET-001LowRemediated

Grey-area stake values

Control assessed
Clearly invalid stakes are refused, and zero or sub-precision amounts are either refused or handled as explicit free play.
Testing approach
Zero, null, sub-precision, negative, over-maximum and non-numeric stakes.
Observed result
Before the fix, zero, null and sub-precision amounts were accepted as a small or zero stake, while every clearly invalid amount was refused and no out-of-range stake was possible. After LIQD tightened validation, malformed and sub-precision amounts are rejected.
Impact
Low · input hygiene, with no effect on funds or fairness. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-TOKEN-001LowRemediated

Invalid currency identifiers

Control assessed
Invalid currency identifiers are refused; a missing one is refused or resolved to a documented default.
Testing approach
Bets carrying malformed currency identifiers, and one with none.
Observed result
Before the fix, two malformed values were silently booked to the account’s default currency; every other invalid value was refused, and no other currency could ever be chosen. After LIQD’s fix, invalid values are rejected; a bet with no currency resolves to the account’s own currency.
Impact
Low · input hygiene, with no cross-currency path at any point. Fixed by LIQD and re-verified.
Limitations
None specific to this test; the general scope is in 5.5.
Atomic Balance / Idempotency3/3
LIQD-BJ-IDEMP-003MediumRemediated

Retried hit after a client timeout

Control assessed
One intended hit applies once, however often it is retried — no extra card, and no unrecovered server error.
Testing approach
Hit requests retried with the same key after client timeouts of different lengths; the hand inspected after each. Re-tested on 23 October 2026.
Observed result
Before the fix, one intended hit could grow the hand by two cards. LIQD added round and idempotency keys; on the re-test, same-key retries added exactly one card, with three of the four timing variants exercising a genuine replay while the round stayed open.
Impact
Medium · action integrity — before the fix, a retried hit could deal a card the player had not asked for. Fixed by LIQD and re-verified.
Limitations
The shortest timeout never reached the server; this test closes together with IDEMP-004, which covers the same path.
LIQD-BJ-IDEMP-004MediumRemediated

Lost response, then a retry of the same action

Control assessed
An action takes effect once across retries: one card for a hit, one added stake for a double or split, one round for a bet. Debits, credits and settlements reconcile.
Testing approach
Hit, double, split and bet requests whose responses were dropped after the server processed them, retried with the same key. Re-tested on 23 October 2026.
Observed result
Before the fix, a retried hit could add a second card and a completed bet could repeat. On the re-test, none of 88 cases applied an action twice; in 36 of them the drop was shown to follow processing, and the retry returned the original result — the settled bet returned its original round and consumed one nonce.
Impact
Medium · action integrity — before the fix, a lost response followed by a retry could repeat an action. Fixed by LIQD and re-verified.
Limitations
Of the 88 cases, 36 are confirmed processed-then-dropped replays; the other 52 exercise the same path.
LIQD-BJ-IDEMP-001Pass

Retry after a timeout on bet placement

Control assessed
Retrying a bet after a dropped connection debits the stake once.
Testing approach
A bet sent with a very short client timeout, then retried.
Observed result
Exactly one stake was debited — no orphaned or doubled bet.
Impact
None — no double debit.
Limitations
None specific to this test; the general scope is in 5.5.
Broken Authorization2/2
LIQD-BJ-AUTH-001Pass

Another player acting on a live round

Control assessed
Only a round’s owner can act on it.
Testing approach
A second account sent hit, stand and double requests against the first account’s live round; the round compared before and after.
Observed result
All three were rejected and the round’s cards were unchanged: ownership is bound to the session, not to a field in the request.
Impact
None — isolation held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-AUTH-002Pass

Session reuse after logout

Control assessed
A session ends at logout: its cookie cannot place another bet.
Testing approach
A new bet attempted with a session cookie after logout.
Observed result
The logged-out session was rejected: logout is enforced server-side, not just in the browser.
Impact
None — the session was invalidated server-side.
Limitations
None specific to this test; the general scope is in 5.5.
Max-win Bypass3/3
LIQD-BJ-BET-002Pass

Payout and outcome fields in the request

Control assessed
Client-supplied outcome or payout fields never change the server-computed result.
Testing approach
Ten variants carrying injected payout, result, hand and legacy payout fields.
Observed result
None changed the server-computed outcome.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-BET-003Pass

Injected double-down amount

Control assessed
A double always stakes exactly the original bet.
Testing approach
Seven double requests carrying injected amounts.
Observed result
The charged amount never changed: the server always doubles the original bet.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-MAXWIN-001Pass

Side-bet amount tampering

Control assessed
Tampered side-bet amounts cannot produce an outsized payout.
Testing approach
Oversized, negative and wrong-type Perfect Pairs and 21+3 amounts, across seven cases.
Observed result
No case produced an abnormal payout ratio.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Nonce Manipulation3/3
LIQD-BJ-NONCE-001Pass

Reused nonce

Control assessed
The client cannot choose the nonce: an injected value never causes reuse.
Testing approach
A bet carrying a previously used nonce.
Observed result
The nonce was never reused; the server assigned its own.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-NONCE-002Pass

Skipped nonces, forward and back

Control assessed
Injected nonces cannot move the server’s counter in either direction.
Testing approach
Bets carrying a nonce ten ahead and one five behind.
Observed result
Neither was honoured; the server kept its own sequential counter.
Impact
None — the server kept its own sequence.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-NONCE-003Pass

Invalid and boundary nonces

Control assessed
Invalid nonce values are ignored, the sequence stays intact, and no internal detail is returned.
Testing approach
Bets carrying seven invalid and boundary nonce values.
Observed result
All seven were ignored; the counter progressed correctly, and no internal detail was returned.
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-BJ-ENTROPY-001Pass

Seed uniqueness and commitment across rotations

Control assessed
Each revealed seed matches its earlier commitment, and no seed repeats.
Testing approach
Three rotation cycles, each revealed seed hashed and compared.
Observed result
Each revealed seed hashed to its prior commitment, and none repeated.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-PF-001Pass

Provably-fair data over five rounds

Control assessed
Every provably-fair field a player needs is present and non-empty, and no nonce repeats.
Testing approach
Five rounds checked field by field.
Observed result
Every required field was present and non-empty in all five rounds, and no nonce repeated.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-PF-002Pass

Nonce sequence over ten rounds

Control assessed
The nonce advances by exactly one per round.
Testing approach
Ten consecutive rounds.
Observed result
All ten steps were exactly +1.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-PF-003Pass

Dealt cards against LIQD’s verifier

Control assessed
LIQD’s own verifier reproduces the cards actually dealt.
Testing approach
Two rounds checked through LIQD’s verify endpoint after the reveal.
Observed result
Both reproduced the dealt cards exactly — checked against LIQD’s authoritative implementation, not a re-implemented shuffle.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
RNG / Information Leak1/1
LIQD-BJ-EXTRA-001Pass

Dealer hole card in every hand state

Control assessed
At every point in a hand, a response shows only what the player may see — their own cards and the dealer’s up-card; the hole card appears only at settlement.
Testing approach
Responses inspected at every state — deal, hits, a double, a split, and a double after a split — and response timing compared between dealer-blackjack and other rounds for an insurance signal.
Observed result
No hole-card disclosure and no timing signal in any state; in the deepest state, a double after a split, only the dealer’s up-card appeared.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Entropy / PF Verification1/1
LIQD-BJ-ENTROPY-002Pass

Server-seed randomness across rotations

Control assessed
Server seeds are unique, well-formed and consistent with a uniform random draw.
Testing approach
Six seeds revealed through rotation, checked for format, repetition and per-symbol entropy.
Observed result
All six were unique, well-formed 32-character hex strings; per-seed entropy of 3.35–3.80 bits per symbol is the range expected of random hex.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Precision / Payout1/1
LIQD-BJ-PREC-001Pass

Payout accuracy over fifteen rounds

Control assessed
The balance change equals the sum of each round’s settlement.
Testing approach
Fifteen consecutive rounds, balance read before and after.
Observed result
The balance change matched the summed settlements exactly.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Event Replay2/2
LIQD-BJ-REPLAY-001Pass

Stand replayed after settlement

Control assessed
Replaying a final action after settlement changes nothing.
Testing approach
The identical stand request sent again after the round settled.
Observed result
No additional balance change.
Impact
None — the round settled once.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-REPLAY-002Pass

An action on a settled round

Control assessed
A settled round accepts no further actions.
Testing approach
A hit sent to a round that had already settled.
Observed result
The hit was rejected, and a follow-up check confirmed no round was left active.
Impact
None — the round settled once.
Limitations
None specific to this test; the general scope is in 5.5.
Adversarial Seeds4/4
LIQD-BJ-SEED-001Pass

Client-seed length and characters

Control assessed
No client seed, however long or unusual, breaks betting or returns internal detail.
Testing approach
Empty, very long (1,000+ characters), special-character, emoji, CJK and whitespace-only seeds, each followed by a bet.
Observed result
None broke the following bets or returned internal detail.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-SEED-002Pass

Unicode forms of one seed

Control assessed
Composed and decomposed Unicode forms of the same seed are handled consistently.
Testing approach
The same visible seed submitted in both forms, in two rotations.
Observed result
Both were handled consistently, with nothing carried between the two rotations; byte-exact handling of both forms is a consistent design choice.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-SEED-003Pass

Rapid seed rotation

Control assessed
Bets placed after a rotation land under the new seed.
Testing approach
Rotate-then-bet sequences repeated back to back.
Observed result
Each sequence stayed on a single seed ID, distinct from the others: bets always land under the freshly rotated seed.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
LIQD-BJ-SEED-004Pass

Rotation requested mid-round

Control assessed
A live round’s seed cannot change.
Testing approach
Seed rotation requested while a round was active.
Observed result
The round’s seed ID never changed: the seed is locked for the round.
Impact
None — the control held.
Limitations
None specific to this test; the general scope is in 5.5.
Technical Evidence & Verification4 sections
5.3Coverage Summary12 categories

Coverage by category — 39 tests: 32 pass, 7 remediated.

3 columns
CategoryTestsResult
Race Conditions1310 pass · 3 remediated (RACE-010, RACE-011, RACE-014)
Input Validation22 remediated (BET-001, TOKEN-001)
Atomic Balance / Idempotency31 pass · 2 remediated (IDEMP-003, IDEMP-004)
Broken Authorization2All pass
Max-win Bypass3All pass
Nonce Manipulation3All pass
RNG / PF Verification4All pass
RNG / Information Leak1All pass
Entropy / PF Verification1All pass
Precision / Payout1All pass
Event Replay2All pass
Adversarial Seeds4All pass
Method: Every test ran against LIQD’s running service on its pre-launch environment; remediations were re-tested on LIQD’s current build. Sections 1–4 verify the captured rounds offline — independent derivation, commitment and chain checks, nonce continuity and credit arithmetic — while Section 5 tests the live service around them. Per-test procedures, payloads and captures are retained under the engagement record and are not published — see 5.5.
5.4Findings & Remediation4 records

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

3 columns
TestsFindingStatus
RACE-010 · RACE-011Parallel doubles or splits could attach extra stakes to one hand. LIQD made per-round placement atomic; fixed and re-verified.Remediated · Critical, High
IDEMP-003 · IDEMP-004A retried in-round action could apply twice, adding a card or repeating a bet. LIQD added round and idempotency keys; fixed and re-verified.Remediated · Medium
RACE-014An action delayed past the end of a round could change the next one. Stale and round-less requests are now refused; fixed and re-verified.Remediated · Medium
BET-001 · TOKEN-001Grey-area stakes and malformed currency identifiers were accepted or defaulted instead of refused. Fixed by LIQD and re-verified.Remediated · Low
5.5Scope & LimitationsScope note
What is published here is coverage, not method. Each test in this section appears with its identifier and category, the control it assessed, the broad testing approach, the observed result, its impact and any limitation; a finding also carries its severity, where graded, and its remediation state. Request payloads, preconditions, step sequences, endpoints, timings and response captures are withheld: they show how to repeat a test, and add nothing a reader needs to judge its result. The full record is retained and is available to LIQD and to regulators on request.
Coverage published, method withheld: The classes of issue tested are standard and publicly documented. What would help someone repeat a test — volumes, timings, settings and request sequences — stays in the engagement record.
Coordinated disclosure: A finding that affects fairness, outcomes or player funds blocks certification, whichever level of testing found it. A security or availability finding that doesn’t is reported to LIQD privately and published here once fixed and re-tested, or as open if its fix deadline passes.
Point-in-time, per build: Each result is scoped to the build tested. The remediations were re-tested on LIQD’s current build — the retry and delayed-action fixes on 23 October 2026.
Scope: The tests target the provably fair surface and the money path around it — seeds, rounds, placement and settlement. Wallet custody, account management and infrastructure hardening are outside their scope.
Test environment: Every test ran against LIQD’s pre-launch environment (qa.liqd.com), not the public site.
5.6Evidence & Disclosure

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

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

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

Player Verification

Can a player verify their own bets without trusting anyone?

Every Blackjack hand can be independently reproduced from publicly disclosed inputs. No hidden variables, no private backend data. If the revealed seed matches the hash you saved before betting, and your computed shoe deals the cards you were dealt, the hand came from the seeds LIQD committed to. This section walks you through it: with LIQD’s own Provably Fair panel, the independent ProvablyFair.org verifier, or a few lines of code you run yourself.

Independent Result Verification

4 Stepsto verify any bet

Key principles

  • Every Blackjack hand can be independently reproduced, card for card
  • No hidden variables and no private backend data
  • If the revealed seed matches the hash you saved and your computed shoe deals your cards, the hand came from the committed seeds
  • 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 hand’s number under your seed pair; Mines and Plinko share the pair, so bets there advance it too
  • Your actions — the hit, stand, double and split decisions you made (the verifier replays them against the cards)
4 Stepsto verify any bet
  • Every Blackjack hand can be independently reproduced, card for card
  • No hidden variables and no private backend data
  • If the revealed seed matches the hash you saved and your computed shoe deals your cards, the hand came from the committed seeds
  • Most players can verify directly in LIQD’s Provably Fair panel
From Bet to Independent Verification — LIQD shoe-verification flow — illustrated flow
Server SeedRevealed after rotation
Client SeedPlayer-controlled input
NonceRecorded bet sequence
Your actionsthe hit, stand, double and split decisions you made (the verifier replays them against the cards)
  1. 1

    Play a Blackjack Hand

    Place a bet and play the hand. The whole 416-card shoe is shuffled from the seeds before the first card is dealt: your decisions don’t change the order of the cards, only how many are drawn and, after a split, which hand takes each one.

  2. 2

    Open the Provably Fair Panel and Rotate the Seed

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed and your bet count, which is your next nonce. Rotate Seed Pair shows the next seed’s hash and takes your next client seed. Save both hashes before you bet. Rotating reveals the server seed: its SHA-256 hash must equal the hash you saved. Across this audit’s 47 seed pairs, it always did.

  3. 3

    Enter the Seeds in the Verify Tab

    In the panel’s Verify tab, choose Blackjack and enter the revealed server seed, your client seed and the hand’s nonce.

  4. 4

    Recompute & Confirm

    Press Verify, enter the same inputs in the ProvablyFair.org verifier, or run the scripts under Manual Verification. Replay your actions against the recomputed shoe: if the hash check in step 2 passed and the cards match your hand, the hand was dealt from the seeds LIQD committed to.

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

Choose your stake on the Blackjack table and place a bet — optionally adding Perfect Pairs and 21+3. The platform computes the entire 416-card shoe from (serverSeed, clientSeed, nonce) before any card is shown: the first four positions are the PDPD deal, and every hit, double, split card, and dealer draw takes the next position in order. Your decisions don’t change the order of the cards — they set how many are drawn and, after a split, which hand takes each one.

LIQD Blackjack on liqd.com — a $1.00 hand dealt Q♣ 10♠ (20) against the dealer’s Q♥, with the hole card face down. The whole shoe is fixed by the seeds before the deal.

LIQD Blackjack on liqd.com — a $1.00 hand dealt Q♣ 10♠ (20) against the dealer’s Q♥, with the hole card face down. The whole shoe is fixed by the seeds before the deal.

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

The Provably Fair panel’s Seeds tab shows your active client seed, the hashed server seed — the commitment SHA-256(serverSeed) shown before you play — and “Total bets made with pair”, the nonce your next hand will use. Under Rotate Seed Pair it shows the next client seed (editable) and the hash of the next server seed. Save both hashes: after rotation the revealed seed must match the first, and the next pair’s seed is already fixed by the second. Rotating the seed pair retires it and reveals the outgoing server seed in plaintext. First check: SHA-256 of the revealed 32-hex string (hashed as UTF-8 text) must equal the commitment you saved — across the audit’s 47 captured epochs it always did.

The Seeds tab before rotating — Active Server Seed (Hashed) 58fa7f71…53920e after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 8c091faa…c8ddd1, hashes to 58fa7f71…53920e.

The Seeds tab before rotating — Active Server Seed (Hashed) 58fa7f71…53920e after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 8c091faa…c8ddd1, hashes to 58fa7f71…53920e.

6.3Step 3: Enter the Seeds in the Verify Tab

The panel’s Verify tab rebuilds a hand from the game, the client seed, the server seed and the nonce. Choose Blackjack and enter the server seed revealed in step 2, your client seed and the hand’s nonce — its number under the pair, counting from 0. Every hand played under that seed can be recomputed this way.

The Verify tab filled in for that hand — Blackjack, client seed, the server seed revealed in step 2 and nonce 0.

The Verify tab filled in for that hand — Blackjack, client seed, the server seed revealed in step 2 and nonce 0.

6.4Step 4: Recompute & Confirm

Press Verify. The tab rebuilds the full shoe and shows the deal plus the next cards in shoe order — read across to confirm your hits and the dealer’s draws line up with what happened at the table. A match shows the cards you were dealt are the ones the committed seeds produce.

The result: the deal — Q♣ 10♠ (20) for the player, Q♥ 8♦ (18) for the dealer — and the next cards 3♣ K♠ 3♦ J♥ 2♣ 9♥. Our scripts in 6.8–6.9 reproduce it card for card: the shoe opens Q♣ Q♥ 10♠ 8♦ 3♣ K♠ 3♦ J♥ 2♣ 9♥.

The result: the deal — Q♣ 10♠ (20) for the player, Q♥ 8♦ (18) for the dealer — and the next cards 3♣ K♠ 3♦ J♥ 2♣ 9♥. Our scripts in 6.8–6.9 reproduce it card for card: the shoe opens Q♣ Q♥ 10♠ 8♦ 3♣ K♠ 3♦ J♥ 2♣ 9♥.

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

True provably fair verification means you don’t have to trust any casino-provided tool — or any hosted verifier, including ours. Manual verification runs the calculation on your own machine, so a tampered verifier cannot mislead you. The scripts below do exactly that: complete implementations of the written specification of LIQD’s shoe derivation in about 50 lines each, dependency-free and runnable offline (the one case the specification leaves open — all eight numbers of a digest rejected, about 3 × 10⁻⁵² over the capture — stops them with an error). If they reproduce your hand, no party on the internet was involved in convincing you.

6.6How the Algorithm Works (Plain English)3 records

Start with 416 cards in a fixed factory order — 8 decks, each laid out clubs, hearts, spades, diamonds, Ace through King. Then shuffle backwards through the whole shoe: at position 415, ask HMAC-SHA256 for a number between 0 and 415 and swap; at 414, a number between 0 and 414; down to position 1. Each answer comes from hashing clientSeed:nonce:position with the server seed as the key — so all three inputs shape every swap.

  • The 32-byte digest is read as eight 32-bit numbers; the first one under the fairness ceiling is kept (rejection sampling — every position equally likely). One captured draw in 3,560,285 needed a second number, as expected (S2.3)
  • 415 swaps later the shoe is fully shuffled — and fully determined. Nothing that happens at the table can change it
  • The deal reads from the top: shoe[0] you, shoe[1] dealer up, shoe[2] you, shoe[3] dealer hole — then every draw takes shoe[4], shoe[5], … in order
3 columns
InputWhere You Get ItWhat It Does
Server seed (32-char hex)Returned when you rotate the seed pair (the capture took all 47 from rotation replies)The HMAC key — the casino's committed entropy
Client seedYou set it in the fairness panelMessage component — your influence on every swap
NonceYour bet number within the epoch (starts at 0)Message component — makes each bet's shoe unique
One subtlety worth knowing: the commitment hashes the seed's text, not its bytes — SHA-256 of the 32 hex characters as a UTF-8 string. The scripts below do this correctly; if you roll your own and the commitment won't match, this is almost always why.

On split rounds the order is pinned: shoe[4] completes your first (main) hand, shoe[5] completes the split hand — then the split hand plays out first, then the main hand, then the dealer. The audit verified this order card-for-card on all 338 captured splits.

6.7Casino Verifier vs ProvablyFair.org Verifier4 records

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

3 columns
LIQD Built-in (in-game panel)ProvablyFair.org
Who controls the codeThe casino — it computes on LIQD’s serverProvablyFair.org — its derivation code is vendored, byte for byte, in the public audit package
What it proves aloneInternal consistency of LIQD’s own mathIndependent recomputation from raw inputs
Checked against this captureDirectly — the audit asked LIQD’s verify endpoint for every captured round; its replies, kept in the package’s capture files, give our shoe on 8,579 / 8,579 (Step 6)Directly — Step 6 runs its pinned code (only the module syntax stripped) on all 8,579 captured rounds, 8,917 hands and 48 full shoes, 0 disagreements
If they disagreeSuspect the casino’s tool or a tampered roundTrust neither blindly: run the standalone scripts below and let the math referee
6.8JavaScript Verification Script

Complete and dependency-free — save as verify-blackjack.js and run node verify-blackjack.js <serverSeed> <clientSeed> <nonce>. Run as-is, it checks the dataset’s first hand (epoch 0, nonce 0); run on every captured round, it reproduces all 8,579 hands — 47 commitments and 48,429 cards:

verify-blackjack.js · Node.js · no dependencies · Verified
// verify-blackjack.js — standalone LIQD Blackjack verifier (Node.js, no dependencies)// Usage: node verify-blackjack.js <serverSeed> <clientSeed> <nonce>const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg] = argv.length  ? argv  : ['265595de7339e9ef94e96024f824d574', 'auditfd77f679f966', '0'];const nonce = Number(nonceArg); // 1) Commitment: SHA-256 of the seed's hex STRING (UTF-8) — compare it with the hash you saved before bettingconsole.log('commitment  =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) One draw over `range` values: HMAC-SHA256 keyed on the 16 DECODED seed bytes, message clientSeed:nonce:cursor;//    read the digest as eight big-endian 32-bit numbers and keep the first one below maxFair, mod rangeconst key = Buffer.from(serverSeed, 'hex');function draw(cursor, range) {  const digest = createHmac('sha256', key).update(`${clientSeed}:${nonce}:${cursor}`).digest();  const maxFair = Math.floor(2 ** 32 / range) * range;  for (let offset = 0; offset < 32; offset += 4) {    const value = digest.readUInt32BE(offset);    if (value < maxFair) return value % range;  }  throw new Error('all eight chunks rejected: the specification gives no rule for this case (no captured draw came near it)');} // 3) The shoe: 8 decks in the order CLUB, HEART, SPADE, DIAMOND × ranks 1 (ace) … 13 (king), 416 cards;//    then a backward Fisher-Yates: for i = 415 down to 1, swap position i with position draw(i, i + 1)const SUITS = ['CLUB', 'HEART', 'SPADE', 'DIAMOND'];const shoe = [];for (let x = 0; x < 416; x++) shoe.push(`${SUITS[Math.floor((x % 52) / 13)]}:${(x % 13) + 1}`);for (let i = 415; i >= 1; i--) {  const j = draw(i, i + 1);  [shoe[i], shoe[j]] = [shoe[j], shoe[i]];} // 4) Read the deal off the top of the shoeconst pretty = (card) => {  const [suit, rank] = card.split(':');  return ({ 1: 'A', 11: 'J', 12: 'Q', 13: 'K' }[rank] || rank) + { CLUB: '♣', HEART: '♥', SPADE: '♠', DIAMOND: '♦' }[suit];};console.log('shoe[0..15] =', shoe.slice(0, 16).join(' '));console.log('as cards    =', shoe.slice(0, 16).map(pretty).join(' '));console.log(`deal        = you ${pretty(shoe[0])} ${pretty(shoe[2])} · dealer ${pretty(shoe[1])} (hole card ${pretty(shoe[3])})`);// No split: your hits (or your double card) take shoe[4], shoe[5], … in order, then the dealer draws.// Split:    shoe[4] completes your first hand and shoe[5] the split hand; the split hand then plays out,//           then your first hand, then the dealer.// Expected for the defaults (bet u2xTT--QHf6vE24SXKuro, epoch 0 nonce 0, 0.10 CAD)://   commitment  = 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a//   deal        = you 8♦ 4♠ · dealer 5♦ (hole card J♥); you stand on 12, the dealer draws shoe[4] = K♣//                 and busts with 25 — a win, paid 0.20 on the 0.10 stake
6.9Python Verification Script

The same verifier in Python 3, standard library only — save as verify-blackjack.py and run python3 verify-blackjack.py <serverSeed> <clientSeed> <nonce>:

verify-blackjack.py · Python 3 · stdlib only · Verified
# verify-blackjack.py — standalone LIQD Blackjack verifier (Python 3, stdlib only)# Usage: python3 verify-blackjack.py <serverSeed> <clientSeed> <nonce>import hashlib, hmac, sys args = sys.argv[1:] or ['265595de7339e9ef94e96024f824d574', 'auditfd77f679f966', '0']server_seed, client_seed, nonce = args[0], args[1], int(args[2]) # 1) Commitment — SHA-256 of the seed's hex string as UTF-8 text; compare it with the hash you saved before bettingprint('commitment  =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) One draw over `rng` values — HMAC-SHA256 keyed on the 16 decoded seed bytes, message client_seed:nonce:cursor;#    read the digest as eight big-endian 32-bit numbers and keep the first one below max_fair, mod rngkey = bytes.fromhex(server_seed)def draw(cursor, rng):    digest = hmac.new(key, f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest()    max_fair = (2 ** 32 // rng) * rng    for offset in range(0, 32, 4):        value = int.from_bytes(digest[offset:offset + 4], 'big')        if value < max_fair:            return value % rng    raise ValueError('all eight chunks rejected: the specification gives no rule for this case (no captured draw came near it)') # 3) The shoe — 8 decks in the order CLUB, HEART, SPADE, DIAMOND × ranks 1 (ace) … 13 (king), 416 cards;#    then a backward Fisher-Yates: for i = 415 down to 1, swap position i with position draw(i, i + 1)SUITS = ['CLUB', 'HEART', 'SPADE', 'DIAMOND']shoe = [f'{SUITS[(x % 52) // 13]}:{x % 13 + 1}' for x in range(416)]for i in range(415, 0, -1):    j = draw(i, i + 1)    shoe[i], shoe[j] = shoe[j], shoe[i] # 4) Read the deal off the top of the shoedef pretty(card):    suit, rank = card.split(':')    return {'1': 'A', '11': 'J', '12': 'Q', '13': 'K'}.get(rank, rank) + {'CLUB': '♣', 'HEART': '♥', 'SPADE': '♠', 'DIAMOND': '♦'}[suit]print('shoe[0..15] =', ' '.join(shoe[:16]))print('as cards    =', ' '.join(pretty(c) for c in shoe[:16]))print(f'deal        = you {pretty(shoe[0])} {pretty(shoe[2])} · dealer {pretty(shoe[1])} (hole card {pretty(shoe[3])})')# No split: your hits (or your double card) take shoe[4], shoe[5], … in order, then the dealer draws.# Split:    shoe[4] completes your first hand and shoe[5] the split hand; the split hand then plays out,#           then your first hand, then the dealer.# Expected for the defaults (bet u2xTT--QHf6vE24SXKuro, epoch 0 nonce 0, 0.10 CAD):#   commitment  = 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a#   deal        = you 8♦ 4♠ · dealer 5♦ (hole card J♥); you stand on 12, the dealer draws shoe[4] = K♣#                 and busts with 25 — a win, paid 0.20 on the 0.10 stake
Expected output (both scripts, run as-is): commitment 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a, shoe head DIAMOND:8 DIAMOND:5 SPADE:4 HEART:11 CLUB:13 and the deal “you 8♦ 4♠ · dealer 5♦ (hole card J♥)” — the dataset’s epoch 0, nonce 0 hand, where the player stands on 12 and the dealer draws the K♣ to bust with 25. Both scripts were run on all 8,579 captured hands and reproduce every commitment and every card.
6.10Evidence Screenshots & Records3 records

The game page record and LIQD’s account bet history are the package’s evidence files; LIQD’s verifier replies sit in the capture files in data/. The walkthrough’s screenshots are page captures from liqd.com, outside the package’s evidence set.

2 columns
FileShows
rtp-page-labels-2026-10-01.jsonThe RTP and house-edge figures on LIQD’s Blackjack game page, read logged out on 1 October 2026 — the source of the RTP claim (S4.2)
liqd-account-bet-history-2026-11-11/SHA256SUMSLIQD’s own bet history for the capture account — 29 pages read on 11 November 2026, each pinned here by SHA-256; it records the full 0.025 USDT payout on all 66 sub-cent naturals (S4.14)
liqd-account-bet-history-2026-11-11/sb-naturals.csvThe 68 bet-history rows of the side-bet run’s two-card 21s, extracted from those pages and checked against them by npm test
From Bet to Independent Verification — LIQD shoe-verification flow — illustrated flow
How it works
  1. 1

    Play a Blackjack Hand

    Place a bet and play the hand. The whole 416-card shoe is shuffled from the seeds before the first card is dealt: your decisions don’t change the order of the cards, only how many are drawn and, after a split, which hand takes each one.

  2. 2

    Open the Provably Fair Panel and Rotate the Seed

    Open the Provably Fair panel on the game page. The Seeds tab shows your client seed, the hashed server seed and your bet count, which is your next nonce. Rotate Seed Pair shows the next seed’s hash and takes your next client seed. Save both hashes before you bet. Rotating reveals the server seed: its SHA-256 hash must equal the hash you saved. Across this audit’s 47 seed pairs, it always did.

  3. 3

    Enter the Seeds in the Verify Tab

    In the panel’s Verify tab, choose Blackjack and enter the revealed server seed, your client seed and the hand’s nonce.

  4. 4

    Recompute & Confirm

    Press Verify, enter the same inputs in the ProvablyFair.org verifier, or run the scripts under Manual Verification. Replay your actions against the recomputed shoe: if the hash check in step 2 passed and the cards match your hand, the hand was dealt from the seeds LIQD committed to.

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

Choose your stake on the Blackjack table and place a bet — optionally adding Perfect Pairs and 21+3. The platform computes the entire 416-card shoe from (serverSeed, clientSeed, nonce) before any card is shown: the first four positions are the PDPD deal, and every hit, double, split card, and dealer draw takes the next position in order. Your decisions don’t change the order of the cards — they set how many are drawn and, after a split, which hand takes each one.

LIQD Blackjack on liqd.com — a $1.00 hand dealt Q♣ 10♠ (20) against the dealer’s Q♥, with the hole card face down. The whole shoe is fixed by the seeds before the deal.

LIQD Blackjack on liqd.com — a $1.00 hand dealt Q♣ 10♠ (20) against the dealer’s Q♥, with the hole card face down. The whole shoe is fixed by the seeds before the deal.

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

The Provably Fair panel’s Seeds tab shows your active client seed, the hashed server seed — the commitment SHA-256(serverSeed) shown before you play — and “Total bets made with pair”, the nonce your next hand will use. Under Rotate Seed Pair it shows the next client seed (editable) and the hash of the next server seed. Save both hashes: after rotation the revealed seed must match the first, and the next pair’s seed is already fixed by the second. Rotating the seed pair retires it and reveals the outgoing server seed in plaintext. First check: SHA-256 of the revealed 32-hex string (hashed as UTF-8 text) must equal the commitment you saved — across the audit’s 47 captured epochs it always did.

The Seeds tab before rotating — Active Server Seed (Hashed) 58fa7f71…53920e after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 8c091faa…c8ddd1, hashes to 58fa7f71…53920e.

The Seeds tab before rotating — Active Server Seed (Hashed) 58fa7f71…53920e after 1 bet, and the next server seed’s hash already published. The seed revealed by the rotation, 8c091faa…c8ddd1, hashes to 58fa7f71…53920e.

6.3Step 3: Enter the Seeds in the Verify Tab

The panel’s Verify tab rebuilds a hand from the game, the client seed, the server seed and the nonce. Choose Blackjack and enter the server seed revealed in step 2, your client seed and the hand’s nonce — its number under the pair, counting from 0. Every hand played under that seed can be recomputed this way.

The Verify tab filled in for that hand — Blackjack, client seed, the server seed revealed in step 2 and nonce 0.

The Verify tab filled in for that hand — Blackjack, client seed, the server seed revealed in step 2 and nonce 0.

6.4Step 4: Recompute & Confirm

Press Verify. The tab rebuilds the full shoe and shows the deal plus the next cards in shoe order — read across to confirm your hits and the dealer’s draws line up with what happened at the table. A match shows the cards you were dealt are the ones the committed seeds produce.

The result: the deal — Q♣ 10♠ (20) for the player, Q♥ 8♦ (18) for the dealer — and the next cards 3♣ K♠ 3♦ J♥ 2♣ 9♥. Our scripts in 6.8–6.9 reproduce it card for card: the shoe opens Q♣ Q♥ 10♠ 8♦ 3♣ K♠ 3♦ J♥ 2♣ 9♥.

The result: the deal — Q♣ 10♠ (20) for the player, Q♥ 8♦ (18) for the dealer — and the next cards 3♣ K♠ 3♦ J♥ 2♣ 9♥. Our scripts in 6.8–6.9 reproduce it card for card: the shoe opens Q♣ Q♥ 10♠ 8♦ 3♣ K♠ 3♦ J♥ 2♣ 9♥.

Technical evidence
6.5Why Manual Verification Matters

True provably fair verification means you don’t have to trust any casino-provided tool — or any hosted verifier, including ours. Manual verification runs the calculation on your own machine, so a tampered verifier cannot mislead you. The scripts below do exactly that: complete implementations of the written specification of LIQD’s shoe derivation in about 50 lines each, dependency-free and runnable offline (the one case the specification leaves open — all eight numbers of a digest rejected, about 3 × 10⁻⁵² over the capture — stops them with an error). If they reproduce your hand, no party on the internet was involved in convincing you.

6.6How the Algorithm Works (Plain English)3 records

Start with 416 cards in a fixed factory order — 8 decks, each laid out clubs, hearts, spades, diamonds, Ace through King. Then shuffle backwards through the whole shoe: at position 415, ask HMAC-SHA256 for a number between 0 and 415 and swap; at 414, a number between 0 and 414; down to position 1. Each answer comes from hashing clientSeed:nonce:position with the server seed as the key — so all three inputs shape every swap.

  • The 32-byte digest is read as eight 32-bit numbers; the first one under the fairness ceiling is kept (rejection sampling — every position equally likely). One captured draw in 3,560,285 needed a second number, as expected (S2.3)
  • 415 swaps later the shoe is fully shuffled — and fully determined. Nothing that happens at the table can change it
  • The deal reads from the top: shoe[0] you, shoe[1] dealer up, shoe[2] you, shoe[3] dealer hole — then every draw takes shoe[4], shoe[5], … in order
3 columns
InputWhere You Get ItWhat It Does
Server seed (32-char hex)Returned when you rotate the seed pair (the capture took all 47 from rotation replies)The HMAC key — the casino's committed entropy
Client seedYou set it in the fairness panelMessage component — your influence on every swap
NonceYour bet number within the epoch (starts at 0)Message component — makes each bet's shoe unique
One subtlety worth knowing: the commitment hashes the seed's text, not its bytes — SHA-256 of the 32 hex characters as a UTF-8 string. The scripts below do this correctly; if you roll your own and the commitment won't match, this is almost always why.

On split rounds the order is pinned: shoe[4] completes your first (main) hand, shoe[5] completes the split hand — then the split hand plays out first, then the main hand, then the dealer. The audit verified this order card-for-card on all 338 captured splits.

6.7Casino Verifier vs ProvablyFair.org Verifier4 records

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

3 columns
LIQD Built-in (in-game panel)ProvablyFair.org
Who controls the codeThe casino — it computes on LIQD’s serverProvablyFair.org — its derivation code is vendored, byte for byte, in the public audit package
What it proves aloneInternal consistency of LIQD’s own mathIndependent recomputation from raw inputs
Checked against this captureDirectly — the audit asked LIQD’s verify endpoint for every captured round; its replies, kept in the package’s capture files, give our shoe on 8,579 / 8,579 (Step 6)Directly — Step 6 runs its pinned code (only the module syntax stripped) on all 8,579 captured rounds, 8,917 hands and 48 full shoes, 0 disagreements
If they disagreeSuspect the casino’s tool or a tampered roundTrust neither blindly: run the standalone scripts below and let the math referee
6.8JavaScript Verification Script

Complete and dependency-free — save as verify-blackjack.js and run node verify-blackjack.js <serverSeed> <clientSeed> <nonce>. Run as-is, it checks the dataset’s first hand (epoch 0, nonce 0); run on every captured round, it reproduces all 8,579 hands — 47 commitments and 48,429 cards:

verify-blackjack.js · Node.js · no dependencies · Verified
// verify-blackjack.js — standalone LIQD Blackjack verifier (Node.js, no dependencies)// Usage: node verify-blackjack.js <serverSeed> <clientSeed> <nonce>const { createHash, createHmac } = require('node:crypto'); const argv = process.argv.slice(2);const [serverSeed, clientSeed, nonceArg] = argv.length  ? argv  : ['265595de7339e9ef94e96024f824d574', 'auditfd77f679f966', '0'];const nonce = Number(nonceArg); // 1) Commitment: SHA-256 of the seed's hex STRING (UTF-8) — compare it with the hash you saved before bettingconsole.log('commitment  =', createHash('sha256').update(serverSeed, 'utf8').digest('hex')); // 2) One draw over `range` values: HMAC-SHA256 keyed on the 16 DECODED seed bytes, message clientSeed:nonce:cursor;//    read the digest as eight big-endian 32-bit numbers and keep the first one below maxFair, mod rangeconst key = Buffer.from(serverSeed, 'hex');function draw(cursor, range) {  const digest = createHmac('sha256', key).update(`${clientSeed}:${nonce}:${cursor}`).digest();  const maxFair = Math.floor(2 ** 32 / range) * range;  for (let offset = 0; offset < 32; offset += 4) {    const value = digest.readUInt32BE(offset);    if (value < maxFair) return value % range;  }  throw new Error('all eight chunks rejected: the specification gives no rule for this case (no captured draw came near it)');} // 3) The shoe: 8 decks in the order CLUB, HEART, SPADE, DIAMOND × ranks 1 (ace) … 13 (king), 416 cards;//    then a backward Fisher-Yates: for i = 415 down to 1, swap position i with position draw(i, i + 1)const SUITS = ['CLUB', 'HEART', 'SPADE', 'DIAMOND'];const shoe = [];for (let x = 0; x < 416; x++) shoe.push(`${SUITS[Math.floor((x % 52) / 13)]}:${(x % 13) + 1}`);for (let i = 415; i >= 1; i--) {  const j = draw(i, i + 1);  [shoe[i], shoe[j]] = [shoe[j], shoe[i]];} // 4) Read the deal off the top of the shoeconst pretty = (card) => {  const [suit, rank] = card.split(':');  return ({ 1: 'A', 11: 'J', 12: 'Q', 13: 'K' }[rank] || rank) + { CLUB: '♣', HEART: '♥', SPADE: '♠', DIAMOND: '♦' }[suit];};console.log('shoe[0..15] =', shoe.slice(0, 16).join(' '));console.log('as cards    =', shoe.slice(0, 16).map(pretty).join(' '));console.log(`deal        = you ${pretty(shoe[0])} ${pretty(shoe[2])} · dealer ${pretty(shoe[1])} (hole card ${pretty(shoe[3])})`);// No split: your hits (or your double card) take shoe[4], shoe[5], … in order, then the dealer draws.// Split:    shoe[4] completes your first hand and shoe[5] the split hand; the split hand then plays out,//           then your first hand, then the dealer.// Expected for the defaults (bet u2xTT--QHf6vE24SXKuro, epoch 0 nonce 0, 0.10 CAD)://   commitment  = 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a//   deal        = you 8♦ 4♠ · dealer 5♦ (hole card J♥); you stand on 12, the dealer draws shoe[4] = K♣//                 and busts with 25 — a win, paid 0.20 on the 0.10 stake
6.9Python Verification Script

The same verifier in Python 3, standard library only — save as verify-blackjack.py and run python3 verify-blackjack.py <serverSeed> <clientSeed> <nonce>:

verify-blackjack.py · Python 3 · stdlib only · Verified
# verify-blackjack.py — standalone LIQD Blackjack verifier (Python 3, stdlib only)# Usage: python3 verify-blackjack.py <serverSeed> <clientSeed> <nonce>import hashlib, hmac, sys args = sys.argv[1:] or ['265595de7339e9ef94e96024f824d574', 'auditfd77f679f966', '0']server_seed, client_seed, nonce = args[0], args[1], int(args[2]) # 1) Commitment — SHA-256 of the seed's hex string as UTF-8 text; compare it with the hash you saved before bettingprint('commitment  =', hashlib.sha256(server_seed.encode('utf-8')).hexdigest()) # 2) One draw over `rng` values — HMAC-SHA256 keyed on the 16 decoded seed bytes, message client_seed:nonce:cursor;#    read the digest as eight big-endian 32-bit numbers and keep the first one below max_fair, mod rngkey = bytes.fromhex(server_seed)def draw(cursor, rng):    digest = hmac.new(key, f'{client_seed}:{nonce}:{cursor}'.encode(), hashlib.sha256).digest()    max_fair = (2 ** 32 // rng) * rng    for offset in range(0, 32, 4):        value = int.from_bytes(digest[offset:offset + 4], 'big')        if value < max_fair:            return value % rng    raise ValueError('all eight chunks rejected: the specification gives no rule for this case (no captured draw came near it)') # 3) The shoe — 8 decks in the order CLUB, HEART, SPADE, DIAMOND × ranks 1 (ace) … 13 (king), 416 cards;#    then a backward Fisher-Yates: for i = 415 down to 1, swap position i with position draw(i, i + 1)SUITS = ['CLUB', 'HEART', 'SPADE', 'DIAMOND']shoe = [f'{SUITS[(x % 52) // 13]}:{x % 13 + 1}' for x in range(416)]for i in range(415, 0, -1):    j = draw(i, i + 1)    shoe[i], shoe[j] = shoe[j], shoe[i] # 4) Read the deal off the top of the shoedef pretty(card):    suit, rank = card.split(':')    return {'1': 'A', '11': 'J', '12': 'Q', '13': 'K'}.get(rank, rank) + {'CLUB': '♣', 'HEART': '♥', 'SPADE': '♠', 'DIAMOND': '♦'}[suit]print('shoe[0..15] =', ' '.join(shoe[:16]))print('as cards    =', ' '.join(pretty(c) for c in shoe[:16]))print(f'deal        = you {pretty(shoe[0])} {pretty(shoe[2])} · dealer {pretty(shoe[1])} (hole card {pretty(shoe[3])})')# No split: your hits (or your double card) take shoe[4], shoe[5], … in order, then the dealer draws.# Split:    shoe[4] completes your first hand and shoe[5] the split hand; the split hand then plays out,#           then your first hand, then the dealer.# Expected for the defaults (bet u2xTT--QHf6vE24SXKuro, epoch 0 nonce 0, 0.10 CAD):#   commitment  = 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a#   deal        = you 8♦ 4♠ · dealer 5♦ (hole card J♥); you stand on 12, the dealer draws shoe[4] = K♣#                 and busts with 25 — a win, paid 0.20 on the 0.10 stake
Expected output (both scripts, run as-is): commitment 3b09fb3b3fa69133087c13b75a223ed3849d82eee29329d66fe84c1d7fa8d35a, shoe head DIAMOND:8 DIAMOND:5 SPADE:4 HEART:11 CLUB:13 and the deal “you 8♦ 4♠ · dealer 5♦ (hole card J♥)” — the dataset’s epoch 0, nonce 0 hand, where the player stands on 12 and the dealer draws the K♣ to bust with 25. Both scripts were run on all 8,579 captured hands and reproduce every commitment and every card.
6.10Evidence Screenshots & Records3 records

The game page record and LIQD’s account bet history are the package’s evidence files; LIQD’s verifier replies sit in the capture files in data/. The walkthrough’s screenshots are page captures from liqd.com, outside the package’s evidence set.

2 columns
FileShows
rtp-page-labels-2026-10-01.jsonThe RTP and house-edge figures on LIQD’s Blackjack game page, read logged out on 1 October 2026 — the source of the RTP claim (S4.2)
liqd-account-bet-history-2026-11-11/SHA256SUMSLIQD’s own bet history for the capture account — 29 pages read on 11 November 2026, each pinned here by SHA-256; it records the full 0.025 USDT payout on all 66 sub-cent naturals (S4.14)
liqd-account-bet-history-2026-11-11/sb-naturals.csvThe 68 bet-history rows of the side-bet run’s two-card 21s, extracted from those pages and checked against them by npm test
✓  Any Player Can Reproduce Blackjack Results

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

07

Reproducibility & Artifacts

Can anyone independently reproduce every scored check in this audit?

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

Open-Source Audit Repository

v1.1.0release audited

Repository Details

Prerequisites

  • Node.js 22.23.1 or a later 22.x: npm test needs nothing installed
  • Git
  • TypeScript tools via npm ci (TypeScript 5.9.3, ts-node 10.9.2, Mocha 11.7.6), for the source commands
  • Python 3, only for the optional replays in replay/ and the exact-calculation check in anchor/
v1.1.0release audited
github.com/ProvablyFair-org/liqd-blackjack

Commands to Reproduce

Everything ships inside the repo: the 8,579-hand dataset, the capture files it was built from and the committed results, with the dataset’s hash checked before anything runs. npm test needs only Node.js 22: it runs the 118 unit tests, the exact 8-deck solves among them, and the 31-step verification, then checks the release and LIQD’s bet history. Our run for this report took about 9 minutes on two CPU cores.

sh
git clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjackgit checkout v1.1.0npm ci # The test gate: 118 unit tests + 31-step verification + release-manifest, evidence and account-history checks# (the simulation replay and the mutation battery run separately)npm test
Expected output
> blackjack-audit@1.1.0 test> node scripts/check-standalone.mjs && node test.js && node verify.js && node scripts/release-manifest.mjs --check && node scripts/check-docs.mjs && node scripts/check-account-history.mjs [standalone] Source inventory, unit-test inventory and both compiled entry points match the build manifest.[standalone] Audit ID PF-2026-LQ01, 118 unit specs and 31 scored steps: MANIFEST.md, README.md and outputs/verification-results.json agree with src/config.ts.TAP version 13…# tests 118# suites 30# pass 118# fail 0…[standalone] 118/118 unit specs passed (src/config.ts EXPECTED_UNIT_TESTS). ══════════════════════════════════════════════════════════  LIQD BLACKJACK — VERIFICATION SUITE══════════════════════════════════════════════════════════…  Passed: 31/31  Verdict: PROVABLY FAIR — Full Pass══════════════════════════════════════════════════════════   Output (this run only): outputs/run/verification-results.json, outputs/run/report-figures.json, outputs/run/diff.json  Committed artifacts NOT modified. Use `PF_EMIT=1 npm run verify` to propose replacements.  Reproduction vs the committed artifacts on Node 22.23.4: REPRODUCED  [release-manifest] OK: release bar met; 29 artifact hashes match disk, verdict "PROVABLY FAIR — Full Pass", scored 31/31[check-docs] OK: 39 evidence files match their SHA-256 in evidence.md; exploit-testing.md declares 106 mutations and 18 matrix rows; SUMMARY.md links resolve.[account-history] OK: 29 history pages match SHA256SUMS (1450 rows); 66/66 cent-floored naturals have a row whose USDT payout equals the reply's wallet fields, and whose USD placedPayout is that payout cut to the cent on 66/66; sb-naturals.csv: 68/68 rows equal their page row.
Audit Reproducibility Pinning28 records
Release Commit
9a3b5449ecd5457af97208c533f3ccb8b17f89a9 — github.com/ProvablyFair-org/liqd-blackjack/commit/9a3b544
Framework
ProvablyFair.org Audit Framework 1.1 · Blackjack profile 1.0.2 · RTP-CLAIM 1.2.0
Release Signature
Release commit and tag signed with the ProvablyFair.org release key (SSH, SHA256:gEujiJm2pRyq7lQsfYQfQ1r97H/J7GdaKHbOW8GtikY), recorded in RELEASE-MANIFEST.json
Node Version
22, at least 22.23.1 (package.json engines >=22.23.1 <23 and .nvmrc) — release run on 22.23.1, this report’s runs on 22.23.4
Primary Dataset
data/blackjack-prod-8579hands.json (8,579 rounds, 8,917 player hands, 48,429 cards, 47 seed epochs of 100 to 200)
Primary Dataset Hash (SHA-256)
1492b78052b010a51eb07d75c5c668b4e683a970d866d9db563cd78812077c4c
Rule Set
Single-sourced in src/config.ts RULES (11 rules); the solver’s rules and anchor/rules.json must equal it field for field (Step 25)
Exact-RTP Artifact Hash (SHA-256)
f89b1920086bf0af17dbf5f30350bfef259a6fa0f934631a7ffa41e34cec4611
RTP Claim Table Hash (SHA-256)
b3baa192f9f4cdcff30f8707b7ae2ca28a9a410f04fb4f1e5be6d52d8847230a
Simulation Artifact Hash (SHA-256)
2b128b2aa3fefe53c86022181c9b24fa749cd3c9b879c0fc8c06e50b6c5d8593
Convergence Chart Hash (SHA-256)
8155d12e37b55ea26852bc13d75a160b900e636e5f02302e466096a7c213dfd5
Simulation Provenance Hash (SHA-256)
a596d70ca640ba75ad4efdc263ba2449f891303f2f4f828aefdd4879892089d3
Bootstrap Nulls Hash (SHA-256)
33057ac9cc86b15c4a6e1299c2cbb82632a9ec9763c1989eea3ee2a10f2c7084
Deep-Replay Report Hash (SHA-256)
b95cbf2bc50c2a951c25b955bcd57f87d387013aa9da2228b49b91a9b5caf295
Bootstrap-Replay Report Hash (SHA-256)
a2aaa309caf912c471969bf3d9df4b75d89a9b0ab976dbdeea6b9de8999a48bb
Seed-Grind Experiment Hash (SHA-256)
647bd63f7cf3ba99ef0ce749315ccab0f2325539bbc065d7681216578add30f0
RNG Branch-Coverage Hash (SHA-256)
99475c16b316d23bca1819d5d7dd6b33318081dac173b8ad24d117e46cae66a7
Verification Results Hash (SHA-256)
e50feb94ca615df8aa296d48c3fd6a80a75a506067f15d96055814303bf22fd4
Capture Files (SHA-256)
Four production capture files and a supplement in data/, shipped as captured and pinned: A b85e221a…, side-bet run db5016f1… with its supplement 44b6cc69…, D/B/C/F 23eaeb23…, E 6a4b94a2…; node convert/rebuild.mjs rebuilds the dataset from them byte for byte (Step 25)
LIQD Account Bet History
evidence/liqd-account-bet-history-2026-11-11/ — 29 pages pinned in SHA256SUMS (5c8d6069…), checked by npm test (scripts/check-account-history.mjs)
Reproduction Gate
Every run writes only to outputs/run/ and is compared field by field with the committed artifacts (outputs/run/diff.json) — exact content byte for byte, a derived floating-point statistic within 1e-14 + 1e-12 relative; anything beyond tolerance exits 1
Exit Codes
0 Full Pass · 2 a flag with no fail (Conditional Pass) · 5 RTP FIGURE OVERSTATED · 1 hard fail or reproduction beyond tolerance
Mutation Battery
106 declared mutations in tests/mutations.json, each naming the guard it must break (npm run mutate, outside npm test). The package records the battery, run on commit 2ac41e8, whose code differs from the release’s only in comments and wording: all 105 entries it ran were killed by the guard they name, 0 survivors
Runtime
npm test 9 min 17 s on 2 CPU cores (Node 22.23.4); npm run simulate, outside npm test, 36 min 49 s on the same machine
Capture Environment
LIQD’s public production site, liqd.com · one anonymous, self-funded player account · four capture sessions on 8 and 10 November 2026
Audit Date
November 2026 (captured 8 and 10 November 2026); RTP page read 1 October 2026; LIQD account bet history read 11 November 2026
Audit ID
PF-2026-LQ01
Output Artifacts12 files committed
3 columns
FileContentsSize
verification-results.jsonSteps 1–31 results — per-step pass states with evidence detail strings, profile coverage (BLACKJACK-01 … BLACKJACK-30), the full SHA-256 of the pinned artifacts (artifactHashes), info items, verdict~82 KB
report-figures.jsonEvery figure quoted in the report — population, money path, insurance ledger, wallet chain, naturals, cent floor, side-bet categories and 11 worked rounds — re-derived field for field by Step 25~20 KB
exact-rtp.jsonThe exact figures of record — the 8-deck basic-strategy solve (99.512325% / 0.487675%), the one-deck sensitivity, the Wizard of Odds anchor and the per-round moments Step 19 uses; npm run rtp regenerates it byte-identically~5 KB
rtp-claim-table.jsonThe RTP claim rule’s table — LIQD’s published 99.52% against the one setting, with exact RTP, gap and outcome~2 KB
simulation-results.jsonPass 0 (30M fair-shuffle rounds), Pass 1 (1M real-shoe rounds, 100 census rows) and Pass 2 (47 seeds × 20,000 nonces) with their retained replay inputs and the convergence trace~234 KB
simulation-provenance.jsonWhat produced the simulation: master seed, derivation rule, modules, digests and per-pass replay commands~4 KB
rtp-convergence.htmlStatic inline-SVG convergence chart of the 30M-round trace (this page re-renders the same trace)~6 KB
bootstrap-nulls.float64leThe 2,000 retained Pass 2 bootstrap statistics, in generation order~16 KB
bootstrap-replay-report.jsonIndependent Python reconstruction of Pass 2’s rank screen — all 2,000 statistics byte for byte, 0 mismatches~11 KB
deep-replay-report.jsonRe-deal of all three simulation passes — 209 values compared, verdict PASS~1.5 KB
cherry-pick-attack.jsonThe seed-grind experiment: 50 candidate seeds × 47 epochs against the Step 19 money rule — 20 / 47 flagged, pooled z −15.47~32 KB
rng-branch-coverage.jsonBranch coverage of the draw over the 3,560,285 captured draws — 1 later-chunk accept, 0 fallbacks — and the exposure bounds if rejection were omitted~2.3 KB
Repository Structure
liqd-blackjack/
├── src/
│   ├── rng.ts                  → commitHash · HMAC draw with rejection (maxFairFor) · blackjackShoe (backward Fisher-Yates, 416 cards) · dealtHands — written from docs/ALGORITHM.md
│   ├── bias.ts                 → the draw-bias bound Step 6 prints, on rng.ts’s own maxFairFor
│   ├── config.ts               → the rule set (RULES), paytables, phase, capture and epoch plans, artifact and capture-file pins, simulation shape
│   ├── loader.ts               → dataset loader + SHA-256 guard; deletes the capture’s own recomputation fields before any step runs
│   ├── captures.ts             → reads the shipped capture files, each checked against its pin: LIQD’s verifier replies (Step 6) and open-round replies (Step 13)
│   ├── prod-runner.ts          → the client seeds, script builds and epoch plan as the dataset records them (Step 7)
│   ├── settlement.ts           → how LIQD books a hand: the rule amount, even money, the cent floor, the wallet arithmetic (Steps 8–10)
│   ├── doubles.ts              → which hand each `double` token belongs to (Step 8b)
│   ├── money.ts                → integer 1e-8 settlement units for every money check
│   ├── strategy.ts             → the total-dependent basic-strategy table, shared by the solver and the simulation
│   ├── exact-play.ts           → the exact finite-shoe EV solver → outputs/exact-rtp.json (npm run rtp)
│   ├── optimal-play.ts         → infinite-deck engine (a regression anchor only)
│   ├── round-engine.ts         → the round engine the simulation passes play, bound to the exact solve
│   ├── shuffle.ts · prng.ts    → lazy Fisher-Yates and the seeded xoshiro128** stream of the Pass 0 reference shuffle
│   ├── simulate.ts · replay.ts · replay-pool.ts · seed-derivation.ts → the three simulation passes from the pinned master seed (npm run simulate)
│   ├── deep-replay.ts          → re-deals all three passes and compares every published statistic
│   ├── cherry-pick-attack.ts   → the 50-candidate seed-grind experiment (npm run attack)
│   ├── rng-branch-audit.ts     → which branches of the draw the captured draws took (npm run branches)
│   ├── calibration.ts          → fresh-seed calibration of the Step 18 uniformity test (npm run calibrate)
│   ├── sidebets.ts · sidebet-edges.ts → side-bet evaluators (Steps 15–16) and their exact edges
│   ├── 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 one-setting RTP table and LIQD’s published claim
│   ├── report-figures.ts       → derived report figures, re-derived field for field by Step 25
│   ├── site-verifier.ts        → loads the vendored ProvablyFair.org verifier for the Step 6 parity arm
│   ├── profile-map.ts          → which Blackjack profile check (BLACKJACK-01 … BLACKJACK-30) each step implements
│   └── domains.ts · diff.ts · stats.ts · types.ts → value domains, run-vs-committed diff, statistics, record types
├── anchor/                     → oracle.py (the exact-rational tiny-shoe oracle) · policy.json · rules.json
├── convert/                    → the converter that built the dataset from the capture files, byte for byte as it ran, and rebuild.mjs (Step 25)
├── docs/
│   ├── ALGORITHM.md            → the written specification the RNG is built from
│   ├── INTERFACE.md            → the module interface the RNG implements
│   └── algorithm-spec-check.out.txt · algorithm-spec-vectors.json → every count the specification cites, re-measured independently
├── verifier-parity/            → the ProvablyFair.org site verifier, vendored byte for byte and pinned (Step 6)
├── tests/
│   ├── verify.ts               → 31-step verification runner (results under outputs/run/; PF_EMIT=1 to regenerate the committed record)
│   ├── blackjack/              → 118 unit tests in twelve files — RNG specification and vectors, exact solver, oracle, Wizard of Odds anchor, round engine, side-bet edges, site verifier, replay, anti-circularity, artifacts
│   ├── mutations.json · mutate.ts → 106 declared mutations and their runner (npm run mutate)
│   └── steps/
│       ├── commitment.ts       → Steps 1–5: commit-reveal integrity, nonce window, epoch size
│       ├── parity.ts           → Steps 6–7: card recomputation (with the site-verifier arm, LIQD’s verifier replies and the bias census), client-seed dependence
│       ├── payouts.ts          → Steps 8–10: per-hand payouts and double bets, 3:2, insurance and the wallet reads
│       ├── rules.ts            → Steps 11–14: S17, DAS, peek (with the open-round reply sweep), no surrender
│       ├── sidebets.ts         → Steps 15–16: Perfect Pairs, 21+3
│       ├── simulation.ts       → Steps 17–19: exact RTP vs simulation, Pass 1, Pass 2
│       ├── houseedge.ts        → Steps 20–21: house-edge reconciliation (with the RTP claim rule), the currency path
│       ├── standardization.ts  → Steps 22–31: stakes, side-bet config, phases, artifact hashes, client seeds, split and insurance rules, deal-time invariance, deck model, stake brackets
│       └── hands.ts · context.ts → shared helpers
├── data/
│   ├── blackjack-prod-8579hands.json → 8,579 rounds · 47 epochs · 7 phases · SHA-256 pinned
│   └── liqd-blackjack-prod-capture-….ndjson → the four production capture files and the side-bet run’s supplement, as captured, SHA-256 pinned
├── outputs/                    → the committed run; every run writes its own results under outputs/run/
│   ├── verification-results.json · report-figures.json
│   ├── exact-rtp.json · rtp-claim-table.json
│   ├── simulation-results.json · simulation-provenance.json · rtp-convergence.html
│   ├── bootstrap-nulls.float64le · bootstrap-replay-report.json · deep-replay-report.json
│   └── cherry-pick-attack.json · rng-branch-coverage.json
├── replay/                     → replay-bootstrap.py: the Pass 2 bootstrap null and every p-value, in Python’s standard library
├── evidence/                   → the game page’s published RTP figures (1 October 2026) and LIQD’s account bet history for the capture account (11 November 2026)
├── scripts/                    → standalone build + check, release manifest + release bar, site-verifier check, evidence and account-history checks, the specification re-measurement
├── .github/workflows/reproduce.yml → second-machine reproduction on a clean runner
├── test.js · verify.js         → dependency-free bundles run by `npm test`
├── standalone-manifest.json    → source, unit-test and bundle hashes
├── README.md · MANIFEST.md · evidence.md · exploit-testing.md · SUMMARY.md → the report (findings, evidence register, integrity and mutation matrix, worked examples, limitations)
├── RELEASE-MANIFEST.json       → release identity: tag, framework, artifact hashes, verdict, signing key
└── package.json · package-lock.json · tsconfig.json · .mocharc.yml · .nvmrc · .gitattributes · .gitignore · hygiene-allow.json · LICENSE
Step-to-Section Cross-Reference31 verification steps mapped
3 columns
StepTest NameReport Section
1Commitment RevealS1, S2
2Pre-Commitment ChainS1
3Within-Epoch Hash ConsistencyS1
4Nonce ContinuityS1
5Epoch SizeS1
6Recomputation ParityS1, S2, S3, S6
7Client-Seed DependenceS1, S2
8Per-Hand Payout (reconstructed from cards)S3, S4
9Blackjack Pays 3:2S3, S4
10Insurance: Answer Honoured, Accepted Insurance Pays 2:1S3, S4
11Dealer Stands on Soft 17 (S17)S3
12Double-After-Split Allowed (DAS)S3
13Dealer Peeks for BlackjackS3
14No Surrender Action ObservedS3
15Perfect Pairs Side BetS3, S4
1621+3 Side BetS3, S4
17Basic-strategy RTP vs exact 8-deck solverS4
18Simulation Pass 1 — first-card uniformity, serial independence, RTP vs the exact solveS2, S4
19Simulation Pass 2 — cherry-pick detection (casino seeds)S4
20House-edge reconciliation (published figures vs the exact edge)S4 (also scores the RTP claim rule)
21No FX haircut between the booked amounts and the wallet creditsS4
22Bet-Size Invariance (Phase E)S2, S3, S4
23Side-Bet Config CompletenessS3
24Phase Coverage & LabelsS3
25Artifact Hash IntegrityS1, S2, S4, S7
26Client-Seed VariationS1, S2, S3, S6
27Split Rules VerificationS3
28Insurance Offer ConditionS3
29Side-Bet Deal-Time InvarianceS3
30Deck-Model ConfirmationS2, S3
31Stake Bracket BoundsS3, S4
Game Profile CoverageBlackjack profile 1.0.2 · 30 checks

Every check in the ProvablyFair.org Blackjack profile, version 1.0.2, is covered by a scored step, by a package check, or marked n/a with a reason — 23 by scored steps, 6 by package checks, 1 n/a. For BLACKJACK-09 the row states the exact scope it covers. The map ships in src/profile-map.ts and is written into each run’s verification results.

4 columns
CheckWhat it requiresCovered byCoverage
BLACKJACK-01Every revealed seed hashes to its commitmentStep 1Full
BLACKJACK-02Next-seed pre-commitment chain, including the pre-capture linkStep 2Full
BLACKJACK-03One commitment and one client seed per epochStep 3Full
BLACKJACK-04Nonce window — no gaps, repeats or out-of-window noncesStep 4Full
BLACKJACK-05Audited population bound to code constants — epochs, epoch size, hands, per-phase counts and stakesSteps 5, 24, 31Full
BLACKJACK-06Client-seed influence, and the client-seed generator disclosedSteps 7, 26Full
BLACKJACK-07Every captured hand recomputes card for card in strict draw order, split rounds includedStep 6Full
BLACKJACK-08Draw-bias bound computed on the implementation’s own draw, with the rejection censusStep 6Full
BLACKJACK-09Reference RNG provenance and known-input vectorsPackage check: docs/ALGORITHM.md; rngSpecTests.ts and rngTests.ts in tests/blackjack/The specification’s five worked rounds, a real captured shoe and the validation vectors LIQD supplied with its specification, plus LIQD’s production verifier agreeing on the shoe of every round (Step 6); the RNG is our own implementation, written from the specification
BLACKJACK-10Rules replay — deal order, the action stream, the dealer’s S17 and peekSteps 6, 11, 13Full
BLACKJACK-11Money path — every per-hand credit rebuilt from the cards, round credits reconciled in exact unitsStep 8Full
BLACKJACK-12Bet-size invarianceStep 22Full
BLACKJACK-13Settlement — naturals 3:2, doubles, splits, pushes, insurance 2:1Steps 8, 9, 10Full
BLACKJACK-14Side bets — categories and paytables, every category exercised, fixed at the dealSteps 15, 16, 23, 29Full
BLACKJACK-15Rule table and coverage floors — splits, ace splits, DAS, doubles, surrender, insurance offers, stakesSteps 12, 14, 27, 28, 31Full
BLACKJACK-16Wallet balance ledger reconciliation—N/A — LIQD’s round replies carry no balance field and no wallet debit, so there is no per-round balance ledger to reconcile; the credit side is checked exactly in Step 8, and the wallet reads around all 165 accepted insurances reconcile exactly in Step 10
BLACKJACK-17Deck model — the finite 8-deck shoe confirmed from the dataStep 30Full — and none of the 12,213 replies LIQD sent while a round was open shows the hole card (Step 13); hidden hand state and mid-round rotation are tested live in S5 (LIQD-BJ-EXTRA-001, LIQD-BJ-SEED-004)
BLACKJACK-18Exact RTP derived from the rules, anchored outside the solverStep 17Full
BLACKJACK-19Published edge reconciled against the exact figure; the RTP claim rule; the currency path, booked amount to wallet creditSteps 20, 21Full
BLACKJACK-20Simulation Pass 1 — 1,000,000 real-shoe rounds, re-derived rather than trustedStep 18Full
BLACKJACK-21Cherry-pick screen over every revealed seed, with its power statedStep 19Full
BLACKJACK-22Live-sample fit (informational)Step 30Full
BLACKJACK-23Framework fairness-integrity rows, kept as a package checklist — BJ-S5-01 … BJ-S5-18, each tied to a step or a limitation (Section 5 reports the live integrity tests)Package check: exploit-testing.md matrix, linked from MANIFEST.mdFull
BLACKJACK-24Player-verifier parity — the ProvablyFair.org verifier, hash-matched and executedStep 6Full
BLACKJACK-25Player verification path with a worked betPackage check: MANIFEST.md Verify a betFull
BLACKJACK-26Dataset and rule set pinned before any step scoresStep 25Full
BLACKJACK-27Artifacts of record pinned and re-hashed; every numeric value inside a declared domainStep 25Full
BLACKJACK-28Release gate — zero-install npm test, pinned runtime, field-by-field reproduction diffPackage check: package.json, .nvmrc, scripts/check-standalone.mjs, src/diff.tsFull
BLACKJACK-29Mutation batteryPackage check: tests/mutations.json, tests/mutate.tsFull
BLACKJACK-30Limitations register and numbered evidencePackage check: MANIFEST.md limitations register and evidence.md (E01 … E17)Full
reproduce-audit.sh
reproduce-audit.sh
# Clone and setupgit clone https://github.com/ProvablyFair-org/liqd-blackjack.gitcd liqd-blackjackgit checkout v1.1.0npm ci # The test gate: 118 unit tests + the 31 verification steps + the release-manifest, evidence and# account-history checks (the simulation replay and the mutation battery run separately)npm test # Or run individual componentsnpm run verify     # 31-step verification from source — writes outputs/run/, never the committed resultsnpm run rtp        # the exact 8-deck basic-strategy solve → outputs/exact-rtp.json (byte-identical)npm run simulate   # replays the committed simulation from its pinned master seed into outputs/run/node convert/rebuild.mjs   # rebuilds the dataset from the shipped capture files and prints its SHA-256 # View the committed resultscat outputs/verification-results.jsoncat outputs/rtp-claim-table.json
provablyfair.org/verify-bets/liqd
This is an open-source audit. Every scored finding, dataset, and line of verification code is publicly accessible. You don't need to trust us or the casino. Clone the repo, run the tests, and reproduce every scored result yourself.
✓  Fully Reproducible

Every scored result reproduces from release v1.1.0 with the commands above. The dataset is pinned by SHA-256 and checked before any check runs, so you are testing the same 8,579 hands we did, and it rebuilds byte for byte from the capture files shipped beside it. The ten records behind this report are pinned the same way and checked on every run, and npm run simulate deals the 30-million-round simulation again from its saved seed.