Playground

Two sample contracts, one for each way to pay. Send a request and watch the proof come back, usually within a couple of blocks.

Hi-Lo

Subscription method

Will the next ball (1 to 20) be higher or lower? The game’s subscription pays for the randomness; you pay only gas.

…

Connect a wallet to play.

Dice

Direct funding

Pay per roll. The contract quotes the wrapper, pays it, and refunds your change. No subscription involved.

Connect a wallet to roll.