Mechanics
How a Llamabet baccarat hand is actually built, from seed to settlement.
Building the shoe
- 1Commit — a rotating server seed is generated, and its SHA-256 hash is published on the Sui blockchain before anyone bets. The seed itself stays secret.
- 2Mix — when you deal, we hash your client seed, the secret server seed, your bet's on-chain transaction digest, and its timestamp together.
- 3Shuffle — that hash keys an HMAC-SHA256 keystream, which drives a Fisher–Yates shuffle over a 416-card, eight-deck shoe. Rejection sampling keeps every ordering equally likely.
- 4Deal — cards come off the top: Player, Banker, Player, Banker, then any third cards the rules call for.
- 5Reveal — once the seed rotates out of service we publish it, and you can repeat all of the above yourself.
Why your seed matters
Because the shoe depends on both seeds, neither side can choose the cards alone. We cannot pick a shoe to beat you, because we do not know your seed until you bet; you cannot pick one to beat us, because the server seed is fixed and its hash is already on-chain. You can change your client seed at any time from the fairness panel.
Settlement
Each bet on your ticket is settled independently against the same hand — you can win Banker and lose Player Pair on one deal. Payouts are computed in whole MIST using exact fractions rather than decimals, and always rounded down, so the arithmetic is reproducible to the last unit.
The house cannot be caught short
Before a single card is dealt, we compute the largest amount your ticket could possibly win across every outcome the hand can take — including the case where a Tie and both pair bets land together — and confirm the house can cover it. If it cannot, the hand is not dealt and your stake is refunded rather than played out into a payout we could not honour.