Play the live demo
incasino.vercel.app, running on Base Sepolia.
e.rand(). It is the
cleanest place to see the play-then-settle pattern that every asynchronous Inco
game uses.
The play-then-settle pattern
Inco has no synchronous on-chain decryption, so a round is always two transactions:The six games
OneCasino.sol holds the ETH bankroll and all six games. Each has its own
play* entry point; a single settle routes by game kind.
Bets are capped at
MAX_WAGER_PER_ROUND = 0.0005 ether, and quick games run up to
MAX_ROUNDS = 10 rounds in one transaction. Payouts carry a small house edge
baked into the multiplier (for example Coin Flip pays 1.98x, a 2% edge).
Deployed contract (Base Sepolia)
One verified contract holds the bankroll and every game. Chain id 84532.
The owner funds and withdraws the bankroll from the
/owner page.