Tamper-proof and Random

Tamper-proof and Random

Stat allocation is determined using Chainlink's Verifiable Source of Randomness
 (VRF) technology. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to delegate player attributes at mint and help ensure randomized matchups during gameplay. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can rest assured that their NFT is unique and that in-game stats have not been tampered with. Learn more in our Partnerships section.

Random Number Generator:

In order to allocate unique player attributes, 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 blockchain 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.

Private Key Protected:

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 Frontyard Baseball 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 Frontyard Baseball is provably fair and was not tampered with by the oracle, outside entities, or the Frontyard team.

Last updated