AIToday

Developer outlines missing self-custody wallet design for AI agents using session keys and on-chain caveats

Hacker NewsApr 29, 20262 min read
Developer outlines missing self-custody wallet design for AI agents using session keys and on-chain caveats

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. The article identifies a gap in the current market: custodial signing services (Coinbase CDP, Privy, Phantom, Turnkey) and local signing tools (mcp-wallet-signer, Frame.sh) exist separately, but no product bundles self-custody with agent-native signing. The author built an MCP server for CoW Protocol and encountered the problem directly when wiring it to a wallet.

  2. The proposed solution uses session keys with on-chain caveats: a user holds the master key, signs once to grant a session key scoped permissions (only this protocol, only these tokens, only up to this amount, only for this duration), and the agent operates within those bounds without further prompts. EIP-7702 allows an EOA to delegate to a smart-account contract directly, removing bundler dependency from the signing path.

  3. The required components already exist separately: MetaMask Smart Accounts Kit ships an audited EIP7702StatelessDeleGator on mainnet with caveat enforcers for target contracts, function selectors, value caps, and expiry; mcp-wallet-signer provides the transport and approval-routing pattern; passkeys backed by Secure Enclave or TPM provide hardware-backed signing verified on-chain via P-256 precompile. What is missing is an opinionated local daemon that exposes both an MCP signing surface and an EIP-1193 endpoint, mints ERC-7710 delegations to session keys, and broadcasts through any RPC without bundler dependency.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →