Skip to main content
Pass the target network to C8WalletProvider via the network option.

devnet

Local development and integration testing. Use for all non-production work.

mainnet

Production Canton network. Real assets — use only for live deployments.
const c8 = new C8WalletProvider({
  dappUrl:  window.location.href,
  dappName: "My DeFi App",
  network:  "devnet", // or "mainnet"
});
Always verify you are pointing at the correct network before signing transactions in production.