VRF

VRF Integration

Mega Casino relies on Verifiable Random Functions (VRFs) to generate fair and unbiased outcomes for its games. A VRF is a Random Number Generator (RNG) that produces on-chain verifiable randomness, ensuring that game results are provably fair and cannot be manipulated.

By integrating VRF technology, Mega Casino guarantees transparent and tamper-proof gameplay for all users. Chainlink VRF, the leading provider of secure randomness in the crypto space, is one of the key solutions powering our system.

For a detailed explanation of how VRFs like Chainlink VRF function, please refer to [Chainlink’s documentation]. To understand how Mega Casino implements VRFs within its smart contracts, visit the Framework page.

Integrated VRFs

TBA...

VRF fees

To resolve RNG requests, VRFs require significant computational power, which is why a fee is charged for their services. This VRF fee is paid upfront by the user. Please note that the gas fees may appear higher initially, as the VRF fee can only be determined at the time the request is made. However, a substantial portion of the VRF fee is refunded within the same transaction.

For more details on how VRFs are integrated, please refer to the Framework section.

Pending VRF requests

On their profile page, players can view Pending VRF Requests. In rare instances, a VRF request may fail to resolve, causing the player's wager to become stuck in the game contract. If this happens, the player can click "Refund" after 100 blocks to retrieve their wager from the game contract.

Last updated