use-usdc

Check balances, send transfers, and approve USDC spending on EVM chains and Solana.

3|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/levantuy/arc-quantum --skill use-usdc-levantuy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-usdc
Source: https://github.com/levantuy/arc-quantum/tree/main/.agents/skills/use-usdc
Command: npx skills add https://github.com/levantuy/arc-quantum --skill use-usdc-levantuy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires viem, @solana/kit, @solana-program/token, ws, dotenv, bs58, and includes references (resource) components.

What problem does it solve? Interacting with USDC across different blockchain ecosystems involves chain-specific contract addresses, decimal handling, and token account models that are easy to get wrong, leading to failed or irreversible transactions. ## Core Features & Use Cases - Balance and Allowance Checks: Query USDC balances on EVM chains via ERC-20 contracts and on Solana via Associated Token Accounts without needing a private key. - Transfers and Approvals: Send USDC and approve contract spending on EVM chains, or transfer SPL USDC on Solana with automatic ATA existence checks and pre-flight balance validation. - Transfer Verification: Verify incoming USDC transfers by reading Transfer events on EVM or transaction signatures on Solana. - Use Case: A developer building a payment flow on Base Sepolia needs to check a user's USDC balance, confirm sufficient funds, and send 10 USDC to a recipient with a confirmation preview before submitting the transaction. ## Quick Start Ask the assistant to check the USDC balance of your wallet address on Base Sepolia testnet.

Frequently Asked Questions about use-usdc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check a USDC balance on Ethereum or Solana?

On EVM chains, call the balanceOf method on the USDC ERC-20 contract using viem and format the result with 6 decimals. On Solana, derive the Associated Token Account for the USDC mint and query its token balance via RPC.

How do I send USDC with viem or @solana/kit?

On EVM, call the transfer function on the USDC contract with the amount parsed using parseUnits with 6 decimals. On Solana, build a transfer instruction with getTransferInstruction, ensuring the recipient's Associated Token Account exists first.

Why does my Solana USDC transfer fail?

Solana USDC transfers fail when the recipient's Associated Token Account does not exist. Check the ATA with getAccountInfo before transferring, and either create it or use getOrCreateAssociatedTokenAccount, which costs about 0.002 SOL.

What decimals does USDC use on different chains?

USDC uses 6 decimals on all ecosystems, including EVM chains and Solana. Using 18 decimals is a common error that inflates amounts by a factor of one trillion; Arc is the exception where the native gas representation uses 18 decimals but ERC-20 operations still use 6.

When should I use bridging instead of direct USDC transfers?

Direct USDC transfers only work within a single chain. For moving USDC between chains, use a bridging approach such as CCTP or Bridge Kit, and for unified multi-chain balances consider a gateway deposit model instead.