How MAY's commit-reveal works

1

Both sides commit before play

When you open a session, your browser generates a secret hash chain of 4096 values and commits only its root; the house does the same. A sessionSeed is fixed on-chain (Pyth Entropy) at open. At this point every future card and number is already determined โ€” but neither side can compute any of them alone.

2

Each outcome needs both reveals

For outcome k, both sides walk one step down their hash chains and exchange reveals. The result is pure math: outcome_k = keccak256(playerReveal, houseReveal, sessionSeed, channelId, k) mod N (N = 52 for cards, 37 for the wheel). A reveal is valid only if it hashes back to the previous link โ€” forgery is impossible.

3

Every state is dual-signed

After each action both parties sign the new game state (EIP-712, via burner session keys that cannot move funds). If anyone disconnects or stalls, the chain enforces the last dual-signed state. If the house stalls, your open round is voided in your favor and you're paid compensation from the house bond.

4

Contracts settle, not us

Your deposit sits in the ChannelManager escrow on Arbitrum One. Cooperative close pays out instantly; forceClose guarantees your exit even if MAY vanishes forever; reclaimStale is the final backstop. Any disputed transition is checked by the on-chain rules verifiers (Blackjack / Roulette via GameMux) โ€” cheating is provable and punished.

5

Contrast with "server seed" casinos

Typical provably-fair casinos generate and hold a server seed, hold your deposit, and process withdrawals at their discretion. MAY has no unilateral seed, no custody, no withdrawal queue โ€” just math and contracts you can read.

Live verifier

Recompute an outcome entirely in your browser. Paste the reveal pair, session seed, and channel id from any round (the SDK exposes them; nothing is sent anywhere).

Also verify a reveal against its prior chain link: keccak256(abi.encode(reveal)) == previousLink โ€” the same check the on-chain verifier does.

Contracts & source

MAY CASINO ยท FAIRNESS IS MATH, NOT MARKETING