Skip to content

Testnet

Use Nexwest testnet to build and test without real funds. Includes faucet limits, chain settings, and differences from mainnet.

Updated Nov 4, 2026Builders2 min read
On this page

Testnet is a full Nexwest network with the same order book, margin engine, and API. It exists so you can break things without losing money.

Network settings

FieldMainnetTestnet
Chain ID77777778
RPChttps://rpc.nexwest.apphttps://rpc.testnet.nexwest.app
RESThttps://api.nexwest.apphttps://api.testnet.nexwest.app
WebSocketwss://api.nexwest.app/wswss://api.testnet.nexwest.app/ws
Explorerhttps://explorer.nexwest.apphttps://explorer.testnet.nexwest.app

Separate state

Testnet balances, orders, and positions are completely separate from mainnet. Never point production keys at testnet, and never assume a testnet address exists on mainnet.

Get test funds

  1. Connect a wallet on testnet.
  2. Open Faucet.
  3. Claim 1,000 test USDC and 10 test NXW per address per day.
  4. Wait for the faucet transaction to finalize; the balance appears in Perps.

The faucet is rate-limited by address and IP. If you need a larger amount for load testing, request a builder allocation through the grants program.

Differences from mainnet

  • Leverage limits are the same, but some long-tail markets may be unavailable.
  • Funding intervals are accelerated for testing: one hour on mainnet, five minutes on testnet.
  • Liquidation parameters are identical, but the backstop vault has a smaller balance.
  • Historical data is retained for 30 days, then pruned.

Test a full flow

code
# 1. Check the testnet book
curl -s https://api.testnet.nexwest.app/info \
  -H "Content-Type: application/json" \
  -d '{"type":"l2Book","coin":"BTC-PERP"}'
 
# 2. Place a test order with the SDK
npx tsx scripts/place-test-order.ts

Do not use mainnet keys

Generate a dedicated testnet key. Treat testnet as a public environment: anything you sign can be replayed by anyone watching the chain.

Reset an account

Testnet accounts can be reset from Settings → Developer → Reset testnet account. This cancels open orders, closes positions at mark price, and restores the faucet balance. Resets are irreversible.

Was this page helpful?