Fairness first

Provably fair Solana games

“Provably fair” means you can verify the outcome — not just trust a server. On Solana, that pairs well with wallet micropayments: see the commit hash before you pay, confirm your SOL landed on mainnet, then check the revealed seed. Garden Dice is a live example with a free demo below.

Verify below Commit-reveal Free demo From 0.001 SOL

What “provably fair” actually means

Many games claim fairness. Provably fair games give you evidence:

Model Before you pay After you pay
Provably fair (Garden Dice) SHA-256(server seed) shown as commit hash Server seed revealed; you recompute hash and die face
On-chain only Payment address visible Tx on Solscan — but RNG may still be opaque
Trust the operator Marketing copy No way to audit the roll

Garden Dice combines provably fair dice with on-chain SOL payments — you get both verifiable randomness and a mainnet transaction. Read the deep dive in the commit-reveal explainer or the on-chain games overview.

Try a provably fair roll

Use the demo panel above. You will see a commit hash before rolling — that locks in the server seed. After the roll, compare the revealed seed to the hash. Paid rolls use the same math; your client seed is often your transaction signature.

  1. Free demo — click Free demo roll above. No wallet.
  2. Verify fairness — check that SHA-256(revealed seed) matches the commit.
  3. Pay for on-chain proof — connect a wallet or scan Solana Pay QR from 0.001 SOL.

Guides for fair play on Solana

Stuck at payment?

If your wallet says insufficient SOL even though your balance looks fine, part of it may be rent-locked in empty token accounts from spam airdrops — only spendable SOL counts for payments.

Full beginner path: wallet tutorial or how to play Solana dice.

FAQ

Do provably fair games need a smart contract?
Not necessarily. Garden Dice runs commit-reveal in the browser and ties paid rolls to a direct SOL transfer. Simpler to audit than a custom on-chain RNG program.
Can I verify someone else's roll?
Yes. Share the server seed, client seed, and commit hash. Anyone can recompute the die face — that is the point of provably fair design.
What if I do not understand the math?
Start with the dice explainer. The demo shows the commit before you roll so you can see fairness in action without reading code.
Is this gambling?
No cash payouts. You pay for a verifiable on-chain roll and bragging rights — entertainment, not a casino.
Do I need extra SOL for network fees?
Yes — keep a little extra beyond the roll. The base fee is about 0.000005 SOL per transfer. See Solana transaction fees.
I have SOL but payment says insufficient — why?
Your total balance can include SOL locked as rent in empty token accounts. Close them to reclaim about 0.002 SOL each — wallet cleanup or rent reclaim.

Related guides