Drunk Robots Integrates Chainlink VRF to Help Enable Random Distribution of NFT Robots From In-Game Containers

BADMAD ROBOTS
3 min readApr 4, 2022

We’re excited to announce that Drunk Robots — a play-to-earn game featuring 10101 unique NFT robots — has integrated Chainlink Verifiable Random Function (VRF) on BNB Chain mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to distribute robot NFTs from in-game containers in a provably random manner. Ultimately this creates a more exciting and transparent user experience, as users can have confidence that everyone has an equal opportunity to receive a rare robot NFT when they open an in-game container.

In Drunk Robots your main mission is to survive and seize the city absorbed by the drunk junky robots whose only interests are METAL, beer, and violence. METAL is the in-game token and will have a wide range of use cases right from its launch: users will be able to use METAL to trade in-game items in the marketplace, progress their characters and equipment, battle in the PVP arena, participate in races, and more. The whole ecosystem was designed to provide a stable and growing game economy!

In order to help provide fair NFT distribution when players open containers, 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 Drunk Robots 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 Drunk Robots is provably fair and was not tampered with by the oracle, outside entities, or the Drunk Robots team.

“With our integration of Chainlink VRF, anyone can get equal access to something special. Ultimately, Chainlink VRF helps make our game more fun to play as players can see for themselves that the process for distributing robot NFTs is provably fair.”–Slava Mikhalkin, Co-Founder, Drunk Robots

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 Drunk Robots

--

--

BADMAD ROBOTS

Intense and fun team-based free-to-play multiplayer shooter set in a brutal post-human society.