Skip to main content
Devnet markets settle in a test USDC Collateral Mint. Use requestTestUsdc to ask the deployment faucet to mint 10,000 test USDC directly into a wallet. The mint authority stays on the server. Your wallet signs a short authentication message and does not need SOL to claim.

Claiming Test USDC

requestTestUsdc checks eligibility, builds the canonical faucet message, calls your signMessage callback, and submits the claim. Your signMessage function must sign the exact bytes provided and return a 64-byte Ed25519 signature. @solana/kit’s signBytes satisfies this requirement.

Return Shape

requestTestUsdc resolves to TestUsdcFaucetResult:
FieldTypeDescription
fundedbooleantrue when tokens were minted; false during the cooldown window.
walletAddressstringRecipient wallet address.
amountnumberClaim amount in human-readable token units.
mintstringTest USDC Collateral Mint address.
signaturestring | nullMint transaction signature when funded is true, otherwise null.
nextAvailableAtstring | nullISO timestamp for the next eligible claim.

Rate Limits

Each wallet can claim once every 24 hours. If a wallet calls requestTestUsdc again inside the cooldown window, the function returns funded: false with nextAvailableAt populated instead of throwing.
requestTestUsdc is for Devnet testing only. When you switch your integration to Mainnet, remove the faucet call and fund wallets with Mainnet collateral.