What Is ERC-4337?
What is ERC-4337? It is a standard for implementing account abstraction on Ethereum, titled "Account Abstraction Using Alt Mempool." It lets users replace ordinary accounts controlled directly by private keys with smart contract accounts that carry their own validation logic, without changing Ethereum's consensus layer. According to the Ethereum Improvement Proposals (EIP) website, ERC-4337 was created on September 29, 2021, has seven authors including Vitalik Buterin and Yoav Weiss, and currently has Final status.
What is ERC-4337? It is a standard for implementing account abstraction on Ethereum, titled “Account Abstraction Using Alt Mempool.” It lets users replace ordinary accounts controlled directly by private keys with smart contract accounts that carry their own validation logic, without changing Ethereum’s consensus layer. According to the Ethereum Improvement Proposals (EIP) website, ERC-4337 was created on September 29, 2021, has seven authors including Vitalik Buterin and Yoav Weiss, and currently has Final status.
What Problem Does ERC-4337 Solve?
The standard opens by explaining the background: historically, users could only send transactions from accounts controlled by private keys, and transaction validity was determined entirely by fixed protocol rules. Account abstraction instead lets each account validate transactions with its own smart contract code. According to the standard, introducing account abstraction has long been a goal of the Ethereum protocol, but none of the proposals discussed so far have been implemented at the protocol level. ERC-4337 takes a different approach, avoiding any consensus-layer changes and relying instead on higher-layer infrastructure.
The standard lists uses in three areas. Abstracting validation lets accounts use different signature schemes, multisig configurations, and custom recovery methods. Abstracting gas payment lets third parties pay fees for users, or lets users pay fees in ERC-20 tokens. Abstracting execution lets multiple operations be bundled into a single execution.
How Does ERC-4337 Work?
ERC-4337 does not add a new transaction type. Instead, it introduces a structure called a UserOperation that describes the action a user wants their smart contract account to take. Users send UserOperations to a dedicated mempool, where nodes called bundlers package multiple UserOperations into a single regular transaction that calls a contract named EntryPoint; that transaction is then included in a block.
EntryPoint processes each batch of UserOperations in two loops. The first is verification: it calls each account contract’s validateUserOp function to check the signature, and the account pays the required fee. Only the second loop is execution. How signatures are verified is not defined by the protocol but implemented by each account contract.
There are also three types of helper contracts. A factory deploys an account if it does not yet exist; by the standard’s design it is expected to use CREATE2, so users can compute their account address locally and start receiving funds right away. A paymaster can pay fees on the user’s behalf. An aggregator lets multiple UserOperations share a single validation.
How Is ERC-4337 Related to EIP-7702?
Both relate to account abstraction, and the current ERC-4337 standard lists EIP-7702 as a requirement. On networks where EIP-7702 is enabled, an ordinary private-key account that has completed an EIP-7702 authorization can also submit UserOperations as the sender; the UserOperation’s factory field uses a special 0x7702 flag to indicate this case.
The two start from different goals. ERC-4337 states in its motivation that one of its goals is to completely remove the need for users to have private-key accounts, whereas existing smart contract accounts and EIP-7702 both still require users to hold one. EIP-7702 and ERC-4337 also differ in implementation and use cases.
What Security Issues Should You Consider With ERC-4337?
The security section of the standard states that the EntryPoint contract is a central trust point for all of ERC-4337 and needs to be audited and formally verified. This concentrates security risk in EntryPoint and reduces what individual account contracts must check: mainly the “check signature and pay fees” logic in validateUserOp, and that other functions only accept calls from EntryPoint.
Another concern is denial-of-service attacks. Paymasters and factories are called by many UserOperations, so a maliciously crafted contract could invalidate many otherwise valid operations. The standard therefore has bundlers simulate validation before accepting a UserOperation and use a reputation system to throttle or temporarily ban contracts that cause many invalidations. Such contracts can stake to gain less restrictive limits, and the standard states that this stake is never slashed.
Conclusion
ERC-4337 is an account abstraction standard that does not modify Ethereum’s consensus layer. Through UserOperations, bundlers, and the EntryPoint contract, it lets smart contract accounts customize signature validation, have third parties pay fees, and batch operations; the current version also supports accounts with an EIP-7702 delegation. The standard designates the EntryPoint contract as a central trust point and specifies how bundlers defend against denial-of-service attacks. Safeheron’s MPC Wallet-as-a-Service provides businesses with MPC key management and a policy engine.
Is your business evaluating smart contract accounts or MPC wallets?
Looking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.
Request a DemoLooking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.