The Wallet SDK includes default configuration that works with a standard LocalNet setup from cn-quickstart. When deploying to other environments, you need to provide custom connection settings.Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt
Use this file to discover all available pages before exploring further.
Default Configuration (LocalNet)
The default configuration connects to a LocalNet instance running on standard ports. Use it for local development and testing without modification. When migrating to a different environment, you must create custom factories for each controller with the correct URLs and ports for that environment.Environment-Specific Configuration
Each environment requires different connection endpoints:LocalNet
LocalNet runs all services onlocalhost with standard ports. The default SDK configuration works without changes.
DevNet / TestNet / MainNet
For remote environments, configure the following connection parameters:- JSON Ledger API URL — The HTTP/JSON API endpoint for your validator’s participant
- gRPC Admin API URL — The gRPC endpoint for participant administration
- Validator API URL — The validator app’s REST API endpoint
- Scan API URL — The Scan service endpoint (either direct or via the BFT scan proxy)
- Auth token — A valid JWT token from your OIDC provider
Validating Your Configuration
Verify your connection endpoints with these commands: JSON Ledger API — Check the version endpoint:version, features, and userManagement fields. The exact values depend on your Canton version and configuration.
Authentication
All remote environments require JWT authentication. Obtain tokens from the OIDC provider configured for your validator deployment. The SDK accepts authentication tokens through factory functions. For remote environments, create custom factories for each controller with the correct URLs and anAuthTokenProvider:
Next Steps
- Wallet SDK Download — Installation instructions
- Wallet Integration Guidance — Signing transactions from dApps