Skip to content

DappsAtlas index · 14,224 dApps

DappsAtlas

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.

By the DappsAtlas editorial team · Updated

Illustration for Oasis Sapphire Explained: Confidential EVM Smart Contracts in 2026

What Oasis Sapphire is and why it exists

Oasis Sapphire is a smart contract platform built on the Oasis Network. It is EVM-compatible, which means developers who know Solidity and Ethereum tooling can work with it without learning an entirely new language. What sets it apart is confidentiality. Sapphire is designed so that contracts can handle sensitive data, such as private inputs, internal balances or random values, without exposing that data to everyone who can read a public blockchain.

Most public chains are transparent by default. Anyone can inspect contract storage, read transaction calldata and reconstruct a user's strategy from their history. That openness is useful for verification, but it creates problems for applications such as private trading logic, sealed-bid auctions, games that need hidden information and identity-related workflows.

Sapphire addresses this by running confidential contract logic inside trusted execution environments, usually shortened to TEEs. The chain still produces outputs that the network can check, so the system does not ask users to simply trust a single server. The goal is to keep the inputs and internal state private while keeping the results verifiable.

The platform is best understood as an EVM-compatible environment with a privacy layer, rather than a general privacy coin or a shielded payments network. Its main purpose is to let developers build applications where some data is intentionally hidden.

How the Oasis Network is structured

Oasis Network is a proof-of-stake network. Validators stake tokens and take part in securing the chain. Oasis documentation describes a finality model in which two-thirds or more of validator nodes must verify each block before it is considered final. That is a useful reference point when comparing it with other networks.

The network is organised around a consensus layer and separate execution environments, which Oasis calls ParaTimes. Sapphire is one of these ParaTimes. It is the confidential EVM environment, and it runs alongside other execution environments on the same underlying network. This separation lets the consensus layer handle ordering and security while each ParaTime defines its own execution rules.

For a user or developer, the practical result is that Sapphire behaves like an EVM chain in most day-to-day respects, but its security and privacy model depends on both the Oasis consensus layer and the trusted execution environments that run contract code.

When reading any Oasis material, keep the layers distinct. A claim about finality or validator participation refers to the network layer. A claim about hidden contract state refers to the Sapphire execution layer. Mixing them up is a common source of confusion.

Network parameters, validator counts and staking figures change over time. Check the official documentation or the network's public dashboards for current numbers rather than relying on older articles.

How trusted execution environments keep data confidential

A trusted execution environment is a protected area inside a processor. Code loaded into it runs in isolation, and the surrounding system, including the operating system and the node operator, cannot read its memory in ordinary circumstances. The processor can also produce attestations, which are signed statements that a specific code image ran inside a genuine enclave.

On Sapphire, this means contract logic can process sensitive inputs in a sealed environment. The node that runs the computation does not see the plaintext in the normal way, and the network can verify the attested result. The design relies on hardware vendors, firmware and the correctness of the enclave code.

This model sits between two extremes. A fully transparent chain offers the strongest public verifiability but no confidentiality. A purely off-chain server offers confidentiality but asks users to trust the operator. TEE-based chains try to combine elements of both, which is why they attract developers who need private logic with public settlement.

It is important to understand the limits. TEEs are not magic. Their guarantees depend on the hardware generation, the software running inside the enclave, the attestation process and the assumption that the hardware has not been compromised. Security research has repeatedly examined TEE designs, and any serious user should read the current threat model rather than assuming perfect secrecy.

What Sapphire keeps private: contract state and transactions

Sapphire's core feature is confidential contract state. A developer can write a contract whose storage is not readable by outside observers in the way that storage on a typical EVM chain is. Balances, bids, positions or other internal values can remain hidden while the contract still updates them correctly.

Transactions can also carry encrypted inputs. Instead of broadcasting a plain-text instruction that anyone can parse, the user sends data that only the confidential execution environment can decrypt and process. This reduces the information leaked through the mempool and through public calldata.

The result is a set of application patterns that are difficult or impossible on transparent chains. Sealed-bid auctions can keep bids hidden until a reveal. Trading agents can keep strategy parameters private. Games can keep hidden state, such as cards or positions, from opponents and observers.

Privacy here is selective. Not every piece of data on Sapphire is hidden, and the balance of public and private information depends on how each contract is written. Some outputs must be public so the blockchain can settle them, and users may still learn things from timing, amounts or interaction patterns. Developers should map exactly which fields are confidential and which are visible.

When evaluating a Sapphire application, ask which data is protected, who can read it, and what the public record still reveals.

Trusted randomness inside smart contracts

Randomness is a recurring problem for smart contracts. Blockchains are deterministic, so a contract cannot generate unpredictable numbers on its own. Many projects therefore call an external oracle for random values. That adds a dependency and a trust assumption.

Sapphire offers randomness generated inside the contract environment, supported by the trusted execution environment. Developers can request a random value without calling a separate oracle service for each draw. This can simplify design for games, lotteries, selection processes and other applications where unpredictability matters.

The benefit depends on the security of the environment producing the randomness. A value generated inside a protected enclave is only as trustworthy as the enclave and its attestation. Developers should still think about whether their application needs randomness that is verifiable by outside parties, and whether the design allows users to audit the process.

A practical check is to ask three questions. Can the random value be predicted before the transaction is included? Can a node operator influence it? Can someone outside the system confirm that it was generated as claimed? Good answers to all three are essential before using randomness for prizes or selection.

For comparison, oracle-based randomness is widely used on other chains. Sapphire changes where the trust sits rather than removing trust entirely.

Building on Sapphire: Solidity, tooling and design choices

Developers who already build for Ethereum-compatible chains will find a familiar starting point. Sapphire supports Solidity contracts and standard EVM development workflows, which lowers the cost of moving or testing existing ideas. However, it is not a plain drop-in replacement for every contract.

Confidential features need deliberate design. Storage that should stay hidden must be handled with the platform's confidential patterns. Inputs that should be encrypted need to be sent in the right format. Randomness and any cross-contract calls must be considered in light of the privacy model, because a value that is secret in one place may leak through another path.

A sensible workflow starts on the testnet. Deploy a small contract, confirm which values are visible in block explorers and by direct storage reads, and test the failure cases. Then review the official Oasis documentation for the current libraries and recommended patterns. Libraries and tooling change, so the documentation is the reliable source.

Security review matters more on a confidential chain than on a transparent one, because bugs can be harder to notice. Logs, events and revert messages can leak data if they are written carelessly. Developers should audit what each event emits and what error messages reveal to callers.

The platform's native token is used for transaction fees. Check the current fee model in the documentation before estimating costs for a deployment.

Sapphire compared with Ethereum

Sapphire is easiest to understand when compared with Ethereum, the chain that most EVM developers know. The table below highlights differences at a conceptual level. Specific parameters such as fees, validator counts and throughput change, so treat it as a framework rather than a fixed specification.

Area Ethereum Oasis Sapphire
Contract language Solidity and other EVM languages Solidity with confidential-contract patterns
Contract state Publicly readable by default Can be kept confidential by design
Transaction inputs Visible in public calldata Can be encrypted for the execution environment
Randomness Usually sourced from an oracle or protocol design Generated inside the confidential environment
Trust model Consensus and cryptographic verification Consensus plus trusted execution hardware
Main use case General-purpose public applications Applications that need hidden logic or data

The comparison shows the core trade-off. Ethereum maximises public verifiability and has a very large ecosystem of tools, audits and integrations. Sapphire adds confidentiality but introduces a hardware trust dependency and a smaller set of established integrations.

Neither model is strictly better. A public auction on Ethereum is transparent by design, which may be a feature. A sealed-bid auction on Sapphire keeps bids private until reveal, which may be the point. The right choice depends on what must be hidden and who needs to verify what.

Risks and trade-offs of a TEE-based chain

Any honest explainer of a TEE-based chain has to set out the risks. The first is hardware trust. Confidentiality depends on the processor vendor, the firmware and the attestation chain. If a hardware flaw is discovered, the protections may be weakened until it is patched or mitigated.

The second is side-channel leakage. Researchers have demonstrated attacks that infer information from timing, cache behaviour or memory access patterns in TEEs. Well-designed software reduces these risks, but it is difficult to eliminate them completely.

The third is software complexity. Confidential contracts add layers of logic, and bugs in the contract, the libraries or the enclave code can expose data or break correctness. Smaller ecosystems may also have fewer independent audits and fewer battle-tested components than the largest EVM chains.

The fourth is metadata. Even when contents are hidden, observers may learn when a transaction happened, roughly how large it was, which addresses interacted and how often. Privacy at the contract level does not automatically provide anonymity for the user.

For users, the practical advice is to avoid assuming that a privacy feature makes funds safe. Read the audit history of each application, check whether the contract is verified, start with small amounts and keep records of what you have deposited.

Off-chain confidential computing and ROFL

Oasis has described a framework often referred to as ROFL, which relates to running off-chain logic with verifiable properties. The search material points to this as an extension of the Sapphire design, allowing confidential computation to connect with broader application needs. The exact scope and status of any such component should be confirmed in the current Oasis documentation, since features move from experimental to production at different speeds.

The general idea is useful even without the specifics. Some workloads are too heavy or too awkward to run fully on-chain, such as complex data processing or AI-style agents. A framework that runs such logic off-chain while keeping inputs confidential and results verifiable could make a hybrid architecture possible.

For example, a trading agent might keep its model private while publishing proofs or outputs that the chain can check. Public reporting describes projects built on Sapphire that pursue this kind of verifiable agent design. Such projects are early-stage examples rather than proof that the approach is mature.

When you see a claim that an application runs private off-chain logic, ask where the computation happens, what the chain verifies, what remains unverifiable and who controls the operating environment. Those four questions separate solid architecture from marketing language.

Treat the newest components as areas to watch rather than settled infrastructure, and check the status of each one before relying on it.

How to evaluate a Sapphire application

If you are evaluating a Sapphire application as a user or a developer, start with the basics. Confirm the chain you are on, check the contract address against official sources and use a block explorer to verify that the contract is published. Make sure you understand which bridge or route you used to move assets there.

Next, look at what the application claims to hide. A vague statement about privacy is not enough. The documentation should say which fields are confidential, which events are public and what a bad actor could still observe. If it cannot answer those questions, treat that as a warning.

Check the security record. Look for independent audits, published reports, a bug bounty programme and a history of responding to issues. Note the date of each audit and whether the code has changed since then. An audit of an old version does not cover later changes.

For market and usage data, use public analytics sites and the chain's own explorers rather than a single source. Figures such as total value locked, active users and fees change constantly, so record the date of any number you note.

Finally, keep in mind that privacy features do not remove the need for basic security. Use hardware wallets where possible, keep seed phrases offline, verify URLs yourself and never share signing requests you do not understand.

Conclusion: when Sapphire is worth a closer look

Oasis Sapphire is a credible attempt to bring confidentiality to EVM smart contracts. It combines an Ethereum-compatible development environment with trusted execution environments, which allows developers to keep selected data hidden while producing outputs the network can verify. For use cases such as sealed auctions, private strategy logic and some kinds of hidden-state games, that combination is the main reason to look at the platform.

The platform is not a substitute for careful thinking about risk. Its guarantees depend on hardware, software and the operational discipline of the network. Its ecosystem is smaller than Ethereum's, and its newer components, including off-chain confidential computing frameworks, should be treated as areas that are still developing.

For developers, the right next step is to build a small prototype on the testnet, read the current documentation and decide which data truly needs confidentiality. For users, the right next step is to read application documentation, check audits and start with small amounts.

The field of confidential computing will keep changing, and newer chains and tools will appear. Judge any platform by its threat model, its track record and the clarity of its documentation, rather than by its marketing.

Frequently asked questions

What is Oasis Sapphire in simple terms?

Sapphire is an EVM-compatible confidential smart contract environment built on the Oasis Network. Its contracts run inside trusted execution environments, which lets developers keep parts of contract state and transaction data hidden from the public while the chain still verifies that execution was correct.

How is Sapphire different from Ethereum for privacy?

Standard Ethereum-style contracts store state and transaction inputs in a way that anyone can read. Sapphire is designed so that developers can mark specific data as confidential, and the contract processes it inside a protected hardware environment. Results and proofs are published, while the sensitive inputs and internal state stay hidden.

Can Sapphire data be fully trusted to stay private?

Trusted execution environments depend on hardware vendors and on the integrity of the hardware itself. Researchers have shown side-channel attacks against TEEs in the past, and a compromised or buggy enclave can expose data. Users and developers should treat the privacy guarantee as a strong layer of protection, not an absolute one, and should read current security documentation before depositing significant funds.

Can an existing Ethereum contract move to Sapphire unchanged?

Developers can write Solidity contracts and use familiar EVM tooling, but confidential features require using Sapphire-specific patterns and libraries. Contract behaviour around private data, randomness and gas differs from a plain EVM chain, so review the official Oasis documentation and test on the testnet first.

Where can I check current Sapphire activity and app data?

Check the official Oasis documentation and network status pages for current chain details. For activity, bridged asset balances and total value locked on individual apps, use public data dashboards such as DefiLlama, and verify contract addresses with a block explorer before interacting. Figures on these sites change often, so treat any number you read as a snapshot.

Mentioned in this guide

dApps in this guide

Pyth Network logo

Pyth Network

Infrastructure

Score 8.0 out of 10

Pyth Network is a first-party price oracle and market data provider for blockchain apps, trading venues and institutions, with its own PYTH token.

TVL $0Solana
LayerZero V2 logoScore 8.0 out of 10

LayerZero V2 is a cross-chain messaging protocol and bridge infrastructure for developers and asset issuers, connecting dozens of blockchains.

TVL $16.7B+8.9%Polygon · Ethereum · ApeChain +76
Envio logo

Envio

Developer Tools

Score 8.0 out of 10

Envio is a blockchain indexing and data platform offering HyperIndex APIs and fast HyperSync raw data access for developers across 81+ chains.

Ethereum · Solana · BNB Chain +4
Defillama logo

Defillama

Analytics

Score 8.0 out of 10

DefiLlama is a data site that aggregates total value locked, trading volume and fees for DeFi protocols across many chains.

Across logo

Across

Cross Chain Bridge

Score 8.0 out of 10

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.

TVL $15.3M−8.3%Ethereum · Arbitrum · Optimism +19

Keep reading

Related guides

All blockchain guides

Blockchain · Best list

Best Injective dApps for DeFi, NFTs and More in 2026

Injective is a Layer-1 chain built for finance, so most of its dApps are trading, lending and derivatives venues, with NFTs and games as smaller areas. This guide explains how to judge which Injective dApps are worth using and how to check their current status.

Blockchain · Explainer

Harmony's $1M Developer Hackathon: What It Was and What to Do

Harmony announced a $1 million hackathon for dApp developers in 2021, a past event that no current results confirm is still running. This guide explains what the program was, what happened to the chain afterward, and how builders can judge any Layer-1 prize or grant before they apply.

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.

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 · Chain guide

Oasis Network Guide: Privacy Layer 1 and Its Builder Grants

Oasis Network is a layer 1 blockchain built around confidential computing, so smart contract data and computation can stay private while the chain remains verifiable. This guide explains how its design works, what its runtimes do, how builder grants are typically structured, and where to check current terms before applying.