Skip to main content
You build and test on testnet, then go live by repeating the setup in Live Mode and swapping a few IDs in your configuration. Your integration code stays the same: the endpoints, request bodies and webhook payloads are identical on testnet and mainnet.

Test with test USDC

You don’t need your production asset on testnet to build your integration. Deposits, sweeps, withdrawals and webhooks work the same way for every stablecoin, so you can build the whole flow with test USDC and switch the asset when you go live.
  • Test USDC: get it free from Circle’s faucet on the testnets Circle supports, such as Ethereum Sepolia and Base Sepolia.
  • Gas tokens and other test assets: see Test Asset Faucets for every chain.
Read asset IDs from your configuration rather than hard-coding them. Going live is then a config change, not a code change.

What changes on mainnet

Testnet and mainnet are separate environments. Nothing you create in Test Mode is available in Live Mode:

Switch your integration

1

Turn on Live Mode

In the top-right corner of the dashboard, switch the Live Mode toggle on. Everything you create from now on is on mainnet.
2

Create your mainnet master wallet

Create a master wallet for each blockchain you support, the same way you did on testnet. See Create a Master Wallet.
3

Copy the new API key and wallet ID

On the new master wallet, open the API Config section and reveal the API Key and Wallet ID. Put them in your production configuration.
4

Swap the asset IDs

List the assets in your mainnet wallet with Get Wallet Assets and replace the testnet assetId values in your configuration.
5

Add your webhook URL and IP allowlist

Configure your production webhook URL on the new master wallet. It must use HTTPS. See Webhooks.
6

Fund gas

Send native tokens to the master wallet so it can pay gas for sweeps and gasless withdrawals. Mainnet gas costs real money, so check the balance regularly. See Gas Fees: Test vs Live Environment.
7

Recreate your payment links

If you use payment links, create them again in Live Mode and update the links you share with customers.
8

Send a small real transaction

Make one small deposit and one small withdrawal on mainnet, and confirm your backend receives and handles both webhooks before you launch.

Features available only on mainnet

Some features have no testnet equivalent, so you can only try them in Live Mode:

Common mistakes

You are sending a testnet assetId to your mainnet wallet. Asset IDs belong to one wallet, so list the mainnet wallet’s assets with Get Wallet Assets and update your configuration.
Webhook URLs are configured per master wallet. Add your webhook URL to the new mainnet wallet.
Testnet and mainnet are separate networks. Before sending real funds, check the Live Mode toggle in the dashboard and confirm the address came from your mainnet wallet.