ERC-7702 Overview · The Pectra Upgrade Where EOAs Temporarily Gain SCW Functionality
Wiki route
This entry sits under systems index. Read it against ERC-7702 vs ERC-4337 · Ethereum AA dual-track comparison for peer / contrast context and fintech index for the broader system / regulatory boundary.
Key facts
- Pectra 2025-05 mainnet activation (including 7702 + 7251 validators + 2935 blockhash, etc.) •
- In 2024-05 , after abandoning EIP-3074 , Vitalik personally drafted 7702 •
- SET_CODE_TX (EIP type 0x04) was newly introduced •
- 90% of ETH holders still use EOAs (MetaMask / Rabby / Trust Wallet) · this is the target of 7702 •
- 2026-Q1-Q2: MetaMask / Rabby / Coinbase Wallet support it by default •
Mechanism / How it works
Core problem: ERC-4337 requires users to migrate to a new address (SCW address ≠ EOA address). For EOA users who already have on-chain history, ENS, NFTs, and DeFi positions, the migration cost is unacceptable.
**The core reason Vitalik promotes 7702 **:
- 90% of ETH holders still use EOAs
- 4337 shows that in 2023-2025 over 2 years, SCW penetration was < 5% — proving that the “create a new SCW” route is too slow for adoption
- A route to directly upgrade EOAs is necessary · all EOAs can gain SCW functionality overnight
Mechanism:
- Introduce
SET_CODE_TX(EIP type 0x04) - The user (EOA), by signature, authorizes contract code to be assigned to their own address during that tx
- After the tx completes · the code can be retained (persistent delegation) or removed
- In persistent mode · the EOA’s behavior becomes fully equivalent to an SCW · but the address does not change
Typical application flow:
- The EOA user signs a
delegationDesignator(SCW implementation contract · for example, a reference to Safe / Kernel) - The user (or gas sponsored through a Bundler) issues
SET_CODE_TX - The EOA address thereafter executes with SCW logic — batch, sponsor, session key, etc. become possible
- The user can remove the delegation at any time by signature · returning to a pure EOA state
Origin & evolution
During 2017-2024 年 · Ethereum AA efforts were attempted multiple times: EIP-86 (2017 failure) → EIP-2938 (2020 failure) → EIP-3074 (2022 nearly realized but with signature replay issues) → ERC-4337 (implemented at the application layer in 2023-03 ) → EIP-7702 (drafted by Vitalik in 2024-05 ).
**Important differences from ERC-3074 **:
- 3074 uses the
AUTH/AUTHCALLopcode · requires an invoker contract intermediary · UX is complex + signature replay risk is high - 7702 directly sets code at the tx layer · closer to a native SCW experience · and shares 4337 and EntryPoint infrastructure
Timeline:
- 2024-05: Vitalik abandoned 3074 · drafted 7702
- 2025-05: Pectra mainnet activation (7702 + 7251 + 2935 , etc.)
- 2026-Q1-Q2: MetaMask / Rabby / Coinbase Wallet support it by default
- 2026-H2: Fusaka upgrade further optimizes the 7702 economic model
Related
- Wiki Index
- ERC-7702 vs ERC-4337
- ERC-4337 Overview
- ERC-7715 overview · Wallet Permissions and AI Agent auto-payment
Sources
- EIP-7702 “Set Code for EOAs” — https://eips.ethereum.org/EIPS/eip-7702
Discovery
Keep reading
Read next
- Formal Specification ↔ Implementation Co-design This entry sits under systems index. Read it against Threshold BFT コンセンサス Rust 化トレンド(Tempo Simplex / Arc Malachite) for peer / contrast context and fintech index for the broader system / reg... systems/formal-spec-implementation-codesign
- Hook-Enforced Compliance This entry sits under systems index. Read it against Threshold BFT 共识 Rust 化潮流(Tempo Simplex / Arc Malachite) for peer / contrast context and fintech index for the broader system / regulator... systems/hook-enforced-compliance
- Hyperlane Interchain Security Modules (ISM) · Pluggable Verification Layer This entry sits under systems index. Read it against cross chain four poles overview for peer / contrast context and fintech index for the broader system / regulatory boundary. systems/hyperlane-ism-modular-security
Links here
- Agent custody and authorization framework · 2026-05 reference architecture Agent custody and authorization in 2026 has converged into a three-axis design space: (1) custody model — full self-custody (user holds key, agent has no independent control), hybrid (Lit PK... agent-economy/agent-custody-and-authorization-framework-2026
- Agent identity bridging DeFi and traditional finance · KYA, Skyfire, Lit PKP, mDL, MiCA, GENIUS Agent identity in 2026 sits at the bridge between DeFi-native primitives (smart-contract wallets, on-chain attestations, ERC-4337 / ERC-7702 wallets controlled by Lit PKP threshold keys or s... agent-economy/agent-identity-defi-and-traditional-finance-bridge
- Agent Payment Protocol four-way comparison matrix 2026 · AP2 / x402 / Skyfire / Nevermined plus ERC-7715 + Lit PKP This entry sits under agent-economy index. Read it against AI Agent 決済プロトコル全体図 · 7プロトコル俯瞰 for the broader seven-protocol landscape, agent protocol mainnet adoption 2026 for production-readin... agent-economy/agent-payment-protocol-four-way-comparison-2026
- Agent Protocol Mainnet Adoption · 2026-05 Production-Readiness Snapshot As of May 2026, the agent-payment protocol stack has bifurcated sharply between mainnet-shipped infrastructure and testnet / consortium-only specs. The production-live tier is dominated by x... agent-economy/agent-protocol-mainnet-adoption-2026
- AI Agent payment protocols overview · a 7-protocol survey This entry sits under agent-economy INDEX. Read it against AI Agent 決済7プロトコル分層表 · 意図 / 伝送 / 文脈 for peer / contrast context and payments index for the broader system / regulatory boundary. agent-economy/ai-agent-payment-protocols-overview