OneRare Integrates Chainlink VRF to Help Power Randomized NFT Staking Reward Distribution

OneRare
4 min readDec 28, 2021

We’re excited to announce that OneRare, the food metaverse, has integrated Chainlink Verifiable Random Function (VRF) on the Polygon 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 randomized in-game NFT distribution to users staking their ORARE tokens. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can receive Ingredient & Dish NFTs as staking rewards in a provably fair and randomized manner on the blockchain.

Additionally, OneRare is planning to integrate Chainlink Keepers to automate the smart contracts of its novel DeFi Farming Mechanism.

Once the contracts are fully audited, the OneRare development team will open-source their smart contracts for the broader NFT gaming community to use.

OneRare celebrates food on the blockchain for the first time ever by creating enthralling gameplay for foodies across the world. Users can explore the four areas of the Foodverse — Farm, Farmer’s Market, Kitchen, & Playground — to stake, earn, collect, and battle. At the Farm, users can stake ORARE to farm for Ingredient NFTs that can be harvested and sold at the Farmer’s Market, or used to combine Dishes in the Kitchen. Our project aims to bring the global food and beverage industry to the blockchain by bringing celebrity chefs, restaurants, and brands to the Foodverse via NFTs, and celebrating global cuisines and culinary talent.

In order to help ensure that the NFTs are randomly assigned to users, 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 OneRare 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 Ingredient & Dish NFTs they receive are provably fair and were not tampered with by the oracle, outside entities, or the OneRare team.

With the rapidly growing Foodverse opening new doors for the Global Food Industry, we see many opportunities for leveraging Chainlink solutions to strengthen our technical side, such as using Price Feeds to create virtual tamper-proof markets in the future.

“It is a massive value-add to utilize Chainlink VRF to help fairly distribute NFT staking rewards to OneRare users. Staking for Ingredients lies at the very heart of OneRare, and to be able to incentivize this in a fair and transparent manner significantly increases the credibility of our project. We are also looking forward to utilizing Chainlink Keepers to automate our smart contracts without having to rely on centralized entities to trigger our contracts.”

-Gaurav Gupta, Co-founder OneRare

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 ONERARE

OneRare is the world’s first Metaverse for the global Food & Beverage Industry. OneRare is building the first Tokenization layer that celebrates Food in Web3 — creating an immersive & Gamified experience for users worldwide.

🍩 Claim Dish NFTs from all across the world | Global Cuisines, Festive Menus, Vegan/Keto, Cocktails & more

🧄 Collaborating with Celebrity Chefs, Iconic Restaurants, & Food Brands for their first NFTs in blockchain gaming

🍟 Immerse in our Gamified Foodverse to create Dishes | Play-to-earn Farm, Farmer’s Marketplace, Kitchen, & Mobile Gaming Playground

🍕 Food Partners to Web3 Projects | Special Menus for Web3 games & characters, Food Catering for Web3 events

🌯 NFT to Real Life I Swap NFTs for meals & deals from Top Restaurants/Brands

🍚 Action Against Hunger I Join the global effort to take action against hunger.

Website |Discord |Telegram |Twitter |Facebook | Instagram

--

--

OneRare

OneRare is the world’s first Food Metaverse, celebrating Food, NFTs & Gaming. Let’s foodify the blockchain !