Smart accounts and account abstraction explained: ERC-4337 and EIP-7702
What account abstraction, ERC-4337 and EIP-7702 are, why testnets ask you to create or upgrade to a smart account, and the new risks: delegation phishing, batched transactions, sponsored gas and more code to trust.
By Testnetly Editorial8 min read

More and more testnets ask you to "create a smart account", "upgrade your wallet" or "try a gasless transaction". Behind those prompts are two standards, ERC-4337 and EIP-7702, and one idea called account abstraction. This post explains what they are, why projects want testers to use them, and which new risks come with them. It relies on ethereum.org and on the text of the two proposals.
Two kinds of account
Ethereum has always had two account types. Ethereum.org describes them (ethereum.org: accounts):
- Externally-owned account (EOA): "controlled by anyone with the private keys". This is the ordinary wallet account. Creating one costs nothing, and it can start transactions.
- Contract account: "a smart contract deployed to the network, controlled by code". Contract accounts "don't have private keys", and can only act in response to a transaction they receive.
The ordinary account is simple, and that simplicity is the weakness. Ethereum.org's account abstraction page lists the consequences: "If you lose your keys they can't be recovered", and "stolen keys give thieves instant access to all the funds in an account" (ethereum.org: account abstraction).
What account abstraction means
Account abstraction is the effort to let an account follow rules written in code. Ethereum.org says it lets users "flexibly program more security" and better experiences into their accounts. A smart account is an account that works this way. The same page lists what becomes possible:
- "define your own flexible security rules";
- "recover your account if you lose the keys";
- "share your account security across trusted devices or individuals";
- "pay someone else's gas, or have someone else pay yours";
- "batch transactions together (e.g., approve and execute a swap in one go)".
The last two are the ones you meet on testnets: a transaction whose fee somebody else pays, and several steps confirmed with one click.
ERC-4337: smart accounts without changing Ethereum
ERC-4337 is titled "Account Abstraction Using Alt Mempool". It was created in September 2021 and its status is Final (ERC-4337). Its abstract describes a design that "completely avoids the need for consensus-layer protocol changes".
The proposal defines a small cast:
- UserOperation: "a structure that describes a transaction to be sent on behalf of a user". A smart account does not send a normal transaction. It sends one of these.
- Bundler: a node that collects UserOperations and packages them into a real transaction.
- EntryPoint: a single contract that executes those bundles.
- Paymaster: "a helper contract that agrees to pay for the transaction, instead of the sender itself". This is the piece behind "gasless" transactions.
Our plain summary: in the classic ERC-4337 setup, your smart account is a contract with its own address, separate from the address of your ordinary wallet account. Tokens sent to one do not appear in the other.
EIP-7702: giving an ordinary account smart features
EIP-7702 takes the other route. Its title is "Set Code for EOAs", it was created in May 2024, and its status is Final (EIP-7702). The abstract says it adds "a new EIP-2718 transaction type that allows Externally Owned Accounts (EOAs) to set the code in their account". In plain words, your existing account signs an authorization that points it at a smart contract, and from then on the account behaves as that contract's code says. The account is said to delegate to the contract.
The proposal names three goals: batching several operations into one transaction, sponsorship (one account paying fees for another), and privilege de-escalation, which means handing out narrower keys with limited powers.
EIP-7702 went live with Ethereum's Pectra upgrade, activated on mainnet on 7 May 2025 at 10:05 UTC (ethereum.org: Pectra). Two properties matter to users:
- Your address stays the same. MetaMask, as one wallet example, describes its smart account feature as working "without migrating your funds or changing your address" (MetaMask: smart accounts).
- It can be undone. Under the proposal, delegating to the zero address clears the delegation. In MetaMask the feature is switched on and off per network, and each switch is a transaction that costs gas (MetaMask: switch or revert).
Why testnets ask you to try smart wallets
We see two common reasons; this is our explanation.
Some networks are built this way. Some layer 2 networks build account abstraction into the protocol. Starknet's docs say "Starknet facilitates account abstraction natively", with "smart contract accounts with arbitrary verification logic" used "instead of EOAs" (Starknet docs). ZKsync's docs describe native account abstraction in which accounts "can initiate transactions, like an EOA" and "can also have arbitrary logic implemented in them", with paymasters that "can sponsor transactions for users" (ZKsync docs). On Starknet, a task like "deploy your account" is simply how you get started. Our post on layer 2 rollups gives the background.
The moving parts need testing. Bundlers, paymasters and account contracts are extra components that can fail in new ways. A testnet is the place to find out, before real funds depend on them. A task such as "send a sponsored transaction" or "batch a swap" exercises exactly those parts.
Neither of these reasons involves a reward. A project asking you to test its smart wallet is asking for testing. Whether anything follows depends on its own published terms, as covered in incentivized vs non-incentivized testnets.
The new risks
Smart accounts remove some old dangers and add new ones. These are the ones a tester should know.
1. Delegating to the wrong contract. With EIP-7702, the contract you delegate to runs as your account. Ethereum.org's guidance says: "If a user unknowingly delegates their account to a malicious contract, an attacker could easily gain control and steal funds." The proposal itself says the code an account delegates to has unrestricted access to the account (ethereum.org: EIP-7702 guidelines).
2. A website asking you to "upgrade". The same guidance says dapps should not expect to request these authorizations directly. The wallet is supposed to manage them and show the target contract clearly. MetaMask's help page says you can only switch manually "directly within the wallet itself", and treats a message that asks you to upgrade as a scam attempt. If a site, a DM or a pop-up tells you to upgrade your account, close it.
3. Your seed phrase still controls everything. Ethereum.org is explicit: "The private key of the EOA retains full control over the account after the delegation." A smart account does not make a leaked seed phrase harmless. MetaMask says the same of its feature: you still need to keep your Secret Recovery Phrase safe. Never share a seed phrase or private key, and never type one into a website.
4. One click, many actions. Batching is convenient, and it also means a single confirmation can contain an approval, a transfer and more. Expand the details in your wallet and read each step. The cautions in airdrop scams and token approvals apply to every step inside a batch.
5. "Gasless" does not mean harmless. When a paymaster pays the fee, you lose the small pause that a gas cost creates. You are still signing, and the signature still does whatever it says.
6. More code to trust. ERC-4337 calls the EntryPoint a central trust point that "will need to be audited and formally verified". The account contract matters as much. Ethereum.org advises delegating only to an immutable contract and warns that with an upgradeable one, "You have to rely on an external team to not upgrade to an unsafe contract."
7. Testnet habits travel. Delegation is set per network, and the proposal also allows an authorization that is not limited to one chain. Do not assume that something you set up while testing stays on the testnet. This is one more reason to use a wallet you keep only for testing, as in setting up a separate wallet.
How to test smart accounts safely
- Use a separate testing wallet with nothing of value in it.
- Turn smart account features on only from inside the wallet's own settings, never from a link.
- Before you confirm a delegation, check which contract it names. If the wallet does not show one, do not sign.
- On a network with native smart accounts, follow the project's own docs to create and deploy the account.
- Read every step of a batched transaction.
- When you finish testing, switch the feature off on networks where you do not need it, and note that in your hunting log.
For terms you have not met before, see the testnet and airdrop glossary.
Sources
- Ethereum.org: Accounts
- Ethereum.org: Account abstraction
- ERC-4337: Account Abstraction Using Alt Mempool
- EIP-7702: Set Code for EOAs
- Ethereum.org: Pectra
- Ethereum.org: EIP-7702 guidelines
- MetaMask: What is a smart account?
- MetaMask: Switch to or revert from a smart account
- Starknet docs: Accounts
- ZKsync docs: Account abstraction
Last checked: 28 November 2026.
Not financial advice. Testnetly does not guarantee rewards.
About the author
Testnetly Editorial
Guides and explainers from the Testnetly team, checked against official project sources before publication.
Related posts
Airdrop basicsGovernance after an airdrop: token voting, delegation, proposals and quorum
What a governance token lets you do after an airdrop: why you often must delegate before you can vote, how proposals move from forum to on-chain vote, what quorum and timelocks mean, and how to vote safely.
Airdrop basicsZero-knowledge proofs for testnet hunters: provers, hardware and time costs
What a zero-knowledge proof, a prover and a verifier are, why "ZK" does not always mean private, why some networks ask outsiders to run provers, and what official docs say it costs in hardware, time and stake.
Airdrop basicsValidators, staking and delegation explained: slashing, unbonding, testnets
What a validator does, what staking and delegating mean, how slashing and unbonding work on Ethereum, the Cosmos Hub and Celestia, and why a staking task on a testnet puts nothing real at stake and promises nothing.