Chainlink VRF provides BSC developers with access to a tamper-proof, cost-efficient, and a verifiably fair source of on-chain randomness, backed by cryptographic proofs and leading academic research.
2021 has seen a substantial surge in the development and launch of decentralized applications on the Binance Smart Chain (BSC), with over 31 billion in TVL at the time of writing. While BSC supports a large, growing ecosystem of new and existing DeFi projects, an increasing number of NFT and gaming applications are also launching on BSC and require a secure random number generation (RNG) solution.
Catering to growing consumer demand has always been a top priority, particularly by making industry-leading infrastructure and tooling natively available on BSC. Hence, why we established Chainlink as our recommended oracle solution for developers needing a secure and reliable gateway to off-chain data and computation. Many DeFi projects on BSC already use Chainlink Price Feeds for critical backend functions that secure their users’ funds.
In the same vein, we are excited to announce an expansion of our integration with Chainlink, now offering mainnet support for Chainlink’s Verifiable Random Function (VRF). Chainlink VRF provides BSC developers with access to a tamper-proof, cost-efficient, and a verifiably fair source of on-chain randomness, backed by cryptographic proofs and leading academic research. Chainlink VRF is the preferred RNG solution for all BSC dApps needing randomness as an input to their applications, empowering entirely new on-chain functions like the assignment of provably rare NFT traits, provably fair distribution of high-value NFTs, unbiased and tamper-proof selection of lottery winners, and much more. To learn more about how to test and integrate Chainlink VRF on BSC, visit <https://docs.chain.link/docs/chainlink-vrf>.
This integration supports the many dApps requesting access to Chainlink VRF directly on BSC, such as MTVE for creating provably random properties for ships and planets, ATTN for creating provably random traits and elements within Antasy platform NFTs and games, EtherCats for provably fair generation of random packs of EtherCat NFTs, CandorFi for provably fair raffles, and Infinity Skies for probably fair items in treasure chests.
“We are EtherCats, but our artwork includes references to many different crypto projects. We are platform agnostic like Chainlink when it comes to mission- critical operations. While the cats themselves will always have a home to return to on the Ethereum blockchain, our fine feline friends like to explore the world. Their territory encompasses a much wider area than most people expect. BSC’s lower overhead to transacting is more conducive to siring EtherCats. It is spring there right now. That lower overhead also applies to Chainlink VRF, so it is doubly good.”- Woody Deck Founder
“At Infinity Skies, we’re trying to decentralize as many aspects of the game as possible. Since our game heavily relies on Treasure Chests and the distribution of random NFTs, we need to ensure provable fairness to all of our players and guarantee that outcomes are not biased for specific individuals or addresses. We could not trust the deterministic nature of smart contract logic for any meaningful randomness. We had to look for an injectable, verifiably random source. Chainlink VRF provides us with exactly what we need. By leveraging VRF, Infinity Skies will allow players to turn in their chests and, upon receiving a response from the Chainlink VRF system, open the chest to collect their securely and fairly minted NFT—an individual experience that is fully decentralized from end to end.” -Marc Bruinsma, Co-Founder & Development Team Infinity Skies.
How Chainlink VRF Works
Randomness is a critical requirement for smart contract developers that want to create excitement and rarity via unpredictability or establish fairness in how they generate and/or distribute in-demand on-chain assets. Randomness adds to the value proposition of applications, as users want to play games and buy NFTs when they have an equal opportunity in winning the rarest and most high-value prizes. However, obtaining a source of randomness that cannot be predicted or manipulated by the consuming application, oracle node, or any external entity is challenging.
For instance, on-chain RNG solutions like block hashes introduce vulnerabilities where miners can choose to publish a block only when this would generate more favorable results for themselves. On the other hand, off-chain RNG solutions are opaque, requiring users to trust that the centralized data provider won’t manipulate the results to their benefit. Both solutions become increasingly concerning as the amount of value being secured by the RNG solution goes up.
Chainlink VRF is designed specifically for smart contracts and offers the best and most secure source of randomness for generating provably unique NFTs, dynamic gameplay, and other in-app features. 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. This guarantees high integrity of the random number output because the cryptographic proof can only be generated if the VRF process is tamper-proof. Thus, users can be assured that any consuming application creating entropy through Chainlink VRF is provably fair and unbiased.
For a technical walkthrough and understanding of the reasoning and mathematics underpinning Chainlink VRF, refer to Chainlink’s in-depth article.
Using Chainlink VRF on BSC to Create Next-Generation Gaming dApps and NFTs
We’re confident that the combination of BSC and Chainlink VRF will provide a powerful set of infrastructure needed to build next-generation dynamic NFTs and blockchain games. BSC is an ideal blockchain platform to support these new use case verticals, as it’s EVM-compatible yet offers much higher throughput and substantially via lower on-chain costs. As such, users can build high-throughput applications and NFTs on BSC using Chainlink’s cost-efficient, verifiable randomness to add gamified elements. Some examples of how to use Chainlink VRF in your BSC dApp include:
- Assigning the rarity of NFTs or loot boxes once generated
- Distributing new high-value NFTs to users in a provably random manner
- Determining gameplay events like map generation, critical hits, and matchmaking
- Choosing winners for on-chain lotteries and governance jurors
- Establishing queues for in-demand token launches and popular events
With the NFT and gaming space simply scratching the surface of what’s possible, we look forward to seeing what users create on BSC using Chainlink VRF.
Chainlink is the most widely used and secure way to power universally connected smart contracts. With Chainlink, developers can connect any blockchain with high-quality data sources from other blockchains as well as real-world data. Managed by a global, decentralized community of hundreds of thousands of people, Chainlink is introducing a fairer model for contracts. Its network currently secures billions of dollars in value for smart contracts across the decentralized finance (DeFi), insurance and gaming ecosystems, among others.
Chainlink is trusted by hundreds of organizations to deliver definitive truth via secure, reliable data feeds. To learn more, visit chain.link, subscribe to the Chainlink newsletter, and follow @chainlink on Twitter.
Chainlink: Blockchain Oracles for Connected Smart Contracts
Docs |Discord | Reddit | YouTube | Telegram | Events | GitHub | Price Feeds | DeFi | VRF