Verifiable Random Function (VRF)
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’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.
VRF services will be free and permissionless for now. 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.
Supra team is working on upgrading the VRF’s architecture towards a fully decentralized model and will be expanding our footprint to a variety of other networks in the future.