NFTendo Using Chainlink VRF on BSC for Community Reward System

Nftendo
5 min readMay 10, 2021

We are excited to announce that NFTendo — a gamified retro-console-themed NFT collectible project — has integrated Chainlink’s Verifiable Random Function (VRF) on the Binance Smart Chain (BSC) Mainnet. NFTendo will use Chainlink VRF as part of the Community Reward System, where a portion of the BNB token sale proceeds are randomly awarded to a select few NFTendo holders if the total supply has been sold out within 6 months from start of sale. As a result, users can collect NFTs and have the chance to earn additional rewards just for participating. On top of this, as part of the Community Reward System NFTendo allocates 300 BNB to a charity voted by the community where one NFTendo equals one vote.

We selected Chainlink VRF because it’s the most secure and reliable verifiable RNG solution in the blockchain industry, providing users with auditable on-chain proof that the generation of the random number is tamper-proof. As such, NFTendo Community Reward System winners are selected in a provably fair and unbiased manner, leading to an unpredictable and gamified NFT experience.

Next-Generation Gamified NFTs

NFTendos are one of a kind NFTs uniquely minted and stored on the Binance Smart Chain, with a maximum supply of 10,000 tokens. Each NFT gives the holder ownership to a programmatically generated, retro-console-themed 32x32 image that is resized to 320x320 pixels. Each image is created through a system that selects parts such as bodies, hair, hats and accessories derived from people/memes loved by the community within the crypto scene. The NFT images are kept unrevealed before being minted, and only afterwards can users see the exact image of the NFT they generated. At this point, users can then trade, sell, or buy existing NFTendos on NFT marketplaces supporting the BEP721 standard.

In order to generate more utility and a gamified experience for NFTendos holders beyond just collecting and looking at the images, we have devised a mechanism that allows these NFTs to become truly dynamic and provide an element of surprise. This involves automatically entering each NFTendo ID into a pool, and if all 10,000 NFTendos have been successfully sold within six months a Community Reward System is executed in the smart contract where each owner of NFTendo IDs have the chance to win up to 1,000 BNB tokens, among other smaller denominated awards. Each NFTendo token is assigned a unique static ID upon minting, allowing for the usage of a Random Number Generator (RNG) to select the winners. As part of the Community Reward System, NFTendo also allocates 300 BNB to be given to a charity as decided by the community through a voting system where each NFTendo holds one vote.

However, connecting ‘NFTendos’ smart contracts to a tamper-resistant and verifiably fair source of randomness is difficult, with many security considerations that need to be taken into account. For example, on-chain RNG solutions such as using the time of when a block was minted introduces vulnerabilities where miners can manipulate the randomness received by contracts. Additionally, traditional off-chain randomness solutions are often highly opaque, requiring a large amount of unauditable trust in a centralized entity to not manipulate the number to their benefit.

Securing The NFTendo Collection Using Chainlink VRF

In order to overcome these issues, we choose to integrate Chainlink VRF to randomly select Community Reward System winners in a verifiable and highly tamper-resistant manner. Chainlink VRF works by combining unpredictable block data together with the oracle node’s pre-committed private key in order to generate both a random number and a cryptographic proof. This randomness and proof is published on-chain where the NFTendo contract only accepts the random number if it has a valid corresponding cryptographic proof. This provides a high degree of automated security where neither the oracle, users, or NFTendo development team can manipulate the source of randomness.

If, within 6 months, all 10,000 NFTendos have been minted on the BSC network, Chainlink VRF is used to select random winners of the rewards. The first winner selected will receive 1,000 BNB tokens as a reward (1/10,000 chance), while 100 other winners will receive 10 BNB tokens each (1/100 chance). This means 2,000 BNB tokens in total will be available to NFTendo sale pariptants who hold onto their NFT tokens, as they will be automatically entered into the Community Reward System.

This integration of Chainlink VRF allows NFTendo to combine both the appeal of NFTs as a means of artwork ownership and the concept of gamification to create an interesting game theory dynamic: NFTs that are used to determine participants in a Community Reward System. Given the value at stake, Chainlink VRF not only provides users a strong guarantee that they have a fair opportunity to win the Community Reward System, but also drastically reduces the development burden of creating a transparent reward system, which fundamentally requires a secure and verifiable source of randomness.

“We picked Chainlink because it is the best oracle solution out there by far and has proven to provide reliable VRF to a wide variety of high-quality projects. The execution and support of the Chainlink Network is unrivaled in this space. Additionally, VRF is very easy to use, along with very clear documentation that facilitates quicker development from our team.“ — Patrick (Team Manager)

About Chainlink

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.

Docs | Discord | Reddit | YouTube | Telegram | Events | GitHub | Price Feeds | DeFi | VRF

About NFTendo

The NFTendo team is a project that aims to gamify NFT art, making it both fun and lucrative at the same time. Composed of very experienced team members in the blockchain space, NFTendo hopes to attract more eyes into the NFT space by luring individuals with very big prizes.

Website | Twitter |Telegram

--

--