Nifty League Integrates Chainlink VRF To Help Fairly Select MEGA Raffle Winners

Nifty League
4 min readMar 27, 2023

We’re excited to announce that Nifty League — a Web3 gaming platform — has integrated Chainlink Verifiable Random Function (VRF) on Ethereum mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to fairly select winners of our Mega Raffle. Ultimately this creates a more exciting and transparent user experience, as users can verify the source of randomness used to help determine which users win prizes.

Nifty League is a Web3 gaming studio that values decentralization and community above all else. We focus on creating fun and quality gaming experiences for players that give them a sense of ownership by including them in the development process and providing access to making digital game assets. Popular NFTs from our ecosystem include the 1-of-1 RUGMAN and SATOSHI, HYDRAS, and DEGENS — all of which can be won in our MEGA Raffle.

MEGA RAFFLE

In order to fairly select raffle winners, 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 miners/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 Nifty League 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 raffle winner selection mechanism is provably fair and was not tampered with by the oracle, outside entities, or the Nifty League team.

Chainlink VRF Diagram

In the future, we plan to integrate Chainlink VRF into games via the Web3 infrastructure platform 0xCord. This will help us create unpredictable in-game outcomes that make our games more exciting.

“Our raffle prizes have real-world value and are coveted by our community, making it mission-critical that raffle winners are chosen using the industry-standard verifiable RNG. By integrating Chainlink VRF, we better exemplify the core Web3 values of transparency and decentralization and ultimately help increase the integrity of our raffle.” — Andrew Mahoney-Fernandes, Co-Founder and CEO of Nifty League

About Chainlink

Chainlink is the industry-standard Web3 services platform that has enabled trillions of dollars in transaction volume across DeFi, insurance, gaming, NFTs, and other major industries. As the leading decentralized oracle network, Chainlink enables developers to build feature-rich Web3 applications with seamless access to real-world data and off-chain computation across any blockchain and provides global enterprises with a universal gateway to all blockchains.

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

About Nifty League

Nifty League is the ultimate destination for Web3 gamers and NFT collectors alike. Our platform offers a wide variety of exciting games and opportunities to utilize NFTs, including our popular Degens avatars. Whether you’re a seasoned gamer or new to the world of blockchain gaming, Nifty League has something for everyone.

Learn more about Nifty League by visiting niftyleague.com and join our vibrant community on discord to experience the future of gaming today!

--

--

Nifty League

Sultans of smash. Purveyors of gaming nostalgia. Learn more at niftyleague.com!