Skip to content

Add ERC: Payment Channels with Signed Vouchers#1592

Open
kimbo128 wants to merge 7 commits intoethereum:masterfrom
kimbo128:erc-payment-channels
Open

Add ERC: Payment Channels with Signed Vouchers#1592
kimbo128 wants to merge 7 commits intoethereum:masterfrom
kimbo128:erc-payment-channels

Conversation

@kimbo128
Copy link

Summary

This ERC proposes a standard for unidirectional payment channels using EIP-712 typed signed vouchers, designed for streaming micropayments in high-frequency service commerce -- particularly AI agent-to-provider interactions.

Key Features

  • 2 on-chain transactions (open + claim/close) for unlimited off-chain service requests
  • EIP-712 signed vouchers with cumulative amounts for off-chain payment authorization
  • Cooperative close for early settlement with mutual consent
  • Optional HTTP 402 integration with payment discovery headers
  • Optional platform fee mechanism (basis points)

Relationship to ERC-8183

This standard is complementary to ERC-8183 (Agentic Commerce):

  • ERC-8183 = discrete jobs with escrow + evaluator attestation
  • This ERC = streaming micropayments via payment channels
  • Together they cover the full spectrum of agent commerce

Production Reference

This pattern has been in production on Polygon Mainnet since late 2025 as DrainChannelV2, powering a marketplace of AI service providers.

Contract: 0x0C2B3aA1e80629D572b1f200e6DF3586B3946A8A

Note

The Ethereum Magicians discussion thread will be created once forum trust level requirements are met. The discussions-to field will be updated accordingly.

Made with Cursor

Made-with: Cursor
@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Mar 10, 2026

File ERCS/erc-8184.md

Requires 1 more reviewers from @g11tech, @jochem-brouwer, @samwilsn, @xinbenlv

@eip-review-bot eip-review-bot changed the title ERC: Unidirectional Payment Channels with Signed Vouchers Add ERC: Unidirectional Payment Channels with Signed Vouchers Mar 10, 2026
@github-actions github-actions bot added the w-ci label Mar 10, 2026
@github-actions github-actions bot removed the w-ci label Mar 10, 2026
@eip-review-bot eip-review-bot changed the title Add ERC: Unidirectional Payment Channels with Signed Vouchers Add ERC: Payment Channels with Signed Vouchers Mar 10, 2026
@github-actions
Copy link

The commit e98790b (as a parent of d094f40) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Mar 10, 2026
ERCS/erc-8184.md Outdated

## Abstract

This specification defines unidirectional payment channels for streaming micropayments using [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed signed vouchers. A consumer opens a channel by depositing [ERC-20](https://eips.ethereum.org/EIPS/eip-20) tokens into escrow, designating a provider and an expiry timestamp. The consumer then issues incrementally increasing off-chain signed vouchers to the provider 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This specification defines unidirectional payment channels for streaming micropayments using [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed signed vouchers. A consumer opens a channel by depositing [ERC-20](https://eips.ethereum.org/EIPS/eip-20) tokens into escrow, designating a provider and an expiry timestamp. The consumer then issues incrementally increasing off-chain signed vouchers to the provider 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.
This specification defines unidirectional payment channels for streaming micropayments using [EIP-712](./eip-712) typed signed vouchers. A consumer opens a channel by depositing [ERC-20](./eip-20) tokens into escrow, designating a provider and an expiry timestamp. The consumer then issues incrementally increasing off-chain signed vouchers to the provider 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.

ERCS/erc-8184.md Outdated
Existing on-chain payment models are poorly suited for this pattern:

- **Direct transfers** require a transaction per request, making sub-cent payments infeasible due to gas costs.
- **Job escrow models** (e.g. [ERC-8183](https://eips.ethereum.org/EIPS/eip-8183)) require upfront job specification, evaluator attestation, and multiple state transitions. This is appropriate for discrete deliverables but introduces unnecessary overhead for immediate request-response services.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Job escrow models** (e.g. [ERC-8183](https://eips.ethereum.org/EIPS/eip-8183)) require upfront job specification, evaluator attestation, and multiple state transitions. This is appropriate for discrete deliverables but introduces unnecessary overhead for immediate request-response services.
- **Job escrow models** (e.g. [ERC-8183](./eip-8183)) require upfront job specification, evaluator attestation, and multiple state transitions. This is appropriate for discrete deliverables but introduces unnecessary overhead for immediate request-response services.

@@ -0,0 +1,506 @@
---
eip: 8184
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
eip: 8184
eip: 8190

Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.

Please also update the filename.

ERCS/erc-8184.md Outdated
title: Payment Channels with Signed Vouchers
description: Streaming micropayments via EIP-712 signed vouchers over unidirectional ERC-20 payment channels.
author: Artur Markus (@kimbo128)
discussions-to: https://ethereum-magicians.org/t/erc-8184-payment-channels-with-signed-vouchers/00000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a discussions topic in Eth Magicians.
https://ethereum-magicians.org/c/ercs/57

@github-actions github-actions bot removed the w-ci label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants