Seipex Finance
DiscordDragonSwapAstroportOpenSeaPallet
  • Seipex Finance
  • Seipex Digital Assets
    • Seipex Credits (SPEX)
    • Founder's Pass NFT
  • Seipex VRF
    • Integration
      • VRF Consumer Interface
      • Request Randomness
      • Randomness Callback
      • Simplified Example
      • Proof Validation
      • Extended VRF Consumer Interface
      • Extended Randomness Callback
      • Verify Proof
      • Complete Example
      • Security Considerations
      • Gas Cost Considerations
  • Seipex API
    • Available Endpoints
  • Seipex Mercury
    • Available Endpoints
Powered by GitBook
On this page
  1. Seipex VRF
  2. Integration

Proof Validation

In the previous example, we simplified the process by omitting proof validation and the verification that the random number was generated by the VRF private key. However, in many applications, especially those requiring high security and trust, validating this information is crucial. In this section, we'll discuss how to implement proof validation and on-chain verification to ensure the integrity of the randomness.

Why Proof Validation Matters

Proof validation ensures that the random number provided by the VRF Consumer was genuinely generated using the specified VRF private key. Without this validation, there is no guarantee that the random number hasn't been tampered with or generated maliciously. This is particularly important in decentralized applications where the fairness of random outcomes is critical, such as in lotteries, gaming, or any form of unbiased selection process.

Let's learn how to do that together!

PreviousSimplified ExampleNextExtended VRF Consumer Interface

Last updated 9 months ago