BSC News

Chainlink VRF v2 Now Live on BNB Chain

The new development is set to provide more scalable, configurable, and low-cost on-chain randomness.

Chainlink VRF v2 Set to Boost BNB Chain Mainnet

Chainlink VRF v2 will now go live on BNB Chain in a bid to make user experience more seamless and reliable in the process. The latest version of Chainlink VRF is the recommended solution for developers in need of a highly secure and configurable RNG solution. 

The announcement was made official on February 25 via a press release from Chainlink that was exclusively obtained by BSC News. The development will ensure more effective and reliable user experience on BNB Chain which has already adopted several iterations of Chainlink. With Chainlink Price Feeds, Chainlink Verifiable Random Function (VRF), and Chainlink Keepers all already integrated on BNB Chain and utilized by key projects, the v2 integration will only help further establish the important impact Chainlink is making. 

“Chainlink VRF v2 enables developers in the rapidly growing BNB Chain ecosystem to access a verifiable source of on-chain randomness with increased flexibility and at a reduced cost,” BNB Chain Ecosystem Coordinator, Samy Karim, revealed in the press release. “This integration will help us in our mission to provide the best infrastructure and tooling to the BNB Chain ecosystem, empowering developers to create exciting and feature-rich applications.”
Source


Chainlink VRF v2 Good News for BNB Chain Developers

Chainlink VRF has already outlined itself as more than capable after providing solutions for more than 3 million requests for fair and unbiased random numbers across leading blockchains, with use cases ranging from NFT mint randomization and supporting blockchain gaming metaverse features to helping ensure provably random reward distribution. 

The following details some of the reasons picked out by both BNB Chain and Chainlink for why the latest Chainlink VRF version is good news for BNB Chain developers:

Cost-Efficient Randomness Requests

With latest version of Chainlink VRF, smart contract applications will now be able to fund multiple requests for random values using a single token balance. To fulfill each randomness request, the amount of gas needed to pay for the response transaction is automatically calculated, converted using a Chainlink Price Feed, and deducted from the balance of the subscription contract along with a flat per-request fee.

This improvement helps reduce the cost of VRF requests significantly, enabling projects to scale faster and eliminating the need for transferring tokens for each individual request.

Variable Callback Gas Limit

Chainlink VRF v2 offers users the ability to set the callback gas limit depending on the specific needs of their application. As a result, smart contracts can execute more sophisticated smart contract logic in the same transaction that delivers verifiable randomness to their application. This enables developers to execute critical tasks involving randomness even during times of network congestion, allowing for more flexibility and reliability.

The callback gas limit can be set to a maximum of 2.5M gas—a more than 10x improvement over VRF V1.

Flexibility in Defining Security Parameters

Chainlink VRF v2 allows users to define the number of block confirmations that must happen after a request is made before verifiable randomness is generated and delivered, ranging from a 3-block minimum to a 200-block maximum.

The ability to configure block confirmation time for randomness requests gives development teams additional flexibility between increased security through additional protection against block re-organization attacks and control over speed through latency between request and response.

More Randomness Per Request: Single Request, Multiple Random Outputs

With the improved VRF v2 Coordinator contract, users can request multiple random numbers in a single transaction, with the multiple random outputs delivered in a single transaction. This enhancement further reduces the cost of using VRF v2 and also reduces response latency.

This upgrade is particularly beneficial for applications with a high frequency of randomness requests. Users who need multiple randomized values can make significant gas cost savings by batching multiple randomness requests and responses into single transactions. 

Unified Billing—Subscription Balance Delegation Between Multiple Addresses

Chainlink VRF v2 offers the ability for up to 100 smart contract addresses to fund their randomness requests from a single subscription balance managed by the subscription owner. 

This improvement further saves on gas costs and simplifies the management of funds for developers who operate multiple contracts requiring verifiable randomness. By making randomness requests more streamlined across multiple smart contracts, developers can create advanced dApps with a cost-efficient way to fund randomness requests across all of them.

What is Chainlink?

Chainlink is the industry standard for building, accessing, and selling oracle services needed to power hybrid smart contracts on any blockchain. Chainlink oracle networks provide smart contracts with a way to reliably connect to any external API and leverage secure off-chain computations for enabling feature-rich applications. Chainlink currently secures tens of billions of dollars across DeFi, insurance, gaming, and other major industries, and offers global enterprises and leading data providers a universal gateway to all blockchains.

Where to find Chainlink:

Website | Docs | Community | Twitter |

Related News