GamyFi Platform Integrates Chainlink VRF to Secure NFT Battle Royale Blockchain Game

GamyFi Labs
3 min readAug 2, 2021

--

We’re excited to announce that GamyFi Platform, a blockchain gaming and fantasy sports platform, has integrated Chainlink Verifiable Random Function (VRF) on the Binance Smart Chain mainnet. By integrating Chainlink’s industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to decide the winner of the NFT Battle Royale game. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can be sure that the winner is chosen fairly and without any participation of any individual’s decision.

What is NFT Battle Royale?

NFT Battle Royale is a NFT game where users can compete with each other using NFT cards, win GFX rewards and upgrade their NFT card to the next level, unlocking new features and rewards.

In order to provide users with a fair result and decide on a random winner, we need access to a secure random number generator (RNG) which any user could independently audit. However, RNG solutions for smart contracts require several security considerations to prevent manipulation and ensure system integrity. For instance, RNG solutions using on-chain data like block hashes can be exploited by blockchain miners, while off-chain RNG solutions like traditional data providers are opaque and don’t provide users with definitive proof about the integrity of the process.

After reviewing various solutions, we selected Chainlink VRF because it’s based on cutting-edge academic research, supported by Chainlink’s time-tested oracle infrastructure, and secured through the generation and on-chain verification of cryptographic proofs that guarantee the integrity of each random number supplied to smart contracts.

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 GamyFi Platform’s 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 provides our users with automated and verifiable assurances directly on-chain that NFT battle royale is provably fair and cannot be tampered with by the oracle, outside entities, or the GamyFi’s team.

About Chainlink

Chainlink is the industry standard oracle network for powering hybrid smart contracts. Chainlink Decentralized Oracle Networks provide developers with the largest collection of high-quality data sources and secure off-chain computations to expand the capabilities of smart contracts on any blockchain. Managed by a global, decentralized community, Chainlink currently secures billions of dollars in value for smart contracts across decentralized finance (DeFi), insurance, gaming, and other major industries.

Chainlink is trusted by hundreds of organizations, from global enterprises to projects at the forefront of the blockchain economy, to deliver definitive truth via secure, reliable oracle networks. To learn more about Chainlink, visit chain.link, subscribe to the Chainlink newsletter, and follow @chainlink on Twitter. To understand the full vision of the Chainlink Network, read the Chainlink 2.0 whitepaper.

Solutions | Docs | Discord | Reddit | YouTube | Telegram | GitHub

About GamyFi Platform

GamyFi Platform is a blockchain gaming and fantasy sports platform providing cross chain solutions in gaming and NFT fields. GamyFi's service includes A decentralized NFT Marketplace, NFT Battle Royale, Prediction Market and a Fantasy Sports application.

Visit the website to learn more or visit the app/marketplace to try out our products.

Telegram | Discord | Twitter | Gitlab

--

--

GamyFi Labs

GamyFi Labs is building the infrastructure to onboard the next generation of gamers onto Web3.