Chainlink VRF Integration
Libera takes provable fairness to the next level by integrating Chainlink Verifiable Random Function (VRF). Chainlink VRF is a decentralized random number generator (RNG) designed specifically for smart contracts. It provides cryptographic proof that the random numbers used in our games are truly random and haven't been tampered with by any party, including Libera.
How Chainlink VRF Works
Chainlink VRF works through a secure and auditable process:
Request for Randomness: Libera's smart contracts make a request for a random number from the Chainlink VRF oracle network.
Oracle Response: A Chainlink oracle node, selected randomly and provably fairly, generates a random number along with a cryptographic proof of its integrity.
On-Chain Verification: The smart contract on Libera automatically verifies the cryptographic proof submitted by the oracle node. If the proof is valid, it confirms that the random number was indeed generated by the correct oracle and hasn't been altered.
Use in Games: This verified random number is then used to determine the outcome of the game (e.g., the crash point in Crash, the dice roll in Dice, the mine locations in Mines, or the winning number in Roulette).
This process ensures that the randomness used in Libera's games is not only statistically sound but also cryptographically verifiable on the blockchain.
Last updated