WAXPBLOCKCHAIN WIKI
Testing guide

The WAX testnet

Testnet provides a separate WAX environment for accounts, tokens, contracts and APIs without using mainnet assets. It is a rehearsal space, not a guarantee that production is ready.

Updated 29 November 2026 · Independent guide

In plain English The testnet is a practice version of WAX. Practice cards stay there. Start collecting · Browse collections

Testnet is a separate blockchain environment

The WAX public testnet has its own chain data, accounts, endpoints and valueless test tokens. A name that exists on testnet does not automatically exist on mainnet, and a testnet transaction ID proves nothing about mainnet activity. Applications must configure the correct chain ID and endpoints.

This separation is useful because developers can deploy code, change permissions and exhaust resources without risking real assets. It also exposes integration mistakes: a wallet connected to one network while the app reads another can appear to log in successfully and then fail at signing or data lookup.

Keep secrets separate too

Testnet assets have no intended value, but reusing production private keys creates needless exposure. Use dedicated test authorities and accounts.

A practical setup path

  1. Create a testnet account through a current official or documented provider.
  2. Store its test-only keys securely and configure a compatible wallet or command-line wallet.
  3. Acquire test WAX through the available testnet faucet or account service.
  4. Arrange CPU, NET and RAM for the test account.
  5. Point tools to a current testnet RPC endpoint and confirm the chain information.
  6. Compile the contract to WASM and produce its ABI.
  7. Deploy to the intended testnet contract account and verify the code hash.

The official quickstart demonstrates cleos flows for wallet creation, resource allocation and set contract. Exact public endpoints and service URLs can change, so retrieve them from current WAX documentation or endpoint discovery rather than baking an old provider into production code.

Test failure paths, not only the demo

A happy-path transaction proves little. Deliberately test invalid authority, insufficient CPU or RAM, duplicate requests, malformed quantities, stale sessions, expired transactions and endpoint failure. Confirm that the interface explains errors without prompting the user to retry a value transfer blindly.

For contracts, test maximum table growth, RAM payer choices, boundary values, unexpected notification handlers and upgrade authority. For NFTs and tokens, verify supply rules, mutable fields, transfer hooks and ownership after each operation. For wallet flows, test account switching, session restore, denial, cancellation and network mismatch.

Use automated contract tests where possible and keep a repeatable deployment record. A test that depends on clicking through an undocumented interface is difficult to reproduce when the contract changes.

What testnet cannot prove

Testnet does not reproduce mainnet traffic, producer topology, API quotas, marketplace integrations or real economic incentives. A contract can be correct with five accounts and fail operationally with fifty thousand. Public test endpoints may be more permissive or less reliable than the production service you eventually choose.

External providers may not index testnet with the same freshness or feature set as mainnet. Wallet support also varies. Treat these gaps as architecture questions and build fallbacks rather than assuming a single test provider represents the whole production network.

Mainnet readiness gate

  • Rebuild artifacts reproducibly from reviewed source.
  • Confirm mainnet chain ID, RPC providers and fallback behaviour.
  • Create production accounts with production-only authorities.
  • Fund resources deliberately and set monitoring thresholds.
  • Verify the exact WASM hash and ABI intended for deployment.
  • Run a low-value smoke test before opening general access.
  • Publish contract accounts and signing expectations for users.
  • Document rollback or upgrade authority before the first incident.

Do not copy a testnet private key, endpoint or token contract into production configuration merely because the demo worked.

Primary sources