Hi everyone,
I’ve submitted an ERC draft to formalize a pattern we’ve been running in production since late 2025: **unidirectional payment channels** for streaming micropayments between AI agents and service providers, using EIP-712 signed vouchers on top of ERC-20.
Problem: AI agents consume services at high frequency (LLM inference, image gen, code execution, etc.) with low value per request. On-chain payment per request is economically infeasible; job-escrow models (e.g. ERC-8183) add unnecessary overhead for immediate request–response services.
Approach: The consumer opens a channel by depositing ERC-20 tokens into escrow, designates a provider and expiry, then issues off-chain signed vouchers (EIP-712) in exchange for services. The provider can claim the highest voucher on-chain at any time. Channels settle via provider claim, consumer close after expiry, or cooperative close with mutual signatures. Two on-chain transactions cover an unlimited number of service requests.
Status:
- Reference implementation: Live on Polygon Mainnet (DrainChannelV2, USDC).
- Marketplace: https://handshake58.com - agents pay for LLM, image, code execution, and other services via this protocol.
The draft defines the minimal interface (channel lifecycle, voucher schema, settlement, cooperative close), optional HTTP 402 integration for API providers, and is **complementary** to ERC-8183 (streaming vs. discrete deliverable commerce).
I’d welcome feedback on the specification, security considerations, and naming. Happy to discuss rationale, edge cases, and implementation experience here.