Use @circle-fin/app-kit
to send USDC on Arc Testnet with a browser wallet and the viem adapter.
This Vite + TypeScript page connects an EIP-6963 wallet (for example MetaMask),
creates a Circle adapter from the provider, then calls send().
- Node.js 22 or later
- An EIP-6963 browser wallet such as MetaMask
- Testnet USDC on Arc Testnet
- Native gas token on Arc Testnet for the wallet transaction
This project does not require environment variables or API keys.
npm install
npm run devOpen the local Vite URL in a browser with your wallet installed.
npm run build- Discovers an EIP-6963 browser wallet and requests account access.
- Creates a viem adapter with
createViemAdapterFromProvider(). - Sends 1 USDC on
Arc_Testnetto the entered recipient withkit.send().
src/main.ts— wallet connect, adapter creation, and send. Changechain,amount, andtokenin the send params for a different chain, amount, or token.