Skip to main content

Sapphire ParaTime

Sapphire is our official confidential ParaTime providing a smart contract development environment with Ethereum Virtual Machine (EVM) compatibility.

As the official confidential EVM-compatible ParaTime on the Oasis Network, Sapphire allows for:

  • Confidential state, end-to-end encryption, confidential randomness
  • EVM compatibility
  • Easy integration with EVM-based dApps, such as DeFi, NFT, Metaverse and crypto gaming
  • Scalability: increased throughput of transactions
  • Low-cost: 99%+ lower fees than Ethereum
  • 6 second finality (1 block)
  • Cross-chain bridge to enable cross-chain interoperability (upcoming)

If you are not bound to EVM and you wish to develop dApps with more fine-grained confidentiality, check out the Cipher ParaTime.

Chain Information

Mainnet

  • Network name: sapphire
  • Long network name: Oasis Sapphire
  • Chain ID:
    • Hex: 0x5afe
    • Decimal: 23294

Testnet

  • Network name: sapphire-testnet
  • Long network name: Oasis Sapphire Testnet
  • Chain ID:
    • Hex: 0x5aff
    • Decimal: 23295

RPC Endpoints

danger

The RPC endpoint is a point of trust. Beside traffic rate limiting, it can also perform censorship or even a man-in-the-middle attack. If you have security considerations, we strongly recommend that you set up your own ParaTime client node and the Web3-compatible gateway.

You can connect to one of the public Web3 gateways below (in alphabetic order):

ProviderMainnet RPC URLsTestnet RPC URLsSupports Confidential Queries
1RPChttps://1rpc.io/oasis/sapphire
N/AYes
Oasis Protocol Foundationhttps://sapphire.oasis.io
wss://sapphire.oasis.io/ws
https://testnet.sapphire.oasis.io
wss://testnet.sapphire.oasis.io/ws
Yes

Public RPCs may have rate limits or traffic restrictions. For professional, dedicated RPC endpoints, consider the following providers (in alphabetic order):

ProviderInstructionsPricingSupports Confidential Queries
1RPCdocs.1rpc.ioPricingYes
Chainstackdocs.chainstack.comPricingYes

Block Explorers

Name (Provider)Mainnet URLTestnet URLEIP-3091 compatible
Oasis Explorer (Oasis Protocol Foundation)https://explorer.oasis.io/mainnet/sapphirehttps://explorer.oasis.io/testnet/sapphireYes
Oasis Scan (Bit Cat)https://www.oasisscan.com/paratimes/000…279https://testnet.oasisscan.com/paratimes/000…f6cNo

Indexers

Name (Provider)Mainnet URLTestnet URLDocumentation
Covalenthttps://api.covalenthq.com/v1/oasis-sapphire-mainnethttps://api.covalenthq.com/v1/oasis-sapphire-testnetUnified API docs
Goldsky SubgraphN/AN/ADocumentation site
Oasis Nexus (Oasis Protocol Foundation)https://nexus.oasis.io/v1/https://testnet.nexus.oasis.io/v1/API
Oasis Scan (Bit Cat)https://api.oasisscan.com/mainnet/v2https://api.oasisscan.com/testnet/v2Mainnet Runtime API, Testnet Runtime API
SubQuery NetworkN/AN/ASubQuery Academy, QuickStart, Starter project
note

If you are running your own Sapphire endpoint, a block explorer, or an indexer and wish to be added to these docs, open an issue at github.com/oasisprotocol/docs.

See also