Verifiable Random Function (VRF)

These documents are rapidly changing, be sure to consult the documentation often through your development lifecycle.
On-chain and off-chain applications connected to gaming, lottery and sampling rely heavily on entropy. It could be a dynamic NFT mint, loot boxes, random opponent pairing, randomized spawn environments, an in-game item upgrade, a lottery or a selection of contributors for an IDO. Randomness in applications is supposed to ensure fair and equal possibilities for participants. Random Number Generation (RNG) has to be unbiased and tamper proof to be called fair; the process cannot be influenced or controlled by any centralized entity.
Blockchain-based verifiable random functions (VRFs) enable the generation of numbers that are as good as random (pseudorandom), and can be (publicly) verified cryptographically. Pseudorandomness guarantees both unpredictability and fairness, whereas tamper-proofness is guaranteed by their public verifiability.

Supra VRF

Supra’s VRF can provide the exact properties required for a random number generator (RNG) to be fair with tamper proof, unbiased and cryptographically verifiable random numbers to be employed by smart contracts.
Unbiased and Unpredictable - The threshold signature of the nonce, client provided input and blockhash of the transaction that requests the randomness (which is unknown at the time of request) is used as the seed for the RNG function.
Tamper proof and Verifiable - Cryptographic proof will be provided to verify that random numbers were generated and communicated with fidelity.
SUPRA VRF Architecture
Supra distributed VRF architecture overview

Available Networks

We are already available in 29 networks! Please refer to the Network Addresses for more information.

Accessing Supra VRF

VRF services will be free and permission less for now on testnets. However, you need to have enough tokens to pay for transaction fees (gas). Please refer to the VRF Developer Guide for a step-by-step explanation of how to access Supra’s VRF services. Please register with our Supra Network Activate Program(SNAP) to access Supra VRF for free when we launch in main nets.