🦙
Llamabet
Games▾
More·Articles▾
Sui Mainnet
Llamabet/Articles/Provably-Fair Crypto Casino
← Back to articlesGuides · Provably fair on Sui · Jul 24, 2026

Provably-Fair Crypto Casino

A provably-fair casino is one where you never have to take the operator's word for anything — you can check the math yourself. Llamabet commits a cryptographic fingerprint of every shuffled deck and random seed to the Sui blockchain before a single bet is accepted, then reveals the underlying inputs after the round, so anyone with a hash function can recompute the outcome and confirm nothing was rigged. This page explains exactly how that works, how to run the check yourself, and — just as important — what provable fairness does and does not promise.

Play a provably-fair game →

What 'provably fair' actually means

Traditional online casinos ask you to trust a black box. A random number generator runs on a private server, an auditor inspects it once a year, and you get a certificate as reassurance. Provable fairness replaces that arrangement with cryptography. The casino publishes a commitment — a SHA-256 hash — of its secret randomness before you bet. A hash is a one-way fingerprint: publishing it locks the house into that exact randomness without revealing it, so the operator cannot change the deck after seeing your wager, and you cannot predict the cards from the hash alone. After the round, the secret is revealed. You hash it yourself and it must match the commitment published earlier. If it matches, the outcome was mathematically fixed before your money moved. If it ever failed to match, you would hold cryptographic proof of cheating that anyone in the world could independently verify.

The commit-reveal flow on Llamabet, step by step

Here is the exact sequence. First, the server generates a secret seed and combines it with a client seed to deterministically shuffle a fresh shoe or derive a roll. Second, the SHA-256 hash of that server seed is committed to the Sui blockchain — the commitment transaction is signed with a BLS key, checked by the smart contract, and frozen into an immutable on-chain object that nobody, including the house, can edit or delete. Third, you place your bet and play; every card you receive comes from a deck that was already fixed by the committed seed. Fourth, once the round completes, the server seed is revealed. Fifth, anyone can hash the revealed seed, compare it against the on-chain commitment, and re-run the published deterministic shuffle to reproduce the exact deck, card by card. The order of operations is the entire point: commitment on-chain first, bet second, reveal last. The house shows its hand before you show yours.

Why the on-chain part matters

A commit-reveal scheme is only as strong as the place the commitment lives. If the hash sits in the casino's own database, the casino could quietly swap it after the fact and you would never know. Llamabet publishes its commitments on Sui, a public layer-1 blockchain, where the record is timestamped by the network, signature-verified by the contract, and frozen — Sui's object model allows an object to be made permanently immutable, so the commitment literally cannot be altered or deleted by anyone once it exists. That upgrades 'the house promised' to 'the chain recorded'. You can inspect the commitment transaction on any Sui explorer, and every contract address involved is published at /contracts, so you can confirm you are looking at the genuine article rather than a lookalike.

How each Llamabet game applies it

Blackjack deals from a four-deck shoe whose full order is derived from the committed seed — every hit, every double and every dealer card was determined before your bet landed. Roulette maps the same committed randomness to a wheel number instead of a deck. Dice derives a roll against your chosen target, with a payout formula you can read off the screen: 99 divided by your win chance, a flat 1% edge with no fine print. Poker shuffles every multiplayer hand from committed randomness too, and because many players share one deck, hands are chained together and individually checkable at /poker/verify. Across all games the minimum bet is 1 SUI, winnings pay out on-chain in about a second, and the same commit-reveal spine sits underneath everything.

How to verify a round yourself

You do not need to be a developer. Every game surface exposes three artifacts: the server-seed hash that was committed before play, the client seed, and the revealed server seed after the round. Verification is two checks. Check one: SHA-256 the revealed seed — any hash tool will do — and confirm it equals the committed hash. Check two: run the seeds through the published deterministic shuffle and confirm the reproduced deck or roll matches exactly what you were dealt. For poker there is a self-serve verifier at /poker/verify that performs both checks in your browser. And because the commitment lives on Sui, you can pull up the transaction on a Sui explorer and confirm from network timestamps that the commitment predates your bet. No support ticket, no trust, no permission required.

Provably fair vs RNG certificates

Certified RNGs are not worthless — they are simply a much weaker guarantee. A lab certificate says that at the moment of testing, the operator's random number generator produced statistically random output. It says nothing about what the server actually did on the specific hand where you lost, and it requires you to trust the auditor, the operator's production deployment, and everything in between staying honest between audits. Provable fairness is per-round and trustless: every single hand carries its own proof, checkable by you personally, with no auditor in the loop and no gap between what was tested and what was played. It converts fairness from an annual attestation into a verifiable property of each individual outcome.

What provable fairness does not promise

Honesty matters here, so let us be precise: provable fairness proves the shuffle was fixed before your bet and never tampered with. It does not make you win. Every Llamabet game carries a house edge — blackjack runs around 0.5% with sound basic strategy, dice is exactly 1%, roulette is 2.70% on a single-zero wheel and 5.26% on the American double-zero layout — and over enough rounds the edge grinds. A provably-fair casino is a casino where you will lose fairly, at published odds, with no thumb on the scale; it is not a casino where you stop losing. Treat play as entertainment, set a budget before you sit down, and never stake funds you cannot afford to lose.

Frequently asked questions

What makes a crypto casino provably fair?

A provably-fair casino publishes a cryptographic commitment — a SHA-256 hash of the shuffled deck or random seed — before you bet, then reveals the underlying seed afterward. Because Llamabet's commitment is frozen on the Sui blockchain, immutable and timestamped, the operator cannot change the outcome after seeing your wager, and you can recompute the result yourself to confirm it.

Can I verify a Llamabet game myself?

Yes. Every game exposes the committed server-seed hash, your client seed and the revealed seed. Hash the revealed seed to confirm it matches the commitment, then run both seeds through the published deterministic shuffle to reproduce the exact deck or roll. Poker hands can be checked in-browser at /poker/verify, and commitments are inspectable on any Sui explorer.

Does provably fair mean I am more likely to win?

No. It guarantees the game is honest — outcomes fixed before your bet, at the published house edge — but the edge still exists: roughly 0.5% at blackjack with basic strategy, 1% at dice, 2.70% or 5.26% at roulette. Provable fairness removes cheating from the equation, not variance or the edge.

Sources

  • Sui docs — immutable (frozen) objects
  • Wizard of Odds — blackjack house edge
  • Wizard of Odds — roulette house edge
Found this useful? Share it with the timeline.
Help a fellow degen play provably fair. GM.
𝕏 Share on X

Keep exploring

Sui Blockchain CasinoCrypto BlackjackCrypto Dice
← All articlesAll gamesDocsProvable fairnessPlay responsibly