USDC_SOL Deposit Addresses in Sandbox
How do I generate a USDC deposit address on Solana in sandbox?
Overview
Solana charges "rent" to create a token account on-chain. The Cybrid Platform abstracts this away in production, but in sandbox you must fund a SOL account yourself before a USDC_SOL deposit address can be created.
This guide is the sandbox companion to On-Chain Crypto Deposits. For broader sandbox behavior, see Sandbox Transfers.
Sandbox onlyThis procedure is not required in production. Cybrid pays Solana rent automatically and invoices you at the end of the month (0.01 SOL per token deposit address generated).
Prerequisites
- A sandbox bank with deposit addresses enabled for both
SOLandUSDC_SOL. If you receive an error in Step 3 or 8, contact Cybrid support to enable them. - A verified customer (or use a bank-level account).
- A devnet SOL source — e.g., the Solana Devnet faucet — to fund Step 5.
SOL setup (fund the rent)
- Enable trading symbols: turn on
SOL-USDandUSDC_SOL-USDfor your bank. - Create a SOL trading account for the customer (or bank).
- Create a deposit address for the SOL account via
POST /api/deposit_addresses. - Retrieve the deposit address by polling
GET /api/deposit_addresses/{deposit_address_guid}untilstateiscreated. - Fund the address: send at least 0.01 SOL on Solana devnet to the address.
- Confirm the deposit: check
platform_availableon the SOL trading account.
USDC_SOL setup (generate the deposit address)
- Create a USDC_SOL trading account for the same customer.
- Create a deposit address for the USDC_SOL account via
POST /api/deposit_addresses. The platform consumes ~0.01 SOL from the rent-funded SOL account to create the on-chain token account. - Retrieve the deposit address by polling until
stateiscreated. - Send USDC on Solana devnet to the address.
- Confirm the deposit: check
platform_availableon the USDC_SOL trading account.
Troubleshooting
storingstate never transitions: the SOL rent account is empty or has less than 0.01 SOL. Re-fund the SOL deposit address from Step 5 and retry.POST /api/deposit_addressesreturns an error: deposit addresses are not enabled on your bank for the given asset. Contact Cybrid support to enableSOLandUSDC_SOL.
Updated 11 days ago
