DogeChampions Integrates Chainlink VRF and Chainlink Keepers to Help Power Fair, Automated Tournaments

DogeChampions
4 min readJul 4, 2022

On July 4th 2022, we integrated Chainlink Verifiable Random Function (VRF) and Chainlink Keepers into the DogeChampions NFT project on Binance Smart Chain mainnet alongside DogeChampions V2. We used these industry-leading services to overcome the incapabilities of smart contracts to access true randomization and decentralized automation. Chainlink VRF helps underpin the game mechanics in tournaments while Chainlink Keepers help automatically finalize tournaments in a reliable, secure, and timely manner.

Key results

  • A tamper-proof and auditable source of randomness for tournament calculations.
  • A safe and secure way to automate tournament finalization.

DogeChampions tournaments are a way for NFT holders to participate in idle games to receive semi-fungible tokens that can enhance NFT properties or sell on the native marketplace. Everyone who participates in a tournament is rewards with a consumable, and winners are rewarded with a DogeChampions NFT! There is also a paid tournament option, in which each player pays a small amount of BNB to enter the tournament and the tournament winner collects 90% of all tournament BNB.

Underpinning Game Mechanics With Chainlink VRF

Chainlink VRF is a low-cost, tamper-proof, and provably fair random number generator (RNG). Any user can independently audit the integrity of the random number on-chain with the requisite amount of technical knowledge, giving our community high assurances that no party — whether the oracle, the DogeChampions team, or third-parties — can manipulate the results of the randomness.

This is particularly important for in-game mechanics such as CRT hits. For example, in our Tournament contract, CRT hits are calculated based on chance, which requires true randomization. We are using Chainlink VRF for exactly this purpose — our tournaments run with verifiable randomness in all its calculations, helping ensure fair gameplay in every tournament.

Automatically Finalizing Tournaments With Chainlink Keepers

In addition to Chainlink VRF, Chainlink Keepers have helped us to solve one of our biggest problems: tournament automation. The first version of DogeChampions did not have an automated system to finalize tournaments when their time was up, which created a human dependency in the tournament workflow as we had to finalize tournaments manually.

Chainlink Keepers is a safe, timely, and reliable smart contract automation solution. We are using the term “reliable” here because we could have also deployed an off-chain node that stores a wallet’s private key to automate our process. However, this is an extremely unsafe way to do automation as the private key can be compromised. If an attacker were to gain access to the node that we use for automation, all the funds in our wallet would be drained. Using Chainlink Keepers was an easy and seamless solution with a proven history of reliability and security. In our opinion, Chainlink Keepers is the best automation solution for blockchains and smart contracts.

Looking Ahead: Becoming a Web3 Gaming Pioneer

DogeChampions is a blockchain gaming project that is fully on-chain. From minting to gameplay, everything related to our project aims to be decentralized. Thanks to these time-tested Chainlink services, our Web3 game is now a stronger project.

We started our project with a simple idle game: our tournaments. We plan to add more to this experience. Our plan for version 3 of DogeChampions is to introduce a “Craft Game” that is decentralized and full of randomization. Our aim is to keep using Chainlink VRF for our next game as well. This game will also require some automation, which will be done using Chainlink Keepers.

“Chainlink is the industry-standard for secure, reliable, and decentralized oracle services. Integrating Chainlink VRF and Keepers helped solve most of our engineering needs for very low prices, which is amazing for small teams like ours. Most importantly, integrating Chainlink services is ridiculously easy.” — SocioDoge, Solidity Engineer at DogeChampions

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 DogeChampions

DogeChampions is the first ever idle fully on-chain gaming project on Binance Smart Chain with great reward mechanics. Our aim is to become a shared platform among idle web3 game developers for both playing, and selling NFTs on BSC.

Players earn BNB and DVT (DogeVerseToken) by minting, holding, and selling their DogeChampions NFTs in our marketplace and more. We keep developing our project and our plan is to add more distinct gaming experiences one after another that can be played with DogeChampions NFTs. Our “Craft Game” for version 3 deployment is under development, and this will be a revolutionary Web3 game on BSC.

You can learn more about DogeChampions by visiting https://dogechampions.io.

--

--