Chain Legion Integrates Chainlink VRF to Help Determine PvP Game Outcomes
We’re excited to announce that Chain Legion — an NFT project with RPG elements and an on-chain PvP game — 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 help ensure provably fair outcomes in our PvP games, helping provide fairness and unpredictability. Ultimately this creates a more exciting and transparent user experience, as users can immerse themselves in a dynamic and robust PvP system supported by provably fair outcomes.
Chain Legion is an NFT project building an RPG universe on BNB Chain. Our vision is to merge traditional NFT elements with the magic of old-school RPG tabletops into an ever-expanding on-chain universe. We also offer utility to our partner projects within the BNB Chain ecosystem.
In order to help ensure non-deterministic PvP battle results through a source of on-chain randomness, 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 Chain Legion 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 used to help determine PvP battles is provably fair and was not tampered with by the oracle, outside entities, or the Chain Legion team.
As our codebase and on-chain universe expand, we intend to delve deeper into Chainlink’s suite of services, most notably Chainlink Automation, which we intend to leverage to lower the gas costs of computation-heavy contracts.
“We wanted to provide a fun, exciting, and fair gameplay experience for our players. This is why we integrated Chainlink’s industry-standard RNG to help determine PvP outcomes in a provably fair manner.” — Lizardev, CEO
About Chainlink
Chainlink is the industry-standard Web3 services platform that has enabled trillions of dollars in transaction volume across DeFi, insurance, gaming, NFTs, and other major industries. As the leading decentralized oracle network, Chainlink enables developers to build feature-rich Web3 applications with seamless access to real-world data and off-chain computation across any blockchain and provides global enterprises with 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 Chain Legion
Chain Legion is an NFT project building an RPG universe on BNB Chain. Our vision is to merge the traditional NFT elements with the magic of old-school RPG tabletops into an ever-expanding on-chain universe. We also offer utility to our partner projects within the BNBChain ecosystem.