Actions

VRF: Difference between revisions

From Chainlink Community Wiki

(Created page with "{{:Box-round|title=TL;DR - VRF (Verifiable random function)| * <big>'''Provably fair > Probably fair'''</big> * <big>'''Provides a transparent source of randomness to the blockchain space.'''</big> <big>VRF is a highly secure and provably fair source of on-chain randomness for all kinds of blockchain-based applications, NFTs, and games.</big>}} __TOC__ <br> <h2>Overview</h2> <big>Chainlink VRF works by combining block data that is still unknown whe...")
 
No edit summary
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{:Box-round|title=TL;DR - VRF (Verifiable random function)|
{{:Box-round|title= Quick Take: Randomness|1=
* <big>'''Provably fair > Probably fair'''</big>
 
* <big>'''Provides a transparent source of randomness to the blockchain space.'''</big>
<table><tr>
<td style="text-align:center; background-color:#f6f6f6; width: 120px;">[[File:Chainlink_vrf.png|center|frameless|150x150px]]
 
</td><td style="background-color:#f6f6f6;" >
<big>'''VRF provides a transparent source of randomness to the blockchain space.'''</big>
VRF is a highly secure and provably fair source of [[Glossary#On-Chain|on-chain]] randomness for all kinds of blockchain-based applications, NFTs, and games.
</td></tr></table>
}}


<big>VRF is a highly secure and provably fair source of [[Glossary#On-Chain|on-chain]] randomness for all kinds of blockchain-based applications, NFTs, and games.</big>}}
__TOC__
__TOC__
<h2>Supported chains</h2>
{| style="table-layout: fixed; width: 210px"
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:EthereumLogo.png|center|frameless|40x40px | link=Ethereum]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:BinanceSmartChainLogo.png|center|frameless|40x40px | link=Binance_smart_chain]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:PolygonLogo.png|center|frameless|40x40px | link=Poygon]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:AvalanceLogo.png|center|frameless|40x40px | link=Avalanche]]
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:FantomLogo.png|center|frameless|40x40px | link=Fantom]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; |
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; |
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; |
|-
|}
{{:Box_round_light_blue_help_wanted}}
----
<h2>In depth</h2>
'''What is randomness?'''<br>
''Randomness: the quality or state of being or seeming random (as in lacking or seeming to lack a definite plan, purpose, or pattern).''<ref>https://www.merriam-webster.com/dictionary/randomness</ref>
While unpredictable outcomes are abundant in nature, the same can’t be said for randomness generated by computers. As computers are [[Glossary#Deterministic|deterministic]] devices, it may not be possible to generate truly random numbers purely through a set of computer algorithms.<ref name="randomness">https://blog.chain.link/why-randomness-web3/</ref>
<br>
<br>
<h2>Overview</h2>
<ref name="randomness" />
<big>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.
----
<Br></big>
<h2>Use cases</h2>
<h2>Use cases</h2>
<Br>
* [https://medium.com/@MMGGameFi/monopoly-millionaire-game-integrates-chainlink-vrf-to-help-power-nft-reveals-2261bfaba415 Monopoly Millionaire Game] - Using VRF for a verifiably random NFT reveal for all MMG minters.
* [https://outerringmmo.com/outer-ring-integrates-chainlink-vrf/ Outer Ring] - Integrates VRF to help randomly distribute 350,000 [[Glossary#NFT|NFTS]] from lootboxes.
* [https://joecontent.substack.com/p/joepegs-x-chainlink-vrf?sd=pf Trader Joe] - Using VRF to support fair batch reveals on their [[Glossary#NFT|NFT]] launchpad ([[Avalanche]]).
<h2>Release info</h2>
<h2>Release info</h2>
* <big>[[VRF_v2|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.
* <big>[[VRF_v2|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.</big>
 
For v2 highlights check out the following blog.  https://www.bnbchain.world/en/blog/chainlink-vrf-v2-is-live-on-bnbchain/
</big>
* <big>[[VRF_v1|VRF v1]]</big>
* <big>[[VRF_v1|VRF v1]]</big>
<Br>
<Br>
<h2>Relevant quotes</h2>
<h2>Relevant quotes</h2>
<Br>
<Br>
<h2>VRF resources</h2>
<h2>Timeline</h2>
* '''02 Sep 22.''' [https://bmm.com/ BMM Testlabs] Grants the First Compliance Certification in the BlockChain Industry to Chainlink [[VRF]]. Read the full announcement [https://bmm.com/bmm-testlabs-grants-the-first-compliance-certification-in-the-blockchain-industry-to-chainlink-vrf/ HERE].
----
* '''29 Jun 22.''' VRF go live on [[Fantom]].  Read the full announcement [https://fantom.foundation/blog/chainlink-keepers-and-vrf-now-live-on-fantom/ HERE].
----
* '''09 Jun 22.''' VRF goes live on [[Avalanche]].  Read the full announcement [https://avalancheavax.medium.com/chainlink-keepers-and-chainlink-vrf-go-live-on-avalanche-3ebee050ebef HERE].
----
* '''28 Apr 21.''' VRF goes live on [[Binance smart chain|Binance smart chain (BNB)]] mainnet.  Read the announcement [https://www.bnbchain.world/en/blog/chainlink-vrf-is-live-on-binance-smart-chain-bringing-verifiable-randomness-to-bsc-developers/ HERE].
----
* '''23 Feb 21.''' VRF goes live on [[Polygon]].  Read the announcement [https://blog.polygon.technology/chainlink-vrf-is-live-on-polygon-providing-developers-with-a-secure-source-of-verifiable-randomness-94ec9815bc03/ HERE].
----
* '''22 Oct 20.''' VRF goes live on [[Ethereum]] mainnet.  Read the announcement [https://blog.chain.link/chainlink-vrf-now-live-on-ethereum-mainnet/ HERE].
----
{{:VRF_resources}}
<references />
[[Category:Services]]

Latest revision as of 03:49, 4 October 2022

Quick Take: Randomness

Chainlink vrf.png

VRF provides a transparent source of randomness to the blockchain space. 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

EthereumLogo.png
BinanceSmartChainLogo.png
PolygonLogo.png
AvalanceLogo.png
FantomLogo.png

This Article Needs Your Help!

HELP WANTED.png

Would you like to help improve this article? For more information on how to get started, click HERE.

But first, make sure to check each article's subject-specific discussion page.

Discussion pages are Wiki administration pages used for communicating with other editors/contributors. Discussion pages are specifically used to coordinate improvements to each wiki article.
Talk pages can be accessed by clicking the "discussion" tab from within the actions menu.


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]
[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

  • 02 Sep 22. BMM Testlabs Grants the First Compliance Certification in the BlockChain Industry to Chainlink VRF. Read the full announcement HERE.

  • 29 Jun 22. VRF go live on Fantom. Read the full announcement HERE.

  • 09 Jun 22. VRF goes live on Avalanche. Read the full announcement HERE.


  • 23 Feb 21. VRF goes live on Polygon. Read the announcement HERE.

  • 22 Oct 20. VRF goes live on Ethereum mainnet. Read the announcement HERE.

VRF resources

Effective resource lists encourage wider reading and provide a more in-depth understanding of a topic.


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.

However, if users feel there are omissions, please contact the site admin with details of resources they feel should be added, making sure to include links, a brief description, and the importance of said resource.

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