Sons Of Mars Integrates Chainlink VRF to Help Randomly Select a Winner in a NFT Battle Royale Experience

Sons Of Mars
3 min readJul 18, 2022

--

We’re excited to announce that Sons Of Mars — the ground-breaking NFT Battle Royale experience — 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 randomly eliminate Roman Warrior NFTs during Battle Royales. Ultimately this creates a more exciting and transparent user experience, as users are faced with provably fair and unpredictable in-game outcomes.

Sons Of Mars is an evolving experience aiming to grow from a single Roman Warrior NFT collection to include multiple collections and physical media. The current Roman Warrior NFT collection gives holders royalties on specific creations such as graphic novels, games, and television media.

In order to select random Roman Warrior NFTs to eliminate in the Battle Royale experience, 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 Sons Of Mars 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 Battle Royale eliminations are provably random and were not tampered with by the oracle, outside entities, or the Sons Of Mars team.

“Chainlink VRF is a key integration for Sons Of Mars as it gives our users a way to prove that the randomness used to eliminate players in Battle Royales is verifiably fair.” — Alessandro Frosali, Founder of Sons Of Mars

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 Sons Of Mars

SOM is an NFT collection unlike any other you have ever seen. 5555 Roman Warriors will engage in provably random fights in the arena of OpenSea. Over 40 days, all but one of the warriors will perish and forever be transformed into a classic Roman statue. The last one standing will be crowned Mars Incarnate. After the experience, the owner of Mars Incarnate has a fateful decision to make; either they hold onto their victorious NFT or sell it back to the project for 200 ETH.

Website: www.sonsofmars.io
Discord:
https://discord.gg/sonsofmars
Twitter: https://twitter.com/sonsofmarsnft
Instagram: https://www.instagram.com/sonsofmars.nft/
TikTok: https://www.tiktok.com/@sonsofmarsnft

--

--

Sons Of Mars

The first on-chain Battle Royale experience native on OpenSea