Conversation
f24562b to
d529469
Compare
SummaryAdds a unified
Here we propose charge intent with a rich credential model (EIP-3009, Permit2, ERC-7710 delegation) and split payment support, alongside a new Charge Intent (
|
| Decision | Rationale |
|---|---|
| EIP-3009 as recommended auth type | Zero setup, no Permit2 approval prerequisite. Most tokens that matter (USDC, EURC) implement it natively |
Three authorization mechanisms under type="transaction" |
Covers EOAs (EIP-3009, Permit2), smart accounts (delegation), and EIP-7702 hybrid wallets |
| Gas sponsorship is structural | Off-chain signature types → server always pays gas. On-chain type="hash" → client pays. No ambiguity |
| Session splits use basis points, not fixed amounts | Total session cost is unknown upfront; ratio-based splits scale with consumption |
| Cumulative voucher semantics | Monotonically increasing amounts prevent rollback; server holds latest voucher as irrevocable claim |
session as experimental intent |
Defined in the method spec per contribution guidelines, pending extraction into a standalone intent spec once a second method implements the pattern |
| No chain-specific appendix | Chain IDs reference chainlist.org. Implementation details belong in chain documentation |
| Confirmation depth is server policy | Spec requires 1-block inclusion; finality depth left to server discretion |
| Native token transfers out of scope | ERC-20 only |
New Files
specs/methods/evm/draft-evm-charge-00.mdspecs/methods/evm/draft-evm-session-00.md
References
- Tempo charge spec:
specs/methods/tempo/draft-tempo-charge-00.md - Tempo session spec:
specs/methods/tempo/draft-tempo-session-00.md
AI Disclosure
These specs were drafted with AI assistance (Claude). All content has been reviewed for technical accuracy, RFC compliance, and alignment with STYLE.md / CONTRIBUTING.md.
|
Can we move discussion here? #213 |
We’re preparing to support similar functionality. It is currently under development. We have used AI to produce an initial EVM version translated in the MPP format, and we will continue refining it over time. Feedback and discussion are welcome.