League of Kingdoms Integrates Chainlink VRF To Help Power Drago NFT Breeding

Arena-Z
LOK Official Blog
Published in
4 min readMay 13, 2022

--

We’re excited to announce that League of Kingdoms — a blockchain-based 4x MMO strategy game — has integrated Chainlink Verifiable Random Function (VRF) on Ethereum mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to help provide randomized traits for new Drago NFTs hatched in the breeding game. Ultimately this creates a more exciting and transparent user experience, as users can independently verify that the genes from each dragon parent were used to mint the Drago NFT offspring in a randomized manner, creating unique Drago NFTs with variable character traits.

League of Kingdoms is a 4x (Explore, Expand, Exploit, Exterminate) massively multiplayer online game (MMO) strategy game with a growing community of more than 800,000 monthly active users. Having launched back in July 2020, it’s the first 4x MMO strategy game to use smart contracts for transactions and governance. Now, League of Kingdoms Arena, the game’s governance system, is building a decentralized gaming platform. The project is backed by industry-leading investors, including a16z, Hashed, Sequoia, Binance Labs, and Blocktower Capital.

In order to help ensure a fair process for Drago breeding, 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 League of Kingdom’s 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 randomness underpinning Drago breeding is provably fair and was not tampered with by the oracle, outside entities, or the League of Kingdoms team.

“What’s interesting about Web3 games in the metaverse is that we are striving to create an interconnected digital world where everybody has aligned incentives and nobody acts maliciously. Chainlink VRF plays a key role within our metaverse, as it allows users to hatch Drago NFT using a provably fair and tamper-proof source of randomness.” — Chan Lee, CEO of League of Kingdoms.

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 League of Kingdoms

League of kingdoms is a massively multiplayer (MMO) strategy game that is centered around building kingdoms and governing the world. Here the player can build a powerful kingdom and army, forge alliances, compete against others, and trade digital assets across the blockchain.

The game also has a native token that can be used for all in-game store purchases, such as purchasing packages, skins, and goods. Additionally, the token will act as an NFT booster to create, upgrade, and acquire special NFT assets, including but not limited to Drago and Skin NFTs. The token will also be used to propose and vote for on-chain governance proposals to determine future features, policies, content, and/or parameters of the game. Tokens are also used to reward players for winning the in-game competitions and completing special tasks.

The LANDs are NFTs transparently and verifiably stored on the blockchain network, so players can own and trade freely. Gamers can not only own a parcel of Land, but various resources therein, and the future growth of the game platform.

🎮 League of Kingdoms Linktree

--

--

Arena-Z
LOK Official Blog

The World's most exciting web3 gaming arena where entertainment meets community!