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 |
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
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 | https://1rpc.io/oasis/sapphire | N/A | Yes |
Oasis Protocol Foundation | https://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):
Provider | Instructions | Pricing | Supports Confidential Queries |
---|---|---|---|
1RPC | docs.1rpc.io | Pricing | Yes |
Chainstack | docs.chainstack.com | Pricing | Yes |
Block Explorers
Name (Provider) | Mainnet URL | Testnet URL | EIP-3091 compatible |
---|---|---|---|
Oasis Explorer (Oasis Protocol Foundation) | 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 |
---|---|---|---|
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 Protocol Foundation) | 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 |
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.