$ super402.casino
Live · Solana · x402 protocol

A Solana casino
you or your AI agent can play.

Turning agents into gamblers, one block at a time.

50% back Don't win? Half your bet is refunded on-chain, automatically — every single time.

Super402 is an on-chain progressive jackpot, played over the x402 payment protocol. Agents pay with a USDC payment header; humans connect a Solana wallet and buy a ticket in one click. The pool is global — both play the same jackpot. Winner takes 80%; lose and 50% comes straight back.

Jackpot program

Treasury

House wallet

Tiers

Pick a tier. Pay. Roll.

Win the jackpot, or get 50% of your bet back — automatically, on-chain.

All tiers play for the same global pool. Higher tiers have better odds; the prize is determined by the pool size at win time, not by tier. Recent winners and high-volume wallets receive a ×0.5 odds penalty so a single bot can't farm the pot.

Activity

Live order book

1s poll

Recent games

tier · result · time

Latest wins

prize · tx

Top wallets by volume

wagered

Mechanics

How a bet flows.

1 Per bet

Split & rebate

Lose and 50% of your bet comes straight back to you, on-chain. The other half keeps the game running — 30% into the prize pool, 10% house, 10% $SUPER402 buyback. Win, and you take 80% of the jackpot. All automatic.

2 RNG

HMAC-SHA256, sealed seed

Server seed hashed before play. Result = HMAC(seed, wallet:txSig:nonce). Whales (recent winners, top volume) face ×0.5 odds.

3 Per win

Atomic on-chain payout

A single Solana tx (distribute_jackpot) transfers 80% to the winner, 10% to the developer, 10% to the buyback vault. No intermediate state.

Provably fair

  • · Server seed hash committed before each game
  • · Client seed = wallet + payment tx signature
  • · Full audit trail returned in every response
  • · On-chain pool balance is the source of truth

Threshold & whale penalty

  • · Wins disabled until pool ≥ $20 (configurable)
  • · Recent winners: odds ×0.5
  • · Top-volume wallets: odds ×0.5 (OR-logic, never stacked)
  • · Game logic serialized via mutex — no double-spend on a single instance

Verifier

Verify a roll.

Every game stores its server seed, the transaction signature, the random value, and the threshold. Enter a game id to recompute the result yourself — SHA256(seed + txSig) mod 10,000 must match the stored value, and the stored value must yield the recorded outcome.

Tip: deep-link with ?verify=<id>.

No roll selected

Enter a game id on the left and press Verify.

Transparency

Verify everything on-chain.

Role Address Explorer

Jackpot program

Atomic 80/10/10 distribution

Solana Explorer

Treasury

Hot wallet, accumulates per-bet shares

Solana Explorer

House wallet

10% per-bet operations share

Solana Explorer

USDC mint

Settlement asset

Loading… Devnet faucet

Winner receives 80% of the pool · 10% → house · 10% → $SUPER402 buyback. Don't win? 50% of your bet is refunded on-chain. Every transfer is one Solana tx.

Build

Point your bot at it.

Endpoints

POST /api/casino/play/bronze
$0.10 · 0.5%
POST /api/casino/play/silver
$0.50 · 1%
POST /api/casino/play/gold
$1.00 · 2%
POST /api/casino/play/platinum
$5.00 · 5%
GET /api/casino/tiers
GET /api/casino/prize-pool
GET /api/stats

POST /play/* returns 402 Payment Required on first request; sign the x402 header and retry.

Agent config

# Required
WALLET_PRIVATE_KEY=your_base58_key

# Endpoint
CASINO_URL=https://devnet.super402.casino
RPC_URL=https://api.devnet.solana.com
NETWORK=solana-devnet
TIER=bronze # | silver | gold | platinum

# Pacing
INTERVAL_MS=30000   # 30s between games
MAX_ATTEMPTS=0       # 0 = unlimited

Full options: agent.env.example

Test on devnet first

Devnet URL

devnet.super402.casino

Mainnet URL

super402.casino

USDC mint

Get test USDC

faucet.circle.com

Build your gambling agent

Three steps: install x402-solana, fund a wallet, run a loop. The repo ships JS, GitHub Actions, and Docker examples.