VRF
From Chainlink Community Wiki
Quick take: VRF
VRF is a highly secure and provably fair source of on-chain randomness for all kinds of blockchain-based applications, NFTs, and games. |
Supported chains
In depth
What is randomness?
Randomness: the quality or state of being or seeming random (as in lacking or seeming to lack a definite plan, purpose, or pattern).[1]
While unpredictable outcomes are abundant in nature, the same can’t be said for randomness generated by computers. As computers are deterministic devices, it may not be possible to generate truly random numbers purely through a set of computer algorithms.[2] REVIEW Chainlink VRF works by combining block data that is still unknown when the request is made with the oracle node’s pre-committed private key to generate both a random number and a cryptographic proof. The smart contract will only accept the random number input if it has a valid cryptographic proof, and the cryptographic proof can only be generated if the VRF process is tamper-proof. This helps provide users with automated and publicly verifiable proof directly on-chain that each application using Chainlink VRF for randomness is provably fair and cannot be tampered with or predicted by the oracle, outside entities, or development teams. REVIEW[2]>
Use cases
Release info
- VRF v2. Chainlink VRF v2 offers a new and improved version of the industry-standard on-chain RNG solution, making it easier to configure and scale randomness requests at a significantly reduced cost.
- VRF v1
Relevant quotes
Timeline
- 28 Apr 21. VRF goes live on Binance smart chain (BNB) mainnet. Read the announcement HERE.
VRF resources
Our goal with the Wiki resource lists is to create authoritative archives for readings and other resources pertaining to specific topics.
As such, the Wiki aims to keep all resource lists current, consistent, accurate and clear.
Timeline
Date | Media | Author | Title |
---|---|---|---|
09 Jun 22 | Article | Avalanche | Chainlink Keepers and Chainlink VRF Go Live on Avalanche |
28 Apr 21 | BNB | Article | Chainlink VRF is Live on Binance Smart Chain, Bringing Verifiable Randomness to BSC Developers |
23 Feb 21 | Article | Polygon | Chainlink VRF Is Live on Polygon, Providing Developers With a Secure Source of Verifiable Randomness |
22 Oct 20 | Article | Chainlink | Chainlink VRF Now Live on Ethereum Mainnet |
Educational
Date | Media | Author | Title |
---|---|---|---|
N/A | Official Docs | Chainlink | Introduction to Chainlink VRF |
N/A | Official Docs | Chainlink | Introduction to Chainlink VRF (v1) |
N/A | Official Docs | Chainlink | Homepage: Verifiable source of randomness for smart contract developers |
N/A | Official Docs | Chainlink | VRF: Contract Addresses |
N/A | Tutorial | Figment.io | Using the Chainlink Oracle for Randomness on Polygon |
05 Sep 22 | Article | Chainlink | A Provably Fair RNG for Web2 |
17 Jun 22 | Article | Chainlink | Why True Randomness Is Important in Web3 |
16 Feb 22 | Video | Chainlink | What Is Chainlink VRF? |
22 Sep 21 | Article | Chainlink | 35+ Blockchain RNG Use Cases Enabled by Chainlink VRF |
18 Mar 21 | Video | Chainlink | Getting A Random Number with Chainlink VRF | Chainlink Engineering Tutorials |
15 Aug 20 | Article | Chainlink | How to Build a Blockchain Lottery - using VRF |
01 Jun 20 | Article | Patrick Collins | How to Generate Truly Random Numbers in Solidity and Blockchain |
12 May 20 | Article | Chainlink | Chainlink VRF: On-chain Verifiable Randomness |