Getting Devnet USDC
Devnet is Solana’s free testing environment. Everything on devnet is play money — no real value, no real risk. To trade on SportsPerp devnet you need two things:
- Devnet SOL — pays transaction fees (~0.000005 SOL per tx).
- Devnet USDC — collateral for positions.
Both are free. This page walks through how to get each.
Step 1 — Devnet SOL
The Solana Foundation runs a public devnet faucet. Two easy routes:
Option A: Web faucet
Visit faucet.solana.com:
- Select Devnet network.
- Paste your wallet address (visible in your wallet; usually starts with letters/numbers like
CcCx...). - Request 1 SOL.
- Wait a few seconds — the SOL appears in your wallet.
Request limit: a few SOL per hour per IP. More than enough for SportsPerp testing.
Option B: Command line
If you have the Solana CLI installed:
solana airdrop 2 --url devnet <YOUR_WALLET_ADDRESS>2 is the SOL amount. You can request up to 2 per call; repeat as needed.
How much SOL you need
Each SportsPerp transaction costs ~5000 lamports (0.000005 SOL). Opening + closing a position is two transactions. ~0.1 SOL covers hundreds of trades. You’ll refill from the faucet maybe once a week of active testing.
Step 2 — Devnet USDC
Devnet USDC is a different story. There is no single canonical “devnet USDC” — different protocols use different test mints. SportsPerp uses:
Devnet USDC mint: B5Etber6bZGm1H5VXcoerF6eWLkBd157heJS8pBtHrNoThis mint was created specifically for SportsPerp testing. Tokens from other devnet “USDC” mints will not work as SportsPerp collateral — the program enforces the exact mint match.
How to get SportsPerp devnet USDC
Three options:
Option A: Frontend faucet (easiest)
Go to the SportsPerp app. If you’re connected with a wallet on devnet and have zero SPORTSPERP-USDC, a “Get Test USDC” button appears on the trading page. Clicking it triggers:
- The backend mints 1,000 devnet USDC directly to your wallet.
- Transaction signature is returned.
- Balance updates in your wallet (may need to refresh the Token list).
Rate limit: 1,000 USDC per wallet per 24 hours. Enough for meaningful testing.
Option B: Telegram request
In our Telegram group (see Official Links), ask @SportsPerpBot for a devnet USDC top-up. Specify your wallet address. The bot mints directly to your address, typically within 30 seconds.
Rate limit: same 1,000 USDC per 24 hours.
Option C: Mint script (for developers)
If you’ve cloned the repo and have the admin keypair (you won’t, unless you’re on the core team — this is for contributor reference):
node scripts/mint-devnet-usdc.mjs <YOUR_WALLET_ADDRESS> 1000The script lives at the repo root (scripts/mint-devnet-usdc.mjs) and takes positional arguments — wallet address first, USDC amount second.
Adding the token to your wallet
USDC won’t appear in your wallet’s token list until your wallet knows about it:
Phantom: Settings → Manage Tokens → Add Custom Token → paste the mint address B5Etber6bZGm1H5VXcoerF6eWLkBd157heJS8pBtHrNo → Save. SportsPerp’s devnet USDC now shows.
Solflare: The token is auto-detected once you have a non-zero balance.
Backpack: Tokens tab → + → paste mint. Same as Phantom.
Some wallets display the token as “USDC” (the mint’s on-chain name); others show the first 8 characters of the mint. Either is fine; the token is tracked by its mint address, not its display name.
Mainnet USDC
This section is for the future. At mainnet launch, SportsPerp will use the canonical Solana USDC:
Mainnet USDC mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vThis is the real USDC issued by Circle, worth real $1 per token. You get it by:
- Depositing USDC from a centralized exchange (Coinbase, Kraken, Binance, etc.) to your Solana wallet address.
- Swapping other assets to USDC on a DEX (Jupiter, Raydium).
- Bridging USDC from other chains (via Wormhole, Mayan, DeBridge, etc.).
Mainnet trading is not yet live. Do not send mainnet USDC to the devnet program — the two are isolated on different networks.
How much to start with
For devnet:
- 1,000 USDC is enough to explore all the mechanics — open positions at different sizes/leverages, try trigger orders, close at profit/loss, experience the liquidation flow.
- 10,000 USDC if you want to test larger positions or simulate whale-level trading.
For mainnet (future):
- Start small. A $100–$500 position lets you experience the real product without meaningful downside during the initial mainnet ramp-up.
- Size up as you gain confidence. The 10% per-position cap will bound individual position risk; spreading across markets bounds portfolio risk.
Common issues
“I got USDC but it’s not showing in Phantom”: Add the token manually (see “Adding the token to your wallet” above) or refresh the token list.
“I have USDC but SportsPerp says I have 0”: You probably have USDC from a different devnet mint. Double-check the mint address matches exactly. SportsPerp only accepts its specific mint.
“Faucet says I’ve already claimed”: 24-hour cooldown. Wait or switch wallets.
“Transaction failed with insufficient funds”: You might have USDC but no SOL for fees. Top up SOL from the Solana faucet.
Further reading
- How to Start Trading — the four-step flow this fits into.
- Your First Trade — what to do next.
- Contract Specifications — reference info on the USDC mint and other constants.