Migrate from Ronin VRF
Ronin VRF is Sky Mavis's random number service on Ronin: a contract calls requestRandomSeed, prepays a $0.01 service fee plus callback gas in RON, and the coordinator calls it back with a seed whose proof it checks on chain. Randoo serves the same interface for a $0.005 service fee, so a Ronin VRF consumer moves by changing one address.
Native Ronin VRF is the Sky Mavis coordinator. Randoo's coordinator takes requestRandomSeed and estimateRequestRandomFee, and calls back rawFulfillRandomSeed. A consumer built on the native VRFConsumer base runs on Randoo without code changes. You deploy it with a different coordinator address:
// Before: native Ronin VRF
new LootBox(0x16A62a921e7fEC5Bf867fF5c805b662Db757B778); // Ronin
new LootBox(0xA60c1e07fa030E4B49Eb54950ADb298Ab94dD312); // Saigon
// After: Randoo, one address on both networks
new LootBox(0xC66eB2e7EE91145875000Ad46B55600000000001);Keep your base contract, your callback and your tests. The same estimateRequestRandomFee call quotes Randoo's fee.
A consumer on VRFConsumerUpgradeable keeps the coordinator address in proxy storage. Changing it takes an upgrade or an admin call that reaches _setVRFCoordinator.
What a Ronin VRF request costs
Both coordinators quote the prepayment with estimateRequestRandomFee(callbackGasLimit, gasPrice): a service fee worth a fixed number of dollars, converted to RON, plus the gas price with a 10% buffer times your callback gas limit and 500,000 gas for the fulfillment. Read on Ronin mainnet at block 63,887,959 (2026-11-21) with a declared gas price of 23 gwei:
| Callback gas limit | Native Ronin VRF prepays | Randoo prepays |
|---|---|---|
| 100,000 | 0.3132 RON | 0.1642 RON |
| 250,000 | 0.3170 RON | 0.1680 RON |
| 500,000 | 0.3233 RON | 0.1743 RON |
| Of which service fee | 0.2980 RON ($0.010) | 0.1490 RON ($0.005) |
The gas part is the same on both, so the difference is the service fee: about 0.149 RON per request at that block. Randoo bills the fulfillment's gas at the lower of your buffered gas price and the price the oracle's transaction paid, and refunds the rest (Fees and failures): over its 200 latest Ronin fulfillments (2026-11-11 to 11-19) the gas it kept had a median of 0.0068 RON, so a request cost about 0.156 RON in all at that block's RON price. The fee in RON moves with the RON price; the dollar amounts do not.
Quote both yourself before you switch:
cast call 0x16A62a921e7fEC5Bf867fF5c805b662Db757B778 "estimateRequestRandomFee(uint256,uint256)(uint256)" 250000 23000000000 --rpc-url https://api.roninchain.com/rpc
cast call 0xC66eB2e7EE91145875000Ad46B55600000000001 "estimateRequestRandomFee(uint256,uint256)(uint256)" 250000 23000000000 --rpc-url https://api.roninchain.com/rpcThe service fee is also why Ronin's support article on VRF warns that transactions using it can cost more RON than ordinary ones.
Randoo or Chainlink VRF on Ronin
Chainlink VRF v2.5 also runs on Ronin: its supported networks page lists Ronin mainnet and Saigon. It uses a different consumer interface, so a consumer built for native Ronin VRF cannot move to it by changing an address.
| A native Ronin VRF consumer | On Randoo | On Chainlink VRF v2.5 |
|---|---|---|
| Base contract | VRFConsumer, unchanged | Rewritten on VRFConsumerBaseV2Plus (subscription) or VRFV2PlusWrapperConsumerBase (direct funding) |
| Request | requestRandomSeed, unchanged | requestRandomWords with a key hash and subscription ID, or requestRandomnessPayInNative |
| Callback | rawFulfillRandomSeed(bytes32, uint256), unchanged | fulfillRandomWords(uint256, uint256[]) |
| Fee | estimateRequestRandomFee, unchanged | A funded subscription, or calculateRequestPriceNative |
| Setup | None | Create and fund a subscription and add the consumer to it, unless you use direct funding |
| Confirmations | 1 | At least 3 on Ronin (why it matters less on an L2) |
| Your tests | Keep them | Rewrite them for the new request IDs and callback |
On Randoo the migration is the one address above. On Chainlink it is a rewrite of the request, the callback and the fee handling, and a new deployment of that code. A consumer you already wrote for Chainlink's wrapper also runs on Randoo: Migrate from Chainlink VRF v2.5.
What stays the same
- The request call, the fee quote and the callback signature.
- You pay each request in RON with
msg.value. The coordinator refunds what the fulfillment does not use. - Chainlink's audited
VRF.solverifies each proof on chain, as it does on native Ronin VRF.
What changes
-
The coordinator bills the fulfillment's gas at the lower of your declared gas price (plus a 10% buffer) and what the oracle's transaction pays, and refunds the rest. Declare
23 gwei. Native Ronin VRF's20e9 + block.basefee * 2keeps working, but it prepays about 3 times the gas until the refund arrives (Fees and failures). -
A zero refund address reverts with
InvalidRefund. If your consumer passesaddress(0), or passes itself without a payablereceive, pass a wallet you control instead. -
Seeds differ. Randoo binds each seed to the request block hash, so the two coordinators never produce the same seed. Off-chain code that recomputes or compares native seeds breaks.
-
Event signatures differ. Indexers that decode the native coordinator's events need the new ones, which the migration playbook lists.
-
Only the consumer itself can request (
CallerIsNotConsumer), and there is no consumer whitelist. -
The coordinator calls a callback once. If it reverts, the seed stays on chain (failed callbacks); native Ronin VRF keeps it only in its
RandomSeedFulfilledevent (when a VRF callback reverts).
Try it on Saigon first, where the coordinator address is the same. Native Ronin VRF on Saigon has not answered a request since 2026-08-31 (how to check), so Randoo is also the way to see a Ronin VRF consumer fulfilled on the testnet. The migration playbook is the full procedure, written for a coding agent and readable by you.
Updated 2026-11-30.