Oasis Sapphire

  • Name: Oasis Sapphire
  • URL: https://docs.oasis.io/build/sapphire/
  • Category: confidential EVM / encrypted-state smart-contract execution infrastructure / Oasis ParaTime
  • Summary: Oasis Sapphire is worth cataloging as a distinct confidential-computing execution layer rather than as a generic privacy chain or a footnote under Oasis. The reviewed docs describe an EVM-compatible confidential ParaTime whose defining split is unusually legible: contract state is encrypted and only available to the contract running inside attested Oasis compute nodes; transactions and calls can be end-to-end encrypted; authentication for private reads is handled through Sapphire-specific call semantics; and a library/precompile layer exposes randomness, encryption, key agreement, gas padding, and other confidentiality-oriented primitives to otherwise familiar EVM development flows. That makes Sapphire a useful comparison point for TEN, Fhenix, Oasis Privacy Layer, and other confidential-smart-contract systems because it separates execution privacy, call authentication, event leakage, and side-channel mitigation more clearly than most private EVM pitches do.
  • What it does:
    • Provides an official Oasis smart-contract environment with EVM compatibility plus encrypted contract state, encrypted transactions/calls, confidential randomness, and attested execution
    • Keeps contract storage unreadable to ordinary observers and even to full nodes, with explicit getter design required for anything meant to be revealed
    • Supports end-to-end encrypted transactions and view calls using Oasis client libraries, while preserving ordinary EVM-style transactions when needed
    • Changes call authentication semantics so unsigned eth_call requests arrive with msg.sender == address(0), while authenticated reads can use either SIWE tokens or Sapphire-wrapped signed queries
    • Exposes Sapphire-specific cryptographic and utility precompiles/libraries for randomness, encryption, key generation, onchain signatures, gas padding, and related confidential-app workflows
    • Documents encrypted-event patterns that let contracts keep event payloads private while still using public topics for indexing and offchain triggers
    • Publishes unusually detailed security guidance around simulation attacks, storage-access leakage, gas side channels, and log/event disclosure
    • Ships open-source runtime, client libraries, contracts, examples, and integrations in the Sapphire ParaTime monorepo
  • Key claims:
    • Sapphire’s core mechanism is encrypted contract execution with EVM compatibility, not a separate language or app-specific DSL. That makes it a clean comparison point for confidential smart-contract systems trying to preserve Ethereum tooling while changing privacy guarantees.
    • The Sapphire vs Ethereum docs make the privacy model concrete. Contract state is encrypted, eth_getStorageAt returns zero for normal slots, and only a few EIP-1967 proxy slots remain readable for tooling compatibility.
    • Authentication semantics are part of the protocol surface, not only SDK sugar. Because unauthenticated view calls arrive with msg.sender zeroed, Sapphire forces developers to think explicitly about who is allowed to read private state and how that identity is proven.
    • The docs show two different authenticated-read paths: SIWE-token-based reads for frontend-friendly session reuse and EIP-712-style signed queries for backend services. That is a more granular private-read design than simply wallet signs a transaction.
    • Sapphire is especially useful because its own docs foreground the limits of confidentiality. Events remain public unless deliberately encrypted, revert messages are public, storage-access patterns can leak, gas usage can leak branch information, and simulation attacks require one-block-delay or similar speed-bump defenses.
    • The security guidance and padGas utility make side-channel management a first-class design surface. That is analytically valuable because many privacy-oriented EVM systems market encrypted state without making access-pattern and fee-leakage issues equally visible.
    • Sapphire also differs from privacy as middleware stacks because the reviewed materials place the confidentiality boundary inside the execution environment itself: attested Oasis compute nodes request contract state keys from the Oasis key manager and execute the contract with encrypted state, rather than merely wrapping a transparent chain with proof or relay middleware.
    • Oasis Sapphire belongs in the active corpus because it exposes a comparison-ready decomposition of confidential execution: encrypted state, encrypted ingress, read-auth semantics, event/log leakage, precompile-level cryptographic affordances, and hardware/key-manager trust assumptions all sit as separate layers.
  • Whitepaper: No Sapphire-specific standalone whitepaper surfaced in this pass. The strongest primary materials were the official Oasis Sapphire docs, the Sapphire vs Ethereum and security/authentication chapters, encrypted-events docs, and the canonical sapphire-paratime repository; see ../whitepapers/oasis-sapphire-primary-sources-2026-05-14.md.
  • Sources:
  • Last reviewed: 2026-05-14 UTC