Libera Documention
Play Games
  • 👋Introduction to Libera
  • 🎯What is Libera?
  • 📜Libera Roadmap
  • 🔗Visit Libera
  • Getting Started
    • 🏃Connecting Your Wallet
    • 🖇️Bridge to Base
  • Libera Platform
    • 🌐Libera Games
    • 🎫Per-Game Details
    • 🛠️General Game Rules & UI Controls
    • 👁️Viewing Game History
  • Fairness & Security
    • Provably Fair Gaming
    • Chainlink VRF Integration
    • Verifying Randomness
    • Smart Contract Security
    • User Safety Practices
    • Responsible Gambling Tools
  • Rewards & Loyalty System
    • Loyalty & VIP Tiers
    • Rakeback Program
    • Tournaments, Events & Promotions
    • Daily, Weekly & Monthly Bonuses
  • Ambassador Program
  • Referral Program
  • Community Incentives
  • Liberia Support
    • Partnership & Support
  • Official Links
    • Website
    • X/Twitter
    • Discord
    • Github
  • About Libera
    • Media Kit
    • Contracts
    • Audit
Powered by GitBook
On this page
  1. Fairness & Security

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.

PreviousProvably Fair GamingNextVerifying Randomness

Last updated 8 days ago