Raiders NFT Integrates Chainlink VRF and Keepers To Power Lestari Gameplay Mechanics

Raiders-NFT
4 min readSep 1, 2022

--

On August 27th, we integrated Chainlink VRF and Chainlink Keepers into Raiders NFT on Fantom mainnet. By leveraging the industry-leading RNG, we were able to insert verifiable randomness into Lestari’s gameplay mechanics to provide players with more exciting and unpredictable outcomes.

We chose to use Chainlink Keepers instead of relying on a centralized automation service or the Raiders NFT team to trigger necessary smart contract functions because that would introduce reliability and centralization risks to the game. Keepers enabled us to automate gaming functions in a highly reliable, secure, and decentralized manner.

Through a combination of Chainlink VRF and Chainlink Keepers, Lestari now has enhanced transparency, reliability, and security.

The Continued Growth of Raiders NFT Through Chainlink Service Support

Raiders NFT allows users to mint character NFTs with different classes and skills. With these NFTs, users can participate in a bi-weekly war, where they compete amongst four opposing factions in order to claim the largest portion of the prize. In-game interactions can be rewarded with R4ID tokens, which can be used to mint our NFTs and participate in yield farming opportunities, as well as other in-game uses planned for future release. Raiders NFT is a community-focused platform that aims to reward our most active users for their contributions.

Securing Weather Conditions With Chainlink VRF

Implementing Chainlink VRF enables us to introduce randomized weather patterns on Lestari. Players may face treacherous weather conditions in the face of battle, whether it be arctic storms blowing in with freezing wind or arid heat comparable to a desert wasteland. Many players will do quite well in a particular weather condition but fall short in others. These unpredictable weather patterns will have not only their conditions set with the help of Chainlink VRF but their intervals as well. This will help create truly exciting and unexpected play situations.

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 Raiders NFT 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 helps provide users with automated and publicly verifiable proof directly on-chain that each in-game action using Chainlink VRF for randomness is provably fair and cannot be tampered with or predicted by the oracle, outside entities, or the Raiders NFT team.

Automating Smart Contracts With Chainlink Keepers

With the implementation of Chainlink Keepers, we are able to automate our smart contract functionality in a highly reliable, secure, and decentralized manner. We implemented an Upkeep to check whenever a user is ready to charge into battle and then trigger the smart contracts powering our gameplay mechanics.

We chose to integrate Chainlink Keepers as they provide an array of features including:

  • High Uptime — Chainlink Keepers are run by the same professional DevOps teams that have an established on-chain performance history of providing high reliability to Chainlink Price Feeds during extreme network congestion and market volatility.
  • Low Costs — Chainlink Keepers have several gas-optimizing features that lower the costs of automating maintenance tasks for users, including a rotating node selection process to prevent gas price auction wars and stabilize costs.
  • Decentralized Execution — Chainlink leverages a decentralized and transparent pool of Keepers to help provide strong guarantees around secure contract automation, saving teams time and mitigating the risks around manual interventions or centralized servers.
  • Expandable Computation — Chainlink Keepers perform off-chain computations and generate calldata verifiable by smart contracts, allowing developers to build advanced, trust-minimized dApps at lower costs.

“By integrating Chainlink VRF and Chainlink Keepers, we can power our gameplay mechanics with the most secure and reliable RNG and smart contract automation service that the blockchain industry has to offer.” — Sgt, Founder and CTO of Raiders NFT.

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 Raiders NFT

Raiders NFT is a blockchain-based gaming protocol that lets users own character NFTs and use them to earn digital asset tokens, collect digital arts, and have fun!

--

--