agentwallet
Server-side wallet for AI agents with x402 payment signing, multi-chain support, and policy-controlled transactions.
- Supports EVM (Ethereum, Base, Optimism, Polygon, Arbitrum, BNB, Gnosis) and Solana with USDC, USDT, and CASH tokens
- One-step x402/fetch endpoint handles payment detection, signing, and retry automatically for seamless API calls
- Policy-controlled transfers, contract calls, and message signing with optional dry-run previews
- Referral program with airdrop rewards; multi-wallet management unlocked at higher trust tiers
AgentWallet
AgentWallet provides server wallets for AI agents. Wallets are provisioned after email OTP verification. All signing happens server-side and is policy-controlled.
TL;DR - Quick Reference
FIRST: Check if already connected by reading ~/.agentwallet/config.json. If file exists with apiToken, you're connected - DO NOT ask user for email.
Need to connect (no config file)? Ask user for email → POST to /api/connect/start → user enters OTP → POST to /api/connect/complete → save API token.
x402 Payments? Use the ONE-STEP /x402/fetch endpoint (recommended) - just send target URL + body, server handles everything.
x402/fetch - ONE-STEP PAYMENT PROXY (RECOMMENDED)
This is the simplest way to call x402 APIs. Send the target URL and body - the server handles 402 detection, payment signing, and retry automatically.