Receive USDC on Stellar or Solana
Create a Stellar or Solana address for a customer that receives USDC, with no memo, and know when a Stellar address is ready.
This recipe creates a Stellar or Solana address that receives USDC for a customer, with no memo, and shows how to tell when a Stellar address is ready. It is for a freelancer platform whose contractors receive USDC on Stellar from clients abroad.
Status. Available for USDC. USDT on Stellar or Solana is Not supported.
Money example
GBJPEJTFUYGBFUUJDBOZKDXIQE3ASFTPNMIT2F4NNQH5HEA76I42CH5P.inflow.onchain.completed, records a crypto_funding row of 120, and the wallet shows USDC 120.0000000 (Stellar uses 7 decimals).Before you start
You need the same things as for an EVM address. The customer exists, a scoped key has account:create, and you have registered your webhook URL. See Give a customer a stablecoin address on an EVM network.
Find out what is required
Steps
1. Create the wallet
For Solana, send "network": "solana". Its address is base58, such as Borqy3dEjw9az7Uj9nW69A9ZDansFGHWEggUx7tkv44f.
2. Optional: make sure a Stellar address is ready
GET /v1/wallets/{wallet_id} lists USDC at "0.0000000" right after creation, so it does not prove the trustline exists. Ask the sender to send a small amount first, or look up the address on a Stellar explorer and check for a USDC balance line. A Stellar sender's wallet refuses to send to an address with no USDC trustline.
3. Receive and read the balance
Follow steps 2 to 4 for an EVM address. To read the balance, get the wallet by its id.
A new Solana wallet lists only SOL until the first USDC arrives.
What can go wrong
| Response | Why | Fix |
|---|---|---|
| The sender's wallet says the address has no trustline | Gravv is still setting up the Stellar wallet | Wait and send again. If the error stays, contact support with the wallet id |
| USDT sent on Solana shows in the balance, but there is no row | USDT is not a deposit coin on Solana | Contact support with the hash. Ask senders to send USDC |
| The sender added a memo | The address needs no memo, and Gravv ignores it | No action needed |
GET /v1/wallets?wallet_address=… returns nothing | The filter is exact and case-sensitive | Use the address exactly as Gravv returned it |
| The create call returns an error | The errors are the same as for any wallet | See the EVM recipe |
Webhooks you will receive
Gravv sends inflow.onchain.completed and inflow.onchain.failed, as for an EVM address.
Testing in sandbox
Sandbox Stellar and Solana wallets are real test-network wallets. Send USDC to the address from a public USDC faucet for that test network, then watch for the webhook and the balance. See Fund wallets during testing. Never send main-network coins to a sandbox address, because you lose them.