Fund wallets during testing
See which sandbox wallets a public test-network faucet can fund, and why EVM sandbox wallets show a sandbox test dollar instead.
This page shows how to put test funds on a sandbox wallet. Sandbox wallets are test-network wallets, and how you fund one depends on its network.
Example. You create a sandbox Stellar wallet for Ada and send it 10 test-network USDC from a public faucet. Her wallet then shows a USDC balance of 10.0000000. A sandbox Polygon wallet would still show 0, because faucet USDC does not count on that network.
| Network | How to fund it in sandbox |
|---|---|
stellar, solana | A public USDC faucet for that test network. These are real test-network wallets |
polygon, ethereum, avalanche | You cannot fund these with a faucet. On these networks the USDC balance of a sandbox wallet is the sandbox test dollar, a test token that stands for US dollars. USDC from a public faucet does not show. Fund a Polygon wallet with a simulated collection, below |
To test money arriving in an account, use a simulated deposit on a v2 account.
Fund a Polygon wallet
Start a test bank collection into the wallet, then pay it with the collection simulator. This is what gravv try wallet in the Gravv CLI does.
Start the collection. Save data.transaction_id from the answer.
Pay it with the collection simulator from the Gravv CLI. It refuses a live key.
GET /v1/collections/{transaction_id} until transaction_status is completed, usually within 2 minutes. Then read the wallet. Its USDC balance shows 20.Use a new Idempotency-Key and client_reference for each top-up. Sandbox can settle one collection twice, so the balance may show 40. The ledger shows one credit.
Fund a Stellar or Solana wallet
Read the wallet's address and network with Get a single wallet:
address.inflow.onchain.completed, then read the wallet again for the balance.A Stellar wallet already holds its USDC trustline a few seconds after Gravv creates it. A new Solana wallet lists only SOL until the first USDC arrives.
Do not send main-network coins to a sandbox address. You lose them.