Crypto
Eip 7702
Definition
EIP-7702 is an Ethereum proposal that lets an EOA permanently attach executable code by delegating to a smart contract, enabling wallet-like features without…
What is eip-7702?
EIP-7702 is an Ethereum Improvement Proposal that upgrades how an eoa can behave by allowing it to “set code” via a protocol-level delegation pointer to a smart contract. Instead of forcing users to migrate to a brand-new smart contract wallet address, EIP-7702 lets an existing EOA keep its address and balances while gaining programmable wallet functionality. This matters for anyone comparing crypto wallet types explained, because it narrows the gap between traditional key-based wallets and smart contract wallets without requiring a full account migration.
At a high level, EIP-7702 introduces a new typed transaction that can write a special delegation marker into an EOA’s code field. That marker points to a “delegate” contract address, and Ethereum clients treat calls to the EOA as if the delegate contract’s code is executed in the EOA’s context. In practice, the EOA becomes a thin shell that routes execution to wallet logic, while still being the same on-chain account.
The transaction can include one or more authorizations (signed approvals) that specify which account is delegating and which delegate address it is delegating to. Once processed, the EOA’s code is no longer empty: it contains a compact indicator that tells the protocol where to fetch executable logic. This is designed to be a pragmatic bridge: it improves user experience quickly while remaining compatible with existing Ethereum account and transaction concepts.
EIP 7702 account abstraction
EIP 7702 account abstraction is best understood as “bringing account abstraction-style behavior to EOAs” rather than replacing smart contract wallets. Account abstraction is the broader idea that accounts should be programmable: they can validate signatures in flexible ways, batch actions, and support gas sponsorship. Historically, many of these features required a contract account, or they were implemented through systems like erc 4337, which adds an application-layer mempool and an EntryPoint contract to simulate smart account behavior.
With EIP-7702, an EOA can delegate execution to wallet code that implements features commonly associated with account abstraction. For example, the delegated wallet code can verify alternative signers (like a passkey-backed signer), enforce spending limits, or allow a session key for a specific app. It can also batch multiple actions into one atomic flow, such as approving a token and then swapping it, without the user manually sending two separate transactions. Conceptually, it’s like installing an “operating system” for your EOA: the address stays the same, but the rules for how it authorizes and executes actions can become much more sophisticated.
It’s also useful to contrast EIP-7702 with erc 4337. ERC-4337 smart accounts are contracts from day one, and they rely on bundlers and the EntryPoint to package user operations. EIP-7702 instead changes the base transaction path by letting EOAs gain code-driven behavior directly, which can reduce reliance on extra infrastructure for some wallet UX improvements. That said, the two approaches can be complementary: a wallet ecosystem can support both, choosing the best path depending on compatibility needs, security preferences, and desired features.
Pectra EIP-7702
Pectra EIP-7702 refers to EIP-7702 being included as part of Ethereum’s broader upgrade roadmap (often discussed under the “Pectra” umbrella). In that context, EIP-7702 is positioned as a user-experience upgrade: it aims to make modern wallet capabilities available to the large installed base of EOAs, not just to users who proactively deploy smart contract wallets.
From a practical standpoint, inclusion in a major network upgrade matters because it standardizes behavior across clients and makes delegation a first-class, protocol-recognized pattern. Wallets and dapps can then build around a consistent rule: if an account has the delegation marker, the network will execute the delegate’s code in the account’s context. This consistency is important for security reviews, tooling, and long-term maintenance. It also creates a foundation that other proposals can build on, such as designs that refine delegation lifecycle management or expand the delegation “designator” space for future authentication methods.
Why eip-7702 matters
EIP-7702 matters because it reduces the biggest friction in wallet evolution: the need to change addresses to get better UX. By letting an eoa keep its identity while gaining programmable behavior, it can make features like batching, gas sponsorship, and scoped permissions feel native to everyday Ethereum usage. That benefits users (fewer steps and fewer signatures), developers (more predictable flows), and the network (a clearer path to safer, more ergonomic wallets).
It also reframes the long-running tradeoff between EOAs and smart contract wallets. Instead of treating them as separate categories, EIP-7702 creates a continuum where EOAs can adopt account abstraction-like capabilities incrementally. For readers navigating crypto wallet types explained, the key takeaway is that “wallet type” is becoming less about the address format and more about the execution and security model the account opts into over time.
Frequently Asked Questions
What is eip-7702 used for?
EIP-7702 is used to let an EOA delegate execution to smart contract wallet code while keeping the same address. This enables features like transaction batching, gas sponsorship, and granular permissions without migrating funds to a new account.
How does eip-7702 change an eoa?
It allows an EOA to write a protocol-recognized delegation marker into its code field that points to a delegate contract. After that, calls involving the EOA can execute the delegate’s logic in the EOA’s context, effectively giving the EOA programmable behavior.
Is eip-7702 the same as account abstraction?
Not exactly. Account abstraction is the broader concept of programmable accounts, while EIP-7702 is a specific mechanism that brings some of those benefits to EOAs through delegation. It can complement approaches like erc 4337 rather than replacing them.
Does eip-7702 turn an eoa into a smart contract wallet?
It can make an EOA behave like a smart contract wallet by executing wallet code via delegation, but the account remains the same EOA address. The security and feature set depend on the delegate contract the user chooses.
What are the risks of eip-7702 delegation?
The main risk is choosing or upgrading to unsafe delegate code, since that code can control how the account authorizes and executes actions. Users and wallets need strong safeguards around delegate selection, initialization, and upgrade permissions to avoid lockouts or malicious behavior.
Related Terms
Erc 4337
ERC-4337 is an Ethereum standard that enables account abstraction by letting smart contract wallets submit UserOperations via bundlers and an EntryPoint…
Account Abstraction
Account abstraction is a wallet design that lets an account use smart contract rules for signing, security, and gas payments instead of fixed protocol logic.