Oasis Privacy Layer

Seamlessly add privacy to your existing dApp on any EVM network

The Oasis Privacy Layer (OPL) is an EVM-compatible privacy solution that opens new frontiers for confidential smart contracts in Web3 applications on the most popular EVM networks like Ethereum, BNB Chain, and Polygon.

Who uses OPL?

The Oasis Privacy Layer is a privacy platform for all of Web3… and we mean all of it.

NFTs

  • Beyond being creative, high-resolution digital collectibles, NFTs hold vast potential for greater functionality as Web3 identities, memberships, and more. OPL enables customizable permissions for data associated with digital collectibles, thereby restricting access to sensitive data.
  • Consider a scenario where an NFT creator wants to include some more personalized content with their NFTs. An artist could include original sketches associated with the NFT, Gaming projects can add associated lore to items, or performers can include loyalty rewards to their ticket sales. This allows NFTs to go beyond proof that someone owns a unique item, but also allows individuals to have a unique experience connected to the NFTs they own. Creators can use OPL as a way to manage access to this unique content while enabling the NFTs to be minted on whichever chain they wish.
Docs and sample codes to be released soon.
Back

DAOs

  • Optimized community management and DAO decision making requires discretionary transparency, and privacy tools like OPL are essential to achieving it.
  • Consider a routine on-chain voting process and the benefits of implementing secret ballots via encrypted signed messages. A user will submit a vote on-chain, which the DAO will relay to Sapphire’s confidential compute environment through OPL. Messages containing the voting results as well as the original ballots will be sent back to the DAO’s native chain. The OPL gas relayer also allows voters to pay gas on their native chain while using Sapphire for confidential compute, so the entire process is abstracted away from the governance process.
Docs and sample codes to be released soon.
Back

DID

  • Decentralized identity (DID) in Web3 hinges on robust protections for users’ personal information. With OPL, Solidity developers can build DID dApps with customizable privacy settings allowing users to control exactly what information is revealed to whom..
  • Consider a scenario where a user needs to verify their credentials to gain access to a lending pool with better rates. Instead of publishing this personal data publicly on-chain, it can be stored in a confidential Soul Bound Token (SBT), which only the SBT owner can access. The lending pool dApp can request a signed message verifying these credentials stored in the SBT. which can then be sent through OPL to the dApp’s native chain. This entire transaction can be abstracted away from the frontend action. After Sapphire performs the necessary computation, the result of that computation will be messaged back to the dApp sharing whether the user meets or fails the pool’s criteria.
Docs and sample codes to be released soon.
Back

Gaming

  • Maintaining secret game state is essential for many Web3 games. Card games, strategy games and RPGs must manage secret state such as cards in a deck, other players’ hands, fog of war or puzzles/riddles/quests. However, current Web3 games have to move these features off-chain, sacrificing the high integrity and trustless guarantees unique to Web3 gaming. Fortunately, with Sapphire and the Oasis Privacy Layer, this trade off is no longer necessary. 
  • For instance, a role-playing game can leverage the Oasis Privacy Layer to include an on-chain puzzle with an NFT prize. During gameplay, the dApp will prompt the user to submit the solution in a signed encrypted message. If the puzzle is solved correctly, a message can then be sent back to the game on its home chain, unlocking an NFT reward that the player can use in the game. 
Docs and sample codes to be released soon.
Back

DeFi

  • Sapphire provides a range of options for dApps to customize their levels of transparency and confidentiality. This allows them to selectively reveal or encrypt specific aspects of the contract state, depending on their product requirements.
  • For instance, a DEX on Sapphire can opt to encrypt specific aspects of state, such as the orderbook and slippage parameters for trades. In this way a DEX would be MEV resistant as bots trying to frontrun or sandwich attack user’s trades would not have the necessary information to identify profitable opportunities.
Docs and sample codes to be released soon.
Back

DAOs

Secret voting protects DAO members’ freedom of expression and enables unbiased voting processes. Configurable privacy facilitates better DAO governance.

Read More

DID

User-controlled data sharing policies and selective disclosure unlock the true potential of on chain identities.

Read More

DeFi

Selectively encrypt specific trading parameters to avoid MEV

Read More

DAOs

Secret voting protects DAO members’ freedom of expression and enables unbiased voting processes. Configurable privacy facilitates better DAO governance.

Read More

Gaming

More on-chain game logic means stronger integrity guarantees and more transparency for Web3 games.

Read More

DID

User-controlled data sharing policies and selective disclosure unlock the true potential of on chain identities.

Read More

NFTs

Private attributes and unlockables add value to collections. They can be used to enable gaming features and to cultivate the relationships between creators and collectors.

Read More

DeFi

Selectively encrypt specific trading parameters to avoid MEV

Read More

And More!

And this is only the beginning!

Gaming

More on-chain game logic means stronger integrity guarantees and more transparency for Web3 games.

Read More

NFTs

Private attributes and unlockables add value to collections. They can be used to enable gaming features and to cultivate the relationships between creators and collectors.

Read More

And More!

And this is only the beginning!

What does OPL offer?

Powered by Sapphire, OPL brings the first confidential EVM with interoperable on-chain privacy to Web3.

Customizable Privacy

Different dApps require different levels of privacy. OPL offers customizable privacy, from fully public to completely confidential. It’s privacy for everyone, the way they want it. Only the parts of your dApp that need privacy run on Sapphire while your users and their assets stay on the home chain.

Cross-Chain Convenience

Full-spectrum on-chain privacy matters for all Web3 users on every blockchain. OPL delivers versatile cross-chain privacy tools to any Layer 1 ecosystem for a safer Web3 experience. With a built-in message-passing bridge, it's easy to synchronize dApp state between the home chain and the OPL secure computing environment.

Productive Transparency

Transparency is not an all-or-nothing feature of Web3, and forcing all on-chain activity to be completely public, as is the case with traditional smart contracts, can be counterproductive. OPL empowers every Solidity developer to finetune the level of discretionary transparency that suits their application.

How to get started with OPL?

1

Start reading the OPL documentation to build your Hello World dApp using OPL.

2

Join the Oasis community to chat with the engineers behind OPL and other Solidity developers building privacy-first applications with OPL.

3

Participate in the Oasis Privacy4Web3 Hackathon.

4

Apply for an Oasis grant to build privacy-first Web3 dApps on Sapphire or any other blockchain that uses Sapphire as a privacy layer.

Latest Blogposts

Get Involved

How we use cookies?

At Oasis Foundation we believe in your privacy, so you can choose to browse our site without any tracking or by clicking “Accept”, you help us to improve our site and help us grow our ecosystem. View our Privacy Policy for more information.