Magic Beasties Integrates Chainlink VRF to Support Fair Distribution From On-Chain LootBoxes
By: Magic Beasties
Tags: Metaverse, Bnb, Playtoearn, Binance Smart Chain, Nft

We’re excited to announce that Magic Beasties — a cute game about friendship and beasties — has integrated Chainlink Verifiable Random Function (VRF) on the Binance Smart Chain mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to support a fully transparent and trusted opening process for loot boxes containing in-game creatures or items. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can be assured that the contents of loot boxes will be determined according to the transparent and secure randomness generation methods provided by Chainlink VRF.

Every NFT presale, auction, or loot box event is an opportunity to grab your favorite beastie for a low price if you can not afford to buy it from the marketplace. Not only this, all holders are rewarded by the token burn mechanism every time somebody opens a loot box to get a new monster or sends a monster to one of the adventures or dungeons.

In order to support random loot box distribution, we need access to a secure random number generator (RNG) that 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 derived from blockchain data like block hashes can be exploited by validators, while off-chain RNG solutions derived from off-chain APIs 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 a time-tested oracle network, and secured through the generation and on-chain verification of cryptographic proofs that prove 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 Magic Beasties 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 the loot box distribution is provably random and was not tampered with by the oracle, outside entities, or the Magic Beasties team.

In the future, we are looking for more use cases for Chainlink VRF like random events on the map or randomly generated dungeons. The possibilities are limitless.

“We selected Chainlink VRF because we are looking to build a fair and secure product and Chainlink VRF provides an out-of-the-box solution to provide this to our users. ” –Karol Kaleta, Co-Founder of Magic Beasties

About 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.

Learn more about Chainlink by visiting chain.link or read the documentation at docs.chain.link. To discuss an integration, reach out to an expert.

About Magic Beasties

Magic Beasties is a metaverse game about cute Beasties, friendship and adventures. It was built on Binance Smart Chain, and will move to be multichain in the future. Collect Ultra-Rare digital monsters, talismans, potions, scrolls, earn cookies and use them in the game. Feed your magic beasties with cookies, upgrade talismans, access events, travel across CandyLand. Trade and earn!