Technical definition
ERC-4337 is an Ethereum Improvement Proposal (EIP) that introduces a pseudo-transaction object called a 'UserOperation' to enable smart contract wallets to interact with the Ethereum network without requiring ETH for gas. It achieves this by bundling multiple operations into a single transaction processed by a separate 'Bundler' network, which then submits them to the blockchain via a singleton contract called the 'EntryPoint'. This design decouples the user's account logic from the gas payment mechanism, enabling features like fee abstraction, session keys, and multi-signature schemes without consensus-layer changes.
An analogy
Imagine a bank where you can pay for your coffee using any currency you want (USD, EUR, etc.) instead of being forced to use the bank's internal token. ERC-4337 lets your Ethereum wallet use any token to cover transaction fees, not just ETH.
Why it matters
It reduces friction for users by eliminating the need to hold ETH for gas, enables advanced wallet features without protocol changes, and improves security by allowing programmable account logic.
Where it came from
Proposed in September 2021 by Ethereum researchers including Vitalik Buterin and Yoav Weiss, ERC-4337 was officially published as EIP-4337 in January 2022. It was deployed on Ethereum mainnet in March 2023.
Example in practice
A user sets up a smart wallet that pays gas fees in USDC instead of ETH. When they send a transaction, the wallet bundles their operation with a fee payment in USDC, which is processed by a bundler and settled on-chain.
Common misconceptions
- ERC-4337 changes Ethereum's consensus layer → It operates entirely at the application layer without requiring changes to Ethereum's core protocol.
- ERC-4337 wallets are fully non-custodial by default → While they enable self-custody, users must still trust the bundler network to submit their transactions correctly.
Risks & limitations
- Centralization risks from bundlers: A small number of bundlers could control transaction processing, creating single points of failure or censorship.
- Complexity overhead: The additional layers (UserOperations, bundlers, paymasters) increase system complexity, potentially introducing bugs or security vulnerabilities.
- Gas estimation challenges: Bundlers must accurately estimate gas for UserOperations, which can lead to failed transactions or overpayment.
- Paymaster risks: Third-party paymasters could abscond with funds or implement malicious fee logic, exposing users to financial loss.