Public chain. Small contracts. One invariant.
How Roblette is built: the chain it runs on, what a chip is, which contracts do what, how a result is produced and why the treasury cannot accept a bet it cannot pay.
Robinhood Chain.
Roblette runs on Robinhood Chain, an Ethereum-compatible network. We use it as public infrastructure; Roblette is an independent product and is not operated, endorsed or sponsored by Robinhood.
- Mainnet chain id
- 4663
- Testnet chain id
- 46630
- Gas asset
- ETH
- Explorer
- robinhoodchain.blockscout.com
Every contract address, transaction and token balance is visible at robinhoodchain.blockscout.com. The interface currently targets the mainnet environment.
Chips are ERC-1155 tokens in your wallet.
A chip is a semi-fungible token: one token id per denomination (1, 5, 10, 25, 50 and 100), with balances that you hold in your own wallet. Depositing mints chips; withdrawing burns them. During a round the table escrows the chips you have staked and releases or settles them when the result is revealed.
Chips are game pieces. They carry no yield, no governance and no claim on the protocol. Practice chips are a separate, browser-only concept with no token behind them.
Eight small contracts, each with one job.
- CasinoTreasuryReceives deposits, holds the bankroll and reserves, and is the only contract that pays out. Exposes the snapshot the risk engine reads.
- Chip1155ERC-1155 token with one id per chip denomination. Mints on deposit, burns on withdrawal, and is what tables escrow during a round.
- TableManager / RouletteGameOpens public and private tables, accepts wagers only after a risk check, runs rounds, and records settlements as claimable balances.
- RewardVaultHolds reward inventory (crypto and supported Stock Tokens) and settles claims by pull. Can only offer what it actually holds.
- RandomnessManagerStores the server commitment before bets open and verifies the reveal that produces the round result.
- RiskEnginePure arithmetic: available bankroll, round exposure cap and the maximum stake for a given payout multiplier. Called before every wager.
- AccessControllerRole registry for privileged calls (parameter updates, pausing, inventory management). Intended to be owned by a multisig.
- EmergencyPauseIndependent switches for deposits, gameplay, claims and withdrawals so one concern can be frozen without freezing the rest.
How the pieces connect.
Value only ever enters through CasinoTreasury and only ever leaves through a pull from the treasury or the RewardVault. Game logic cannot move funds directly; it can only record what is owed.
Commit before, reveal after, verify anytime.
- Before bets open the server publishes
keccak256(serverSeed): a commitment it cannot change. - You contribute a player seed. The server cannot predict it when it commits.
- When the round closes a block reference is fixed and the seed is revealed.
result = keccak256(serverSeed ‖ playerSeed ‖ blockRef ‖ roundId) mod 37
Anyone can recompute the hash, check it against the commitment and confirm the pocket. The same derivation is used by the practice engine, the tests and the intended RandomnessManager contract. Each round uses fresh seeds; outcomes are independent and no number is ever more or less likely because of what came before.
Rewards come from inventory, not promises.
A share of every deposit (by default 20%) is routed to reward inventory. The RewardVault holds that inventory as actual assets: crypto, and supported Stock Tokens where available. A claim can be settled in an asset only when the vault holds enough of it; otherwise that option is simply not shown.
Winnings are recorded as claimable balances and are withdrawn by the player, never pushed. Stock Token settlement is additionally gated by jurisdiction; see the Stock Token disclosure.
Every wager is limited by available collateral before acceptance.
The risk engine computes two numbers before accepting any bet, from a live snapshot of the treasury:
availableBankroll = bankroll − reserved − claimable − protocolReserve − safetyReserve maxStake = availableBankroll × exposureCap ÷ payoutMultiplier accept iff maximumLiabilityAfterBet ≤ availableBankroll × exposureCap
- reserved: worst-case liability of rounds already in flight.
- claimable: wins recorded but not yet pulled by players.
- protocolReserve: operating reserve, never used for payouts.
- safetyReserve: 15% of bankroll by default, never exposed to any round.
- exposureCap: 25% by default; no single round may risk more of what remains.
Dividing by the payout multiplier is what makes limits honest: a 35:1 straight-up bet gets a much smaller cap than an even-money bet because the treasury would owe much more if it won. If available bankroll drops below 25 USD-equivalent, tables do not open. Defaults are adjustable within published bounds and shown on the Treasury page.