EIP-7702 Explained: Smart Accounts and 6 Rules to Stay Safe
EIP-7702 lets a normal Ethereum address run smart account code. See what it enables, how it compares with ERC-4337, what has gone wrong and six rules to stay safe.
Written by Lucas Bennett
7 min read

EIP-7702 is the part of Ethereum's Pectra upgrade, live since May 7, 2025, that lets a regular Ethereum address point to smart contract code. Your address, balance and private key stay the same, but the account can gain smart account features such as batched transactions, sponsored gas and limited sub-keys, until you remove the delegation.
- EIP-7702 went live with Pectra on May 7, 2025. It is opt-in: nothing changes until you sign a delegation.
- A delegation makes your address run a chosen contract's code, and it stays in place until you replace it or point it at the zero address.
- Your recovery phrase is still the master key. A smart account does not make a leaked phrase safe.
- The main risk is signing a delegation or batch you did not mean to sign, because a malicious delegate can take near complete control of the account.
- Accept delegations only from your wallet's own settings, and treat a website that asks for one as a red flag.
This guide covers how EIP-7702 works, what it lets wallets do, how it compares with ERC-4337, what has gone wrong since launch and six rules for using it safely.
Ethereum has always had two kinds of account. An externally owned account (EOA) is controlled by a private key, usually derived from a recovery phrase, and it is what almost every wallet creates. A contract account is controlled by code and can do far more, but until 2025 an ordinary EOA had no way to run code.
EIP-7702 adds a new transaction type, type 4, that carries a signed authorization. The authorization names a contract, a chain ID and your account's nonce, and you sign it with your normal private key. Once it is processed, your account stores a short pointer to that contract, and any call to your address runs the contract's logic on your account.
Three properties matter most:
- It persists. The delegation stays until you sign a new one. Pointing it at the zero address clears it and returns the account to a plain EOA.
- Someone else can pay. The transaction that sets the delegation can be sent, and paid for, by a relayer or sponsor that holds your signed authorization.
- Chain ID 0 means every chain. An authorization signed with chain ID 0 applies on all EVM chains, not only on Ethereum.
Pectra itself bundled 11 changes. Besides EIP-7702, it raised the maximum effective balance of a validator to 2,048 ETH (EIP-7251) and doubled the blob target for rollups (EIP-7691), but EIP-7702 is the one that touches your wallet.
The delegated contract decides what your account can do. The EIP was designed around three features, and a fourth became practical later:
- Batching. Approve a token and swap it in one atomic transaction instead of two, so both steps succeed or fail together.
- Sponsorship. Another account pays the network fee for you: an app covering its users, or a relayer you pay back in a token such as USDC.
- Privilege de-escalation. Sub-keys with narrow permissions, such as spending tokens but not ETH, or spending at most 1% of the balance per day.
- Passkeys. Since Fusaka on December 3, 2025, Ethereum has a built-in check for secp256r1 signatures (EIP-7951), the kind produced by phone secure hardware and WebAuthn authenticators. That makes passkey-style signers cheaper to support.
One thing never changes: the original private key can still do everything. Delegating to a multisig contract, for example, does not make your address a multisig, because the key alone can bypass it.
ERC-4337 has offered smart accounts since March 1, 2023, through a shared EntryPoint contract and with no change to Ethereum itself. EIP-7702 complements it. ethereum.org recommends that delegation contracts stay ERC-4337 compatible, so delegated accounts can use ERC-4337's bundlers to relay their transactions.
| Feature | Plain EOA | ERC-4337 smart account | EOA with EIP-7702 |
|---|---|---|---|
| Address | From your recovery phrase | A new contract address | Your existing address |
| Final control | Your private key | The contract's rules and signers | Your private key, plus the delegate's code |
| Batching and sponsored gas | No | Yes | Yes, through the delegate |
| Needed a hard fork | No | No, it is a contract standard | Yes, Pectra in May 2025 |
| Can be switched off | Nothing to switch off | No, the address is the contract | Yes, delegate to the zero address |
| Move funds to start | No | Yes, to the new address | No |
The practical difference: ERC-4337 asks you to move to a new account, while EIP-7702 upgrades the one you already have, history and all. That convenience is also why a bad delegation is so costly.
The security section of the EIP-7702 specification is blunt: a poorly written or malicious delegate can give an attacker near complete control of your account. The signature that sets a delegation is one of the most powerful things you can sign, stronger than any single token approval.
Real attacks arrived quickly:
- Sweepers. Within weeks of launch, researchers at Wintermute reported that more than 80 percent of EIP-7702 delegations pointed to copy-pasted versions of the same sweeper code. Attackers holding already leaked private keys used them to forward incoming ETH straight to themselves.
- Disguised batches. Security firms documented victims who signed what looked like a routine swap but was a batch that also granted approvals or moved tokens, the newest entry in the playbook of wallet drainers.
- Fake upgrade prompts. Every Ethereum upgrade brings messages urging people to "upgrade" their ETH, and ethereum.org's Pectra page warns that anyone saying so is trying to scam you. A delegation request fits that script neatly.
The sweeper story carries a lesson. Once a key has leaked, a delegation cannot protect it. The fix is the same as ever: a new wallet with a new recovery phrase.
- Accept delegations only from your wallet's own settings. The EIP says apps must not expect to suggest that you sign an authorization and that wallets should not provide an interface to do so, and ethereum.org's EIP-7702 guide says dApps should not expect to request them directly. A site or message asking for one is a red flag.
- Know which contract you are delegating to. The confirmation should name it clearly. If it does not, reject.
- Read every batch line by line. One confirmation can now cover several actions. Reject it if you see an approval, transfer or recipient you did not expect.
- Be careful with chain ID 0. It applies a delegation on every EVM chain at once, so a bad delegate becomes a problem everywhere.
- Check your address now and then. Etherscan labels an address page with the contract it is delegated to and lists authorizations under an Authorization List tab. An entry you do not recognize means act now.
- When in doubt, move out. Clearing a delegation takes a transaction. If your key or phrase may be exposed, skip the cleanup and move your funds to a wallet with a new recovery phrase.
You do not need to do anything because of EIP-7702. A standard address works exactly as before, and a delegation only exists if you sign one.
The habits that protect a plain address, covered in our guide to signing crypto transactions safely, protect a smart account too. Terra Wallet opens a review sheet for every connection, signature and transaction, warns about unlimited approvals, spending signatures such as permits and transactions likely to fail, and disables the risky eth_sign method. In the Android app, Settings, Token approvals lists your ERC-20 approvals so you can revoke the ones you no longer use.
Read how Terra Wallet protects your keys and signatures, the FAQ on signing and token approvals and, if you build dApps, the developer page with supported request methods. Batching matters most for swaps, which our guide to DEX aggregators, slippage and price impact explains, and Ethereum gas fees explained shows what sponsored gas replaces.
It lets a normal Ethereum address borrow the code of a smart contract. The address and private key stay the same, but the account can batch actions, use sponsored gas or add limited signers until the delegation is changed or cleared.
No. EIP-7702 is opt-in, and ETH holders did not need to do anything when Pectra went live. Anyone telling you to upgrade or migrate your ETH is running a scam.
Sign a new delegation to the zero address, which clears the code from your account. It is an on-chain transaction, so it costs a network fee and your wallet has to support it. If your key may be exposed, move your funds to a new wallet instead.
Sources
- eips.ethereum.org: EIP-7702 (opens in a new tab)
- ethereum.org: Pectra 7702 (opens in a new tab)
- ethereum.org: Pectra (opens in a new tab)
- blog.ethereum.org: Pectra mainnet (opens in a new tab)
- ethereum.org: Ethereum forks (opens in a new tab)
- eips.ethereum.org: EIP-7951 (opens in a new tab)
- blog.ethereum.org: Fusaka mainnet announcement (opens in a new tab)
- theblock.co: Ethereum developers deploy entrypoint to let wallets operate… (opens in a new tab)
- theblock.co: Wintermute warns Pectra upgrade leaves Ethereum users… (opens in a new tab)
- cointelegraph.com: Wintermute crimeenjoyor flags malicious Ethereum contracts (opens in a new tab)
- cryptoslate.com: Crypto investor loses 1m in Uniswap scam exploiting… (opens in a new tab)
- info.etherscan.com: What you need to know about EIP-7702 smart… (opens in a new tab)
- news.bitcoin.com: Etherscan unveils EIP-7702 tracking as Ethereum's Pectra… (opens in a new tab)
- theblock.co: Ethereum Pectra upgrade (opens in a new tab)


