Start
Clients and networks
Choose connected or read-only clients and configure Sapphire testnet or mainnet deliberately.
Connected client
Use Monstera.connect for writes. The signer pays Sapphire gas for wallet creation and state-changing operations.
typescript
const testnet = Monstera.connect({
mainnet: false,
signer: process.env.SIGNER_PRIVATE_KEY,
});
const mainnet = Monstera.connect({
mainnet: true,
signer: process.env.SIGNER_PRIVATE_KEY,
});Read-only access
SDK 2.3.0 supports signer-free reads with Monstera.connect({ mainnet: false, checkVersion: false }). Public lookup and address derivation need no authenticator proof. Signing is an authenticated view and still requires a valid proof.
Canonical RPC endpoints
- Sapphire testnet: https://testnet.sapphire.oasis.dev — chain ID 23295.
- Sapphire mainnet: https://sapphire.oasis.io — chain ID 23294.
