Skip to content

Migrate from Gelato VRF

On 2026-11-15, Gelato VRF had no working documentation and no public contracts repo. docs.gelato.cloud serves an expired TLS certificate, Gelato's vrf-contracts repository returns 404 on GitHub, and gelato.cloud lists Paymaster & Bundler, Turbo and Rollups as its products, with no VRF. A contract built on GelatoVRFConsumerBase moves to Randoo by changing its request and its callback, about ten lines, shown in Port a Gelato VRF consumer.

Randoo runs on Ronin, Base and Robinhood. Of those, Gelato VRF listed Base (mainnet and Sepolia) in its supported networks.

Is Gelato VRF still running?

Gelato's own docs said VRF requests "are using Gelato Web3 functions under the hood" (pricing page, archived 2025-06-21). Mimic and KeeperHub, both of which sell replacements, report that Gelato shut down Web3 Functions and Automate on 2026-03-31. We found no statement from Gelato about VRF itself.

Your own contract answers the question for your game. GelatoVRFConsumerBase emits RequestedRandomness(round, data) for every request, and Gelato's operator answers with a call to fulfillRandomness. If your recent requests have no matching fulfillRandomness transaction, nothing is answering them.

Randoo vs Gelato VRF

Gelato's side comes from its docs as archived on 2025-06-21 and from GelatoVRFConsumerBase.sol. Randoo's Base cost is what the coordinator charged for its ten latest Base fulfillments up to block 56,567,133, with ETH at $1,937 (2026-11-13).

Gelato VRFRandoo
Where the number comes fromA drand round, chosen by your contract when it requestsA VRF proof from the oracle's key over the request block hash, request ID, consumer and key hash
What your contract checksOnly that the caller is your Gelato operator address. Gelato's docs: "verifiable off-chain but not on-chain"The coordinator checks the VRF proof with Chainlink's VRF.sol verifier before it calls your contract
How you payOff chain, from a Gelato 1Balance account: the fulfill transaction's gas plus a premium (50% on Base); the first 10,000 requests a month were subsidizedOn chain, with the request: a service fee plus callback gas in the network's native token. About $0.0057 a request on Base
Setup outside the contractA VRF task in the Gelato app, which gives you the operator addressNone. The coordinator address is 0xC66eB2e7EE91145875000Ad46B55600000000001 on every network
Time to fulfillNot before the next drand round, which drand publishes every 3 seconds, plus the Web3 Function run0 to 2 s on Base across the ten requests above
Networks33 listed, some testnet only, including Arbitrum, Optimism, Polygon and BaseRonin, Base, Robinhood

Every Randoo request is paid in the request transaction, so a Gelato game that requested for free now has to send the fee. The player can send it with their move, as in the port below, or the contract can pay it from its own balance.

Where Gelato VRF was the better pick

  • The number came from drand, not from Gelato. drand is a public randomness beacon run by a group of independent operators, so the value is fixed by the beacon and any copy can be checked against drand's signature off chain. A Randoo oracle computes the seed from its own key and knows it before it fulfills. It cannot pick a different seed, because a VRF proof admits one output per input.
  • Gelato covered more chains. Its list had 33 networks, some testnet only. Randoo serves three.
  • Low volume was free. Gelato subsidized the first 10,000 requests a month. Randoo charges every mainnet request. Testnet seeds are free in the playground.

Port a Gelato VRF consumer

Gelato VRFRandoo
GelatoVRFConsumerBaseRandooConsumerRonin, the base contract in the quickstart
_operator() returns your dedicated msg.senderThe constructor takes 0xC66eB2e7EE91145875000Ad46B55600000000001
No fee in the requestestimateRequestRandomFee(gasLimit, tx.gasprice), sent as value
_requestRandomness(extraData) returns a uint256 request ID_requestRandomness(fee, gasLimit, tx.gasprice, refundAddress) returns a bytes32 request hash
_fulfillRandomness(uint256 randomness, uint256 requestId, bytes extraData)_fulfillRandomSeed(bytes32 reqHash, uint256 randomSeed)
extraData comes back in the callbackStore it in a mapping keyed by the request hash when you request

A dice game on Gelato VRF, built on Gelato's GelatoVRFConsumerBase:

Before: Gelato VRF
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {GelatoVRFConsumerBase} from "./GelatoVRFConsumerBase.sol";

contract Dice is GelatoVRFConsumerBase {
    address private immutable operator;

    mapping(uint256 => address) public player;
    mapping(uint256 => uint8) public result;

    constructor(address dedicatedMsgSender) {
        operator = dedicatedMsgSender;
    }

    function roll() external returns (uint256 id) {
        id = _requestRandomness(abi.encode(msg.sender));
    }

    function _fulfillRandomness(uint256 randomness, uint256 id, bytes memory extraData) internal override {
        player[id] = abi.decode(extraData, (address));
        result[id] = uint8(randomness % 6) + 1;
    }

    function _operator() internal view override returns (address) {
        return operator;
    }
}

The same game on Randoo. Deploy it with 0xC66eB2e7EE91145875000Ad46B55600000000001 as the constructor argument:

After: Randoo
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {RandooConsumerRonin} from "./RandooConsumerRonin.sol";
import {IRoninVRFCoordinatorForConsumers} from "./interfaces/IRoninVRFCoordinatorForConsumers.sol";

contract Dice is RandooConsumerRonin {
    uint256 private constant CALLBACK_GAS = 100_000;

    mapping(bytes32 => address) public player;
    mapping(bytes32 => uint8) public result;

    constructor(address coordinator) RandooConsumerRonin(coordinator) {}

    function roll() external payable returns (bytes32 id) {
        uint256 fee = IRoninVRFCoordinatorForConsumers(vrfCoordinator).estimateRequestRandomFee(CALLBACK_GAS, tx.gasprice);
        require(msg.value >= fee, "fee");
        id = _requestRandomness(fee, CALLBACK_GAS, tx.gasprice, msg.sender);
        player[id] = msg.sender;
    }

    function _fulfillRandomSeed(bytes32 id, uint256 seed) internal override {
        result[id] = uint8(seed % 6) + 1;
    }
}
  • roll() becomes payable. Your frontend reads estimateRequestRandomFee and sends at least that much.
  • Request IDs become bytes32 request hashes, so mappings keyed by uint256 change their key type.
  • GelatoVRFConsumerBase hashed the drand value with your contract address, chain ID and request ID. A Randoo seed is already bound to the request, so use it as it arrives.
  • On Base and Robinhood, declare tx.gasprice. On Ronin, declare 23 gwei. Fees and failures explains why.
  • The fourth argument is the refund address. Here the player gets back what the fulfillment does not use. Any value sent above the fee stays in the contract.
  • If the callback reverts or runs out of gas, the request still counts as fulfilled and the coordinator stores the seed. seedOf(reqHash) returns it, so finish the outcome in a separate function.

Both contracts compile with Solidity 0.8.30. The Randoo version passes a request-and-fulfill test against the mock coordinator in the integration playbook, and the Gelato version passes a fulfill from its operator address.

If you used Gelato's "VRF Compatibility" type, your contract is a Chainlink VRF consumer pointed at a Gelato adapter. Migrate from Chainlink VRF v2.5 moves it to Chainlink's v2.5 direct-funding base contract, which runs on Randoo with one address change.

Try it on Base Sepolia

Roll a free seed on Base Sepolia (chain ID 84532) in the playground without a wallet, then check it on /verify. VRF on Base compares Randoo with Chainlink VRF v2.5 and Pyth Entropy on the same network.

Updated 2026-11-15.