Fund Local CLI Agent
Connect an EVM wallet on Arc Testnet, send native or ERC-20 USDC to the buyer-agent wallet, then copy a local CLI command. The browser never receives private keys and never runs paid x402 purchases.
Browser wallet
Only signs explicit funding transactions after user confirmation.
Local buyer-agent
Existing CLI flow still owns x402 signing, Gateway deposits, and paid calls.
Testnet guardrails
Funding actions are disabled unless the connected wallet is on Arc Testnet.
No injected EVM wallet detected. Unlock a browser wallet to fund the buyer-agent wallet.
- USDC balance
- n/a USDC
Spendable as a native transfer or an ERC-20 transfer. Both move this same balance.
Enter the buyer-agent wallet address used by your local CLI agent. This should match `BUYER_ADDRESS` in `.env.local`.
- Buyer native
- n/a USDC
- Buyer ERC-20
- n/a USDC
Send native gas USDC
Funds the buyer-agent wallet with Arc native USDC for gas on Arc Testnet. This uses 18-decimal native value.
Send ERC-20 USDC
Transfers canonical Arc Testnet ERC-20 USDC to the buyer-agent wallet. This uses the 6-decimal USDC token contract.
AGENT_MAX_IN_FLIGHT=1 npm run agent -- --task "Analyze tone and sentiment for a short builder update" --limit 0.005The command runs the existing local buyer-agent. Your browser wallet only funds the destination; paid x402 requests and Gateway behavior remain in the CLI flow.
The web app is the funding, planning, and proof surface. The paid buyer-agent execution remains a local CLI flow from this repository, where your `.env.local` and buyer-agent private key stay on your machine.
Reviewer quick path
git clone https://github.com/mioku50/Agent-Commerce.gitcd Agent-Commerce && npm installAGENT_MAX_IN_FLIGHT=1 npm run agent -- --task "Analyze tone and sentiment for a short builder update" --limit 0.005