Oasis Network has just launched secure, verifiable Random Number Generation (RNG) for Sapphire, its confidential EVM.
👉 Read the full announcement here: https://oasis.net/blog/oasis-random-number-generation
Generating truly random numbers on-chain has always been difficult. Traditionally, blockchains either:
Rely on block hashes, which can be predictable and manipulated.
Or depend on off-chain oracles, which introduce trust assumptions.
Oasis changes this by using Trusted Execution Environments (TEEs) to generate randomness inside secure hardware — removing extra trust layers and keeping the randomness confidential until it’s needed.
Why This Matters
Secure by Design: Random numbers are created inside Sapphire's TEEs, protecting against manipulation.
Verifiable: Smart contracts can cryptographically verify the randomness.
Private: Randomness stays hidden until revealed, protecting sensitive operations.
Efficient: No need for costly, slow oracle calls.
This opens the door for:
Fair gaming (NFTs, lootboxes, lotteries)
Secure DAO elections
Randomized DeFi mechanisms
Private and verifiable raffles
How It Works
Developers can call the new sapphire::random precompile inside their smart contracts.
Example usage:
Simple, powerful, and secure.
The Bigger Picture
With native RNG, Oasis advances its vision of confidential, verifiable computing for Web3.
This ties in with Sapphire’s other innovations like zkTLS, DeFAI agents, confidential AI, and ROFL (off-chain verifiable logic).
If you're building anything where fairness, privacy, or provable randomness matters, now’s the time to check out Sapphire.
Are you planning to use Oasis RNG in your project? Would love to hear how you’re thinking about applying it!