Knives Legacy Integrates Chainlink VRF To Help Power On-Chain Raffle

KnivesLegacyNFT
3 min readOct 21, 2022

--

We’re excited to announce that Knives Legacy — an NFT project with an on-chain raffle — has integrated Chainlink Verifiable Random Function (VRF) on Avalanche mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to draw the raffle winners. Ultimately this creates a more exciting and transparent user experience, as users can verify the random number used in the winner selection process on-chain and get many prizes thanks to the system, such as NFTs, WL and other surprises.

The Knives Legacy NFT project has built a raffle on its Avalanche-based dApp. The raffle is on-chain, enabling everything to be recorded on the blockchain and therefore more secure and transparent. Following the on-chain raffle, we plan to launch a military-themed GameFi platform.

In order to draw the 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 Knives Legacy 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 drawing of the winners process is provably fair and was not tampered with by the oracle, outside entities, or the Knives Legacy team.

“In an effort to offer more transparency to our users around the source of randomness used to select raffle winners, we’re excited to integrate Chainlink VRF. Integrating the industry-leading Web3 randomness solution was a natural choice for our protocol.” –Ororys, Founder and CEO of Knives Legacy

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 Knives Legacy

Knives Legacy is a complete project whose priority is to build ways to give benefits to its holders. Starting with the on-chain raffle solution, available to holders of our first collection, initially launched as a freemint. A second collection is in preparation, and with it will come a GameFi-platform, which will complete the military universe we’ve imagined.

--

--

KnivesLegacyNFT

An NFT project that innovates and tries to offer new features on Avalanche. First stop: on-chain raffle.