Skip to content
Terra WalletDevelopers

Early access. The Terra API and SDKs may change before launch, and the SDK packages are not published yet.

View as Markdown

Terra Pay

Early access

Test mode on testnets

Every organization has a test environment that runs only on testnets, completely separate from live mode on mainnets. Use test keys (tw_test_sk_..., tw_test_pk_...) while you build.

Testnets#

TestnetNetwork
SepoliaEthereum
Base SepoliaBase
AmoyPolygon
Tron NileTron
Solana devnetSolana
Bitcoin testnet4Bitcoin

The chain identifiers and testnet asset contracts that test-mode intents accept are published in the API reference and in Supported networks and assets when they are verified. Until then, do not hard-code testnet contracts from elsewhere.

How test mode differs from live#

  • Test objects and live objects never mix. A test key cannot read or change live objects, and the reverse.
  • Testnet coins have no value. Get them from each network's public faucets.
  • Webhook endpoints registered with a test key receive only test events.
  • Live mode needs an Owner or Admin with an authenticator app, and live mode switched on for the platform.

Planned sandbox helpers#

The design adds tools that make test mode faster:

  • a simulated payment, so you can move an intent to succeeded without sending testnet coins;
  • send or replay a test webhook from the dashboard;
  • a CLI that forwards webhooks to localhost while you build.

They are described in the API reference as they ship.