Degis Integrates Chainlink VRF to Help Fairly Select Treasury Box Winners

We’re excited to announce that Degis, the next-generation, all-in-one DeFi protection protocol, 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 generate provably random numbers that help determine the winners of the Treasury Box game. Ultimately this creates a more exciting and transparent user experience as users can verify the winning numbers were generated in a verifiably fair manner.

Treasury Box is a game giving users a chance to win generous rewards. To play, users buy lucky tickets with DEG for the chance to win more DEG. Treasury Box features continuous game rounds. Each round, users must match a single 4-digit combination to win prizes.

In order to help ensure that Treasury Box is fair, we needed 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 Degis 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 selection process for winners of Treasury Boxes was not influenced by the oracle, outside entities, or the Degis team.

“​​Degis previously integrated Chainlink Price Feeds to help secure its protection products, and the flawless performance of Price Feeds led us to integrate Chainlink VRF. With VRF, our users can now directly verify that Treasury Box winners are selected in a provably fair manner.” — Andy, Founder and CEO of Degis

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 reading the developer documentation at docs.chain.link. To discuss an integration, reach out to an expert.

About Degis

Degis is the 1st all-in-one protection protocol built on Avalanche. The ultimate goal is to build a universal crypto protection platform and shape a decentralized protection ecosystem. Protecting crypto assets is always the mission of Degis, and with blockchain technology we are going to make protection reachable to every part of the world.

Learn more about Degis by visiting https://linktr.ee/ProjectDegis. To reach updated news, keep following Degis social accounts: https://twitter.com/ProjectDegis.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store