ERC-7702 Overview · The Pectra Upgrade Where EOAs Temporarily Gain SCW Functionality
ConfidenceCertainUpdated2026-05-26Review by2026-09-22Sources1Machine-translatedOriginal (JA)
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
- Hook-Enforced Compliancedeployment ≠ working. Even if a Hook is placed, whether it actually fires is a separate issue.
- Hyperlane Interchain Security Modules (ISM) · Pluggable Verification LayerThe modularisation of ISMs was a core design at the time of the Hyperlane 2022 年 rename —— the team recognised that a "one-size-fits-all cross-chain security model" could not meet the requir...
Links here
- Agent custody and authorization framework · 2026-05 reference architectureAgent 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 identity bridging DeFi and traditional finance · KYA, Skyfire, Lit PKP, mDL, MiCA, GENIUSAgent 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 Payment Protocol four-way comparison matrix 2026 · AP2 / x402 / Skyfire / Nevermined plus ERC-7715 + Lit PKPSelecting an agent payment rail in 2026 is not "pick the best protocol" — it is "compose the layer cake correctly so the merchant accepts, the wallet authorizes, and the regulator does not b...
- Agent Protocol Mainnet Adoption · 2026-05 Production-Readiness SnapshotAs 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...
- AI Agent payment protocols overview · a 7-protocol surveyThe 7 protocols divide labor by layer. The intent layer (where the user expresses "I want to buy Y for X yen") is handled by AP2 / SPT / ACP, which process the mandate's 3-layer trust chain...