Skip to main content

Network Configuration

The SDK provides pre-configured network settings for different environments. Understanding how to configure these properly is essential for connecting to the correct chain.

Built-in Networks

The SDK includes two pre-configured networks:
Use staging for development and testing:
Staging network uses test tokens with no real value. Perfect for development.

Custom Network Configuration

For advanced use cases, you can create a custom network configuration with your own RPC endpoints.

IndexerConfig

The Indexer provides read-only access to market data and account information:

ValidatorConfig

The Validator handles transaction submission and blockchain queries:

Chain Configuration Reference

Staging Network

Mainnet Network

Next Steps

Wallets & Subaccounts

Learn how to manage wallets and subaccounts

Place Orders

Start trading with the SDK

CompositeClient Reference

Explore the full CompositeClient API

Network Reference

Detailed Network class documentation