Why Automata VRF

Automata VRF is a project that generates verifiable random numbers that can be easily integrated into dApps.

Automata VRF may serve as an alternative on a network, which is not supported by Chainlink, for existing projects that have already integrated Chainlink VRF interface in their contracts.

The randomness generation process is executed in a trusted oracle, uses DRANDarrow-up-right as a reputable source of entropy, which is then verified by an on-chain AutomataVRFCoordinator contract.

Theoretical example of a dApp that has integrated with Automata VRF contract.

Theoretical Example of an Integration

Projects may use one of the two approaches below to integrate Automata VRF.

Approach A: Direct integration with Automata VRF Coordinator

This approach is most intuitive for integrating a trusted on chain oracle for smart contracts, as the contract can simply invoke:

  • getLatestRandomWords(): get at most 2**32 random words at a time.

  • getLatestRandomness(): fetch the latest verifiable randomness, produced by the off chain oracle. Consumers may use this value as a seed to generate one or more random values using more complex algorithms.

Code example of the HundoRando contract using Approach A:

Code example of the HundoRando contract using Approach B:

Interface that integrators use

NOTE: If your project integrates Chainlink VRF via the direct fundingarrow-up-right method, then you may not be able to directly integrate Automata VRF, unless you deploy your own VRFV2Wrapperarrow-up-right contract that points to AutomataVRFCoordinator.

Last updated

Was this helpful?