The Oasis Privacy Layer (OPL) is the industry-leading EVM-compatible Smart Privacy solution that redefines how Web3 developers engineer confidential smart contracts.
Powered by Sapphire, OPL brings the first confidential EVM with interoperable on-chain privacy to Web3.
Contracts for a dApp that uses OPL live on their host network where users and native assets also live. Elements of a dApp are deployed on Sapphire, and the host network can securely pass messages to and from the Sapphire runtime through OPL using its messaging bridge.
Every blockchain has its own native gas token, which can create cross-chain friction. But by using OPL, dApps can pay gas with their own native token while still leveraging the confidentiality features of the Sapphire runtime. Messages are passed through and executed on Sapphire. Users can directly interact with confidential contracts. And gas is paid for in whatever token fuels their native network.
With full support for the two most popular frameworks, Truffle and Hardhat, you can develop, test, debug and deploy your dApp using OPL just like you normally do.
This is a default tooltip
In comparison to zkSNARKs, Fully-Homomorphic Encryption (FHE) or Multi-Party-Computation (MPC) it is much easier to build cross-chain dApps with privacy, speed and confidentiality using OPL.
Confidential Sapphire contracts have access to a range of cryptographic primitives for random number generation, encryption, and asynchronous signatures with widely adopted algorithms such as Ed25519 and Secp256k1.
Start reading the OPL documentation to build your Hello World dApp using OPL.
Join the Oasis community to chat with the engineers behind OPL and other Solidity developers building privacy-first applications with OPL.
Participate in the Oasis Privacy4Web3 Hackathon.
Apply for an Oasis grant to build privacy-first Web3 dApps on Sapphire or any other blockchain that uses Sapphire as a privacy layer.
Explore the public Github repository and start adding it to your projects.
The Oasis Privacy Layer is a privacy platform for all of Web3… and we mean all of it.
Sapphire is a Confidential EVM with end-to-end encrypted transactions and encrypted storage. This allows contracts to operate on secret data, encrypt and decrypt information, generate random numbers and sign or verify cryptographic signatures.
Contracts pay for gas on-chain where the message is sent from, this means you can ‘send and forget’ and can expect the contract on the target chain will be called with the message. See Celer IM Overview and the Fee Mechanism pages for more info.
OPL uses the Celer Inter-chain Message (Celer IM) Framework. It is very easy-to-use and allows a "plug'n'play" upgrade that often requires no modifications with already deployed code.
Messages transmitted via the bridge are not encrypted, however any computation which happens on Sapphire is fully confidential and can operate on secret data.
The Celer IM bridge is secured by the ‘State Guardian Network’ and has additional dApp safeguards with the Celer IM app guardian. See docs for more.
Sapphire is secured by Trusted Execution Environments (TEE) and the Oasis Layer1 BFT Proof-of-Stake consensus system, see the WhitePaper.
Yes, the ‘Secret Ballot Lite’ application shows how you can vote in private using OPL, where the main contract runs on a Transparent EVM chain such as Binance Smart Chain or Polygon.
The Oasis Docs includes an overview of Oasis Privacy Layer and a full tutorial which walks you through the steps of adapting an application to use OPL for selective privacy where it’s needed.