Randoo docs
Randoo is a VRF coordinator for games on Ronin, Base and Robinhood. Your consumer contract requests randomness with one payable call. An oracle answers in a later block with a seed and a VRF proof, and the coordinator verifies the proof on chain before it calls your contract. You pay per request in the network's native token, with no subscription.
The coordinator is 0xC66eB2e7EE91145875000Ad46B55600000000001, the same address on every network.
Start here
| You have | Read |
|---|---|
| No VRF yet | Quickstart |
| A game on Base, comparing VRF prices | VRF on Base |
| A game on Robinhood, where prevrandao is constant | VRF on Robinhood |
| A loot box or drop table to build | Loot box with VRF, a tested contract with weighted rarity |
| An NFT collection to reveal fairly | NFT reveal with VRF, a tested ERC-721 with a provenance hash and one random offset |
| A raffle or lucky draw to run | Raffle with VRF, a tested raffle with weighted tickets and a pull-payment prize |
| A dice game, a card shuffle or several dice from one roll | Dice game with VRF, a tested roll-under dice game with a bankroll check and a 52-card shuffle |
| A two-player game, or a choice between commit-reveal and a VRF | Commit-reveal or VRF?, a tested commit-reveal duel, the last-revealer attack measured on a raffle, and the cost of each per game |
| A number in a range, several values from one seed, or a worry about modulo bias | VRF seed to a number in a range, a tested library, modulo bias counted by width, and what numWords costs |
| A consumer on native Ronin VRF | Migrate from Ronin VRF |
| A Chainlink VRF v2.5 direct-funding consumer | Migrate from Chainlink VRF v2.5 |
| A choice between Chainlink VRF subscription and direct funding | Subscription or direct funding?, what each cost on Base for 1,929 fulfilments, and how to switch |
| A D20DAO consumer, or comparing D20DAO's price and speed with Randoo's | Migrate from D20DAO, with Randoo vs D20DAO |
| A Pyth Entropy consumer on Base, or comparing Pyth's price and speed with Randoo's | Migrate from Pyth Entropy, with Randoo vs Pyth Entropy |
| A Gelato VRF consumer that may no longer be fulfilled | Migrate from Gelato VRF, with Randoo vs Gelato VRF |
Coding agents have their own step-by-step playbooks, one to rebind a native VRFConsumer and one to add Randoo to a game.
Reference
- Contracts lists the networks, chain IDs and the request interfaces each one serves.
- Fees and failures explains the fee, the gas price to declare, refunds and failed callbacks.
- How to set a VRF callback gas limit has a Foundry test that measures your callback's worst case, and what headroom costs on each provider.
- Is block.prevrandao random? shows what
prevrandaoreturns on Ronin, Base and Robinhood, measured on mainnet, and how a player predicts it. - block.number on Robinhood shows that
block.numberandblockhashthere are keyed to Ethereum's height, measured on mainnet, and what a VRF request counts instead. - How many requestConfirmations? gives each chain's minimum, what Chainlink consumers on Base choose, and what each confirmation costs in time.
- When a VRF request is never fulfilled compares deadlines, refunds and who can still answer on each provider, with open requests counted on mainnet.
- Is Ronin VRF working on Saigon? shows that native Ronin VRF on the Saigon testnet has not answered since 2026-08-31, how to check, and how to test a Ronin VRF consumer instead.
- Test a Chainlink VRF consumer in Foundry sets up Chainlink's mock coordinator and wrapper, lists seven traps that let a broken test pass, and runs the same consumer on a fork against Chainlink and Randoo.
- Several VRF requests at once shows how to key each request by its ID so seeds can arrive in any order, with a tested contract.
- How a VRF proof is verified on-chain walks through each check Chainlink's
VRF.solruns, with gas measured on 75 Randoo mainnet proofs and what Pyth Entropy, D20DAO and Gelato check instead. - VRF security considerations, tested turns each rule into a Foundry attack: a spoofed callback, a shared player slot, late bets, an oracle that withholds losing seeds, and a player that reverts the callback.
- When a VRF callback reverts shows what Chainlink VRF, native Ronin VRF, Pyth Entropy, D20DAO and Randoo each do after a failed callback, and how to recover.
- ABIs and TypeScript shows where the ABIs live and how to quote and read results with viem.
- Verify a number re-derives a seed in your browser from a request hash or transaction hash.
Updated 2026-12-06.