Testnet
Try your app or bot on testnet before mainnet, with test USDT from the faucet.
On this page
Testnet runs the same API as mainnet, for integration testing. Its balances carry no value, and its state may be reset.
Hosts
Use the same paths and the same X-Api-Key header as on mainnet, on the testnet hosts. To get a testnet API key, ask your ATLAS contact.
| Testnet | |
|---|---|
HTTP (<api-host>) | https://testnet.atlas.layerzero.network |
WebSocket (<ws-host>) | wss://testnet.atlas.layerzero.network |
| Signing chain ID | 43003 (mainnet is 33003) |
For example, testnet market data is POST https://testnet.atlas.layerzero.network/market/rpc. Testnet runs in AWS us-west-2 (Oregon), so place latency-sensitive clients there.
Get test USDT
The testnet faucet sends test funds to any address. Call atlas.deposit on POST /faucet/rpc with:
| Param | Value |
|---|---|
address | The address to fund, 0x plus 40 hex characters |
assetId | USDT's asset ID, from atlas.getAssets |
amount | The amount in the asset's smallest unit, as a string |
A successful reply means the funds arrived. There's no minimum and no fee.
- If the address already has an account, the funds go to its cross cash.
- If not, they wait at the address, and your first owner signature (Enable Trading) opens the wallet with them in it.
- The faucet doesn't enable trading for you, and mainnet has no faucet.