Frame Transaction EIP: Add EIP: Frame Transaction by fjl · Pull Request #11202 · ethereum/EIPs · GitHub
Summary (ELI5)
A new transaction type where validation and gas payment are defined by smart contract code instead of enshrined ECDSA signatures. This enables:
-
Post-quantum security: Accounts can use any signature scheme
-
Native account abstraction: Flexible wallets with social recovery, multi-sig, spending limits
-
Gas sponsorship: Someone else can pay your fees natively
Beneficiaries: End users (better UX and safety), wallet developers, the network (PQ migration path)
Champion
Felix Lange (@fjl) and lightclient (@lightclient)
Justification
Why This Matters
| Benefit | Rationale |
|---|---|
| PQ security | ECDSA will break; users can migrate to quantum-resistant signatures at their pace |
| Native AA | More efficient than ERC-4337; eliminates intermediaries for mempool/bundler infrastructure. Better at “walk away” test |
| Gas flexibility | Native sponsorship support; ERC-20 gas payments without trusted intermediaries |
Why Now
-
Quantum threat requires proactive migration (10+ year timeline, but migration is slow).
-
ERC-4337 validated demand and design patterns. Time to enshrine.
-
EIP-7702 already changed
ORIGINsemantics, reducing this proposal’s disruption.
Why This Approach
| Alternative | Limitation |
|---|---|
| ERC-4337 | Separate mempool, bundlers, higher overhead |
| EIP-7701 | Overly specific about particular flows, not easy to generalize in client impl |
| EIP-7702 | Useful but solves different problem; not PQ |
| PQ tx type | Simpler, but there may be many PQ schemes that are desirable. And, it doesn’t allow us to achieve other long term goals, like key rotation. |
Stakeholder Impact
Positive
-
Users: Better wallet UX, flexible security, gas sponsorship
-
Wallet/dApp devs: Native AA infrastructure, easier onboarding
-
ERC-4337 ecosystem: Natural migration path
Negative
| Impact | Mitigation |
|---|---|
| Node DoS vectors from arbitrary validation | ERC-7562-style opcode restrictions; MAX_VALIDATION_GAS |
ORIGIN behavior change |
Already precedented by EIP-7702; pattern was discouraged |
Technical Readiness
| Aspect | Status |
|---|---|
| Transaction format | |
| New opcodes (APPROVE, TXPARAM*) | |
| Gas accounting | |
| Mempool rules | |
| Reference implementation | |
| Test vectors |
Security & Open Questions
Known Risks
- Mempool DoS: Mass invalidation via shared state. This is mitigated by validation restrictions from ERC-7562.
Open Questions
- Paymaster support: paymasters are established under ERC-4337. While this EIP aims to be compatible with them via same mempool rules, it is open question to see that materialize. It will require working through the design with existing bundlers.