Skip to content

Latest commit

 

History

History
119 lines (88 loc) · 9.04 KB

network.mdx

File metadata and controls

119 lines (88 loc) · 9.04 KB
description Detailed information for Sapphire about chains, RPCs, block explorers and indexers

import {AddSapphireToMetaMask as S, AddSapphireTestnetToMetaMask as ST} from '@site/src/AddToMetaMask';

Network information

Networks

Mainnet Testnet Localnet
Network name sapphire sapphire-testnet sapphire-localnet
Long network name Oasis Sapphire Oasis Sapphire Testnet Oasis Sapphire Localnet
Chain ID Hex:0x5afe
Decimal: 23294
Hex:0x5aff
Decimal: 23295
Hex:0x5afd
Decimal: 23293
Tools Testing token Faucet Local development Docker image

:::danger Never deploy production services on Testnet

Because Testnet state can be wiped in the future, you should never deploy a production service on Testnet! Just don't do it!

Also note that while Testnet does use proper TEEs, due to experimental software and different security parameters, confidentiality of Sapphire on Testnet is not guaranteed -- all transactions and state published on the Sapphire Testnet should be considered public.

:::

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):

Provider Mainnet RPC URLs Testnet RPC URLs Supports Confidential Queries
1RPC <S rpcs={['https://1rpc.io/oasis/sapphire']} /> N/A Yes
Oasis <S rpcs={['https://sapphire.oasis.io','wss://sapphire.oasis.io/ws']} /> <ST rpcs={['https://testnet.sapphire.oasis.io','wss://testnet.sapphire.oasis.io/ws']} /> Yes
thirdweb <S rpcs={['https://23294.rpc.thirdweb.com/']} /> <ST rpcs={['https://23295.rpc.thirdweb.com/']} /> Yes

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

Provider Instructions Pricing Supports Confidential Queries
1RPC docs.1rpc.io Pricing Yes
Chainstack docs.chainstack.com Pricing Yes
thirdweb portal.thirdweb.com Pricing Yes

Block Explorers

Name (Provider) Mainnet URL Testnet URL EIP-3091 compatible
Oasis Explorer (Oasis) https://explorer.oasis.io/mainnet/sapphire https://explorer.oasis.io/testnet/sapphire Yes
Oasis Scan (Bit Cat) https://www.oasisscan.com/paratimes/000…279 https://testnet.oasisscan.com/paratimes/000…f6c No

Indexers

Name (Provider) Mainnet URL Testnet URL Documentation
Envio HyperIndex N/A N/A Documentation site, Benchmarks
Covalent https://api.covalenthq.com/v1/oasis-sapphire-mainnet https://api.covalenthq.com/v1/oasis-sapphire-testnet Unified API docs
Goldsky Subgraph N/A N/A Documentation site
Oasis Nexus (Oasis) https://nexus.oasis.io/v1/ https://testnet.nexus.oasis.io/v1/ API
Oasis Scan (Bit Cat) https://api.oasisscan.com/v2/mainnet https://api.oasisscan.com/v2/testnet Runtime API
SubQuery Network N/A N/A SubQuery 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.

:::