Blockchain · Explainer
How Oasis Sapphire Keeps Smart Contract Data Confidential in 2026
Oasis Sapphire is an EVM-compatible network built to keep smart contract data private, and the Oasis Privacy Layer extends that confidentiality to other chains. This guide explains how the design works, what private messaging means in practice, and where the limits are.
By the DappsAtlas editorial team · Updated

What Oasis Sapphire and the Oasis Privacy Layer are
Oasis Sapphire is a confidential EVM ParaTime, meaning a separate execution environment within the Oasis Network that runs Ethereum-style smart contracts while keeping their data private.
In practical terms, a developer writes a contract in Solidity, deploys it to Sapphire, and interacts with it using familiar Ethereum tooling. The difference is that certain contract state and inputs are not visible to the public the way they would be on a standard public EVM chain.
The Oasis Privacy Layer, often shortened to OPL, is a companion design. It lets applications on other EVM networks send work to Sapphire and receive results back, so an app on a different chain can gain confidential computation without becoming a Sapphire app itself.
Sapphire is therefore best understood as the confidential execution layer, and the Oasis Privacy Layer as the connection that makes that layer usable from outside the Oasis Network. Both are aimed at developers who need data privacy inside smart contracts, rather than at casual users looking for a single product.
Why public blockchains expose data by default
Most public blockchains are transparent by design. Anyone can read a contract's storage, follow transaction inputs, and reconstruct balances and positions. That transparency is useful for auditing, but it creates problems for applications that handle sensitive information.
Examples include trading strategies that can be front-run once an order is visible, governance votes that can be pressured before they close, and private messages or identity-linked data that should not be readable by every node operator and indexer.
Workarounds exist, such as encrypting data before it reaches the chain or keeping logic off-chain. Each has costs. Off-chain logic weakens verifiability, and client-side encryption often leaves metadata and access patterns exposed.
Confidential smart contracts try to solve the problem inside the execution environment. The goal is that the network can process a transaction and produce a correct result without publishing the underlying private values to every observer.
How Sapphire keeps contract state and inputs confidential
Sapphire relies on hardware-based trusted execution environments, or TEEs. A TEE is a protected area of a processor where code and data are isolated from the rest of the machine, including the operating system and the node operator.
When a confidential transaction arrives, the encrypted input is decrypted only inside the TEE. The contract runs there, and the resulting state is re-encrypted before it is stored. Observers who read the chain see ciphertext and the public outputs the contract chooses to reveal.
The design depends on the integrity of the hardware and the software running inside it. Attestation mechanisms let the network verify that the enclave code matches what was expected, which is a useful check but not a guarantee against every class of attack.
For a reader evaluating the system, the key question is which values are private, which are public, and who can see what at each step. Official Oasis documentation describes these boundaries, and it is worth reading that material directly rather than relying on summaries.
What the Oasis Privacy Layer adds for other EVM chains
The Oasis Privacy Layer is designed for EVM chains that are not Oasis. Applications on those chains can make calls that are executed on Sapphire, and the confidential result is returned to the originating chain.
This matters for developers who already have liquidity, users, or tooling on another network and want to add privacy features without rebuilding everything on a new base layer. The privacy functions sit in a contract that can be reached through cross-chain communication.
That design introduces an extra dependency. The security of the confidential step now depends on the bridging or messaging path as well as on Sapphire itself. Each hop needs its own review, including how messages are verified, how failures are handled, and whether funds can get stuck if a message is delayed.
If you are evaluating an app that uses the privacy layer, ask which contracts run on which chain, where assets are held at each step, and what happens if one leg of the process fails.
How private messaging works on confidential chains
Private messaging on a confidential chain usually means that message contents, recipient lists, or access rules are handled by a contract whose internal state is not publicly readable. The chain stores ciphertext or commitments, and only parties with the right keys or permissions can recover the plaintext.
A typical design has a few parts:
- A key exchange or key registration step so senders can encrypt for a recipient
- A contract that stores encrypted payloads and enforces who can read or delete them
- An off-chain client that decrypts messages and shows them to the user
- Event logs or notifications that tell a recipient something arrived, without revealing the content
Each part can leak information. Event logs, timing, message size, and the client app itself are common weak points. A confidential contract protects the stored state, but it does not automatically hide every signal around that state.
When you review a private messaging dApp, check where keys are generated, whether the client code is open for review, and what the contract emits publicly.
Confidentiality is not the same as anonymity
Confidentiality and anonymity are different properties. Confidentiality hides data content. Anonymity hides the link between an action and a real-world identity.
On Sapphire, a transaction still comes from an address. That address can be linked to other activity through funding sources, exchange withdrawals, public social posts, or repeated use. A contract that hides its inputs does not stop an observer from seeing that a particular address interacted with it.
Timing and amounts also matter. If a transfer moves a distinctive amount at a predictable time, the event may be easy to correlate even when the contract logic is private. Some flows reveal more through their public outputs than their designers intended.
If your goal is anonymity, treat confidential computation as one tool among others and check whether the dApp documents what it does and does not hide. Be aware too that privacy features can be restricted by laws in some jurisdictions, so check local rules before relying on them for sensitive activity.
Security checks before you trust a confidential dApp
Confidential contracts add security assumptions that ordinary contracts do not have. Before you rely on a dApp that uses Sapphire or the privacy layer, work through a short review.
- Look for independent security audits and read the scope and findings, not only the summary
- Confirm that the contract addresses come from official project documentation
- Check whether the project has a public bug bounty or disclosure policy
- Review how upgrades are controlled, including whether a multisig or timelock applies
- Understand the trusted execution environment assumptions and how attestation is verified
- Find out what happens to funds if the privacy component is paused or fails
For your own wallet, keep seed phrases offline, use hardware wallets for significant balances, and be cautious with token approvals. Revoke unused approvals regularly.
Be skeptical of anyone who asks for your private key, seed phrase or a signature that looks like a transfer. Legitimate support teams do not need those. Phishing sites often copy the names of real projects, so type addresses yourself or use bookmarks from official sources.
What the design means for developers and builders
For developers, Sapphire offers an EVM-style workflow, so much of the Solidity knowledge and tooling carries over. The main changes involve how state is read, how encrypted inputs are produced, and how confidential results are handled in the client.
Several design questions come up early. Which values must be secret for the application to work? Which values can be public, and do those public values reveal the secret indirectly? Does the app need the result on another chain, which would bring cross-chain messaging into the design?
Testing is a key step. Confidential contracts can be harder to debug because the state that matters is not visible in a standard block explorer view. Plan for test environments, logging that does not leak secrets, and review of what each event emits.
For a user, the practical takeaway is that a well-built confidential app should document these decisions. If the documentation skips them, that is a reason to wait before depositing funds or sending sensitive data.
How to check the current state of Sapphire yourself
This guide does not state current activity, total value locked, or transaction counts, because those figures change often and vary by source. You can check them yourself.
Start with the official Oasis Network documentation and announcements to confirm what Sapphire and the Oasis Privacy Layer currently support. Then use block explorers for the relevant networks to view contract deployments, transaction history, and any published upgrades.
For aggregate figures, compare several independent dashboards and check their methodology, since some count deposits differently or include bridged assets. Note the date on every figure you use.
Finally, read recent audit reports and incident disclosures for any dApp you are considering. The current state of a confidential system is best judged from its latest documentation, code changes, and security history, not from a summary written at an earlier date.
Frequently asked questions
Is the Oasis Privacy Layer the same thing as Sapphire?
Sapphire is the confidential EVM ParaTime on the Oasis Network, where contracts run with private state. The Oasis Privacy Layer is a separate design that lets apps on other EVM chains call Sapphire for confidential computation. Sapphire is the execution environment, and the privacy layer is a way to reach it from elsewhere.
Does using a confidential chain make me anonymous?
Not by default. Confidentiality hides contract state and transaction inputs from the public, but addresses, timing, amounts moved in some flows, and any off-chain activity can still reveal who did what. Anonymity needs separate measures, and you should check the specific dApp's design before assuming either property.
Do I have to trust the hardware?
Confidential contracts rely on hardware-based trusted execution environments, so you are trusting the chip vendor's hardware and the network's implementation. Past research has shown side-channel attacks against trusted execution environments, so this is a real trade-off. Read the audit reports and the project's security documentation, and treat the hardware assumption as part of your risk.
How can I check how much activity Sapphire has right now?
Start with the Oasis Network's official documentation, then check block explorers for the Sapphire network to see contract activity and deployments. Public dashboards that track total value locked and activity change often, so compare current figures from the sources themselves rather than relying on a number quoted in an article.
What should I check before using a confidential dApp for the first time?
Use a wallet you already trust, confirm the network's chain ID and RPC endpoint from official Oasis sources before adding it, and send a small test transaction first. Be wary of links that claim to be the official app, and never share your seed phrase or private keys with any dApp, support agent or message.
Mentioned in this guide
dApps in this guide
LayerZero V2 is a cross-chain messaging protocol and bridge infrastructure for developers and asset issuers, connecting dozens of blockchains.
Across is an intent-based cross-chain bridge and swap protocol for moving tokens between Ethereum, rollups and other chains, with an API for apps.
Arbitrum Bridge is the canonical bridge that moves ETH and ERC-20 tokens between Ethereum mainnet and the Arbitrum Layer-2 rollup.
Keep reading
Related guides
Blockchain · Explainer
Optimism Data Points That Signal a Layer 2 Season
A layer 2 season is a broad rise in activity, capital and attention across rollups. This guide explains which Optimism and Superchain metrics are worth tracking, how to read them, and which ones are easy to inflate.
Blockchain · Chain guide
Astar zkEVM Guide: Polygon CDK Layer 2 Explained
Astar zkEVM was an Ethereum layer-2 network built by the Astar team with Polygon's Chain Development Kit. This guide explains how it works, how it differs from Astar Network on Polkadot, how to use it safely and what to verify before you move funds.
Blockchain · Explainer
Blockchain Interoperability Explained and How Lisk Approaches It
Blockchains are separate networks that do not natively share assets or data, which limits liquidity, users and applications. Interoperability is the set of methods that let them exchange value and messages, and Lisk is one platform that has built its own approach to it.
Blockchain · Explainer
Blockchain Privacy in 2026: Privacy vs Anonymity and Top Chains
Public blockchains record everything, and that has consequences for safety, business and trading. This guide explains privacy versus anonymity, the main privacy techniques, and which chains support private dApps.
Blockchain · Explainer
Oasis Sapphire Hackathon: How to Build Confidential dApps
Oasis invited developers to build confidential EVM dApps on its Sapphire ParaTime through a hackathon. This guide explains what that event asked for, how Sapphire keeps contract state private, and how developers can start building confidential applications now.
Blockchain · Explainer
Oasis Sapphire Explained: Confidential EVM Smart Contracts in 2026
Oasis Sapphire is an EVM-compatible chain that runs smart contracts inside trusted execution environments so that contract state and inputs can stay confidential. This guide explains how it works, what it protects, where it falls short, and how to evaluate it in 2026.
Blockchain · Chain guide
What Is Oasys Blockchain? A Guide for 2026
Oasys is an EVM-compatible blockchain built for games, with a two-layer design and its own OAS token. This guide explains how it is structured, what the token does, and what to check before you use it.
Blockchain · Explainer
Oasis Network, YuzuSwap and the Airdrop: A 2026 Guide
A plain guide to the Oasis Network ecosystem announcement that welcomed YuzuSwap, the DeFi exchange built on Oasis Emerald, and its airdrop. It covers what the project was, its current status, and how to handle any claims safely.