Wallet for A2A Payment and Orchestration with ENS/Ledger/x402
apWallet is a full-stack Svelte app for A2A payments, while humans are always in the loop with ENS identity checks and Ledger hardware signing, all with the x402 system using Etheresum Sepolia tokens. The problem we are solving is that autonomous agents can search, plan, and act on a users behalf, but the human control gaurds are necessary. To make a good user experience, we auto-allow low-value transactions, while flagging and requesting user signoff for large transactions.
Built with SvelteKit + TypeScript + Vitest. Flow: 8004scan discovers ERC-8004 agents → Gemini picks/plans → live quotes via A2A or Travala MCP → ENS payee audit (Viem) → Ledger WebUSB signs Sepolia ETH → broadcast + agent confirm. Partners: 8004scan, Travala MCP, Gemini, Ledger, ENS. Hacks: server-side nonce (CORS), RPC fallbacks, SSE MCP parser, no fake Gemini prices, goal routing away from broken agents.

