Glossary

ERC-4337 (Account Abstraction)

ERC-4337 is the Ethereum standard that enables account abstraction through smart contract wallets without changing the consensus layer.

Key Takeaways

  • ERC-4337 introduces account abstraction to Ethereum without requiring a hard fork: it uses a parallel mempool of UserOperations processed by bundlers and verified by a singleton EntryPoint contract.
  • The standard enables smart contract wallets with features impossible for traditional EOAs: social recovery, session keys, multi-signature authorization, and gasless transactions through paymasters.
  • Since its deployment in March 2023, ERC-4337 has powered over 40 million smart accounts across Ethereum and its Layer 2 networks, with cumulative UserOperations exceeding one billion.

What Is ERC-4337?

ERC-4337 is an Ethereum standard that brings account abstraction to the network without modifying the consensus layer or requiring a hard fork. It replaces the rigid externally owned account (EOA) model, where every transaction must originate from a single private key, with a flexible system where smart contracts serve as user accounts.

The core problem ERC-4337 solves is that Ethereum's original design ties every action to a single cryptographic key. Lose that key and you lose everything. Want multiple signers? You need a separate multisig contract. Want someone else to pay your gas fees? Not possible with a standard EOA. ERC-4337 moves authentication and fee payment logic into programmable smart contracts, making wallets as flexible as any other application.

The standard was co-authored by Vitalik Buterin, Yoav Weiss, Dror Tirosh, Shahaf Nacson, Alex Forshtat, and others. The canonical EntryPoint contract was deployed on Ethereum mainnet in March 2023, with EntryPoint v0.7 following as an updated version that packs gas parameters more efficiently.

How It Works

ERC-4337 creates a parallel transaction pipeline alongside Ethereum's standard transaction mempool. Instead of broadcasting signed transactions directly, users submit UserOperations to a separate mempool where specialized nodes called bundlers collect, validate, and package them into regular Ethereum transactions.

UserOperation

A UserOperation is a data structure that describes what a user wants to do. It is not a transaction in the traditional Ethereum sense: it carries the user's intent and gets wrapped into a real transaction by a bundler. The key fields in the v0.7 PackedUserOperation struct include:

struct PackedUserOperation {
    address sender;           // The smart account address
    uint256 nonce;            // Anti-replay nonce
    bytes initCode;           // Factory address + data (for first-time deployment)
    bytes callData;           // The action to execute
    bytes32 accountGasLimits; // Packed verification + call gas limits
    uint256 preVerificationGas; // Gas to compensate the bundler
    bytes32 gasFees;          // Packed maxFeePerGas + maxPriorityFeePerGas
    bytes paymasterAndData;   // Paymaster address + validation/post-op data
    bytes signature;          // Account-specific signature
}

The initCode field enables counterfactual deployment: a smart account can be created on-chain the first time a user sends a UserOperation, so users get a deterministic address before the account contract even exists.

Bundlers

Bundlers are nodes that monitor the UserOperation mempool, simulate each operation to verify it will pay for itself, and package valid operations into standard Ethereum transactions submitted to the EntryPoint contract. They serve a role analogous to block builders but operate at the application layer rather than the consensus layer.

Bundlers earn fees from the preVerificationGas paid by each UserOperation. They must simulate operations under strict rules (defined in EIP-7562) to avoid denial-of-service attacks where malicious UserOperations pass validation but fail during execution, wasting the bundler's gas.

EntryPoint Contract

The EntryPoint is a singleton contract deployed at a deterministic address across all EVM-compatible chains. It serves as the central coordinator for the entire ERC-4337 system. When a bundler submits a bundle of UserOperations, the EntryPoint:

  1. Calls each smart account's validateUserOp() function to verify the signature and check the nonce
  2. If a paymaster is specified, calls its validatePaymasterUserOp() function
  3. Executes the callData on the smart account
  4. Runs the paymaster's postOp() for final accounting
  5. Refunds unused gas to the account or paymaster

The validation and execution phases are separated deliberately. Validation runs under restricted conditions (limited opcodes, storage access rules) so bundlers can safely simulate it off-chain. Execution runs without these restrictions.

Paymasters

Paymasters are smart contracts that sponsor gas fees on behalf of users. When a UserOperation includes a paymaster address in its paymasterAndData field, the EntryPoint charges the paymaster's prefunded deposit instead of the user's account. This enables several patterns:

  • Application-sponsored transactions: dApps cover gas costs to onboard new users without requiring them to hold ETH
  • ERC-20 gas payment: paymasters accept stablecoins or other tokens as gas payment, swapping them for ETH behind the scenes
  • Subscription models: developers set per-user limits, contract allowlists, and global spend caps through paymaster policies

Aggregators

Aggregators are an optional component that validates signatures for multiple UserOperations in a single on-chain call. For signature schemes like BLS that support aggregation, this reduces gas costs by verifying one combined signature instead of many individual ones.

EOA vs. Smart Account Model

Traditional Ethereum accounts (EOAs) are controlled by a single private key. This creates several limitations that ERC-4337 smart accounts resolve:

FeatureEOAERC-4337 Smart Account
Signature schemeECDSA onlyAny (passkeys, multisig, BLS)
Key recoverySeed phrase onlySocial recovery, guardians
Gas paymentMust hold ETHPaymaster sponsorship or ERC-20
Transaction batchingOne call per transactionMultiple calls in one UserOp
Spending limitsNot possibleProgrammable policies
Session keysNot possibleScoped, time-limited access

For a deeper comparison and how smart wallet session keys enable new payment flows, see the research article on smart wallet session key payments.

Relationship with EIP-7702

EIP-7702, introduced in Ethereum's Pectra upgrade in May 2025, takes a different approach to account abstraction. Instead of creating new smart contract accounts, it lets existing EOAs temporarily delegate their execution to a smart contract via a new transaction type. This means existing wallets can gain smart account features without migrating to a new address.

The two standards are complementary rather than competing. EIP-7702 can transform an EOA into a smart account that then interacts with ERC-4337 infrastructure: bundlers, paymasters, and the EntryPoint contract. Many production wallets use ERC-4337 for new accounts and EIP-7702 for upgrading existing EOAs. For more details on how these standards interact, see the research on EIP-7702 code delegation wallets.

Use Cases

Gasless Onboarding

New users can interact with dApps without first acquiring ETH. Applications deploy a paymaster that sponsors gas for initial transactions, removing one of the biggest friction points in crypto adoption. The user signs a UserOperation, the paymaster covers the cost, and the user never sees a gas prompt. For a detailed walkthrough, see the research on gasless paymaster transaction design.

Social Recovery Wallets

Smart accounts can implement social recovery, where a set of trusted guardians can authorize key rotation if a user loses their primary key. This eliminates the single point of failure inherent in seed phrases while keeping the wallet self-custodial.

Session Keys and Delegated Access

Session keys allow applications to execute transactions on a user's behalf within scoped permissions: limited time windows, specific contracts, or capped spending amounts. Gaming applications use session keys so players can take in-game actions without approving each transaction individually.

Passkey Authentication

Because ERC-4337 smart accounts support arbitrary signature schemes, they can use WebAuthn passkeys (fingerprint or face recognition) instead of private keys for transaction signing. This bridges the gap between traditional app authentication and blockchain wallets.

Multi-Chain Deployment

The EntryPoint's deterministic deployment via CREATE2 means the same contract address works across Ethereum mainnet and all major Layer 2 networks. Wallet infrastructure built on ERC-4337 can target multiple chains without chain-specific modifications.

Adoption

Since deployment in March 2023, ERC-4337 has seen rapid adoption. According to data aggregated by BundleBear and industry trackers, the ecosystem has crossed 40 million smart accounts across Ethereum and its Layer 2 networks, with cumulative UserOperations exceeding one billion across all chains. Major implementations include:

  • Safe added ERC-4337 support through a dedicated module, bringing account abstraction to its widely deployed multisig infrastructure
  • Coinbase Smart Wallet launched as a native ERC-4337 wallet with passkey authentication and paymaster-sponsored transactions on Base
  • Infrastructure providers like Alchemy, Pimlico, Biconomy, and ZeroDev offer bundler and paymaster APIs as managed services
  • The Pectra upgrade in May 2025 brought EIP-7702, which expanded the addressable market by allowing existing EOAs to interact with ERC-4337 infrastructure

Risks and Considerations

Smart Contract Risk

Every ERC-4337 smart account is a smart contract, and smart contracts can contain bugs. A vulnerability in a wallet's validateUserOp() implementation could allow unauthorized access. Unlike EOAs, where security depends solely on key management, smart account security depends on the correctness of deployed code.

Bundler Centralization

The bundler market is currently dominated by a small number of infrastructure providers. If bundlers collude or censor UserOperations, users could face delays or censorship. The permissionless design means anyone can run a bundler, but the economic incentives have not yet produced a highly decentralized bundler set.

Paymaster Trust

While paymasters improve UX, they introduce a trust relationship. A paymaster can refuse to sponsor transactions, potentially censoring specific users. Applications that rely on a single paymaster provider create a dependency on that provider's continued operation and policies.

Gas Overhead

ERC-4337 transactions cost more gas than equivalent EOA transactions because of the additional contract calls during validation and execution. The EntryPoint, smart account validation, and optional paymaster verification all consume gas. For simple token transfers, this overhead can be significant relative to the base cost.

Complexity

Building correct ERC-4337 implementations is non-trivial. The validation rules, storage restrictions, and paymaster interactions create a large surface area for bugs. Security auditors have documented subtle vulnerabilities in real paymaster deployments, particularly around reentrancy and gas accounting edge cases.

Why It Matters

ERC-4337 represents a fundamental shift in how users interact with Ethereum and EVM-compatible chains. By moving authentication and fee logic into programmable contracts, it eliminates the rigid constraints that have made crypto wallets intimidating for mainstream users. Features that traditional finance takes for granted, such as spending limits, delegated access, and account recovery, become native to on-chain wallets.

For the broader blockchain ecosystem, the pattern matters beyond Ethereum. Bitcoin Layer 2 solutions like Spark pursue similar goals through different mechanisms: Spark uses FROST threshold signatures and statechains to provide flexible key management and self-custodial wallets without smart contract complexity. While the technical approaches differ, the underlying goal is the same: making wallets programmable, recoverable, and accessible to everyone.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.