Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Account Abstraction (ERC-4337)

An Ethereum standard that allows smart contract logic to manage user accounts, enabling features like gasless transactions, batch operations, and custom security rules.
Chainscore © 2026
definition
BLOCKCHAIN INFRASTRUCTURE

What is Account Abstraction (ERC-4337)?

Account Abstraction, as defined by the ERC-4337 standard, is a paradigm shift that transforms how users interact with the Ethereum blockchain by decoupling transaction execution logic from the core protocol and enabling smart contract wallets.

Account Abstraction (ERC-4337) is an Ethereum standard that enables smart contracts to function as primary user accounts, removing the rigid distinction between Externally Owned Accounts (EOAs) and contract accounts. This allows wallets to be programmable, meaning they can implement custom logic for transaction validation, security features like social recovery, and payment of gas fees in tokens other than ETH. The core innovation is the introduction of a new mempool for user operations and a singleton EntryPoint contract that bundles and validates these operations, all without requiring any consensus-layer changes to the Ethereum protocol.

The architecture revolves around several key components. A UserOperation is a pseudo-transaction object representing a user's intent. A Bundler collects these operations, simulates their validity, and submits them to the EntryPoint. Paymasters are smart contracts that can sponsor transaction fees, enabling gasless experiences or payment in ERC-20 tokens. Finally, the Smart Contract Wallet itself contains the signature verification and execution logic, enabling features impossible for EOAs, such as batch transactions, session keys, and spending limits.

This unlocks transformative user experiences and security models. Developers can create wallets with social recovery, where lost private keys can be restored via trusted guardians. Users can approve complex, multi-step DeFi transactions as a single atomic bundle. Applications can sponsor gas fees for their users through paymasters, drastically reducing onboarding friction. Furthermore, it enables advanced cryptographic schemes like multi-signature and threshold signatures to become the default, moving beyond the single-point-of-failure model of a private key.

The implementation and adoption of ERC-4337 are facilitated by a higher-level infrastructure layer. Wallets like Safe (formerly Gnosis Safe) and Stackup, along with bundler services, provide the necessary tools for developers. This standard is considered a critical step toward mass adoption, as it abstracts away blockchain complexities—such as seed phrases, native gas tokens, and non-atomic transactions—making Web3 interactions more akin to familiar Web2 experiences without compromising user custody or security.

how-it-works
MECHANISM

How Does ERC-4337 Work?

ERC-4337 is an Ethereum standard that enables account abstraction without requiring changes to the core protocol by introducing a new transaction flow and a set of smart contracts.

ERC-4337 works by introducing a new transaction object called a UserOperation. Instead of a standard transaction signed by an Externally Owned Account (EOA), a user's intent is bundled into a UserOperation and sent to a decentralized network of nodes called bundlers. These bundlers are responsible for collecting UserOperations, simulating their validity, and submitting them to a new singleton contract called the EntryPoint. The EntryPoint acts as the central orchestrator, validating the operation and executing it through the user's smart contract wallet.

The core innovation is the separation of concerns. The user's smart contract wallet, which can implement any custom logic, holds the assets and defines the validation rules (e.g., multi-signature, social recovery, session keys). The bundler provides the computational resources and pays the gas fee in ETH on-chain, while the EntryPoint ensures the standard's rules are enforced. This allows users to pay fees in ERC-20 tokens via a paymaster, another smart contract that can sponsor gas or accept alternative payment methods, abstracting away the need for the wallet to hold native ETH.

A critical component is the signature aggregation. ERC-4337 allows multiple UserOperations to be bundled into a single transaction, significantly reducing gas costs per operation. Furthermore, the standard enables atomic multi-operations, where a sequence of actions across different contracts can be executed as a single unit, either all succeeding or all reverting. This facilitates complex, gas-efficient DeFi interactions directly from a smart contract wallet.

The security model relies on simulation. Before including a UserOperation, a bundler must locally simulate its execution using the eth_call RPC method against the EntryPoint. This simulation verifies that the operation will pay sufficient fees and that the user's signature is valid, protecting bundlers from being exploited for gas. The EntryPoint contract itself is heavily audited and serves as a trust-minimized, immutable rulebook for the entire system.

In practice, a user interacts with a dApp through a wallet interface supporting ERC-4337. The dApp generates a UserOperation, which is signed by the user's smart contract wallet using its custom logic. This operation is broadcast, picked up by a bundler, validated by the EntryPoint, and the resulting transaction is included in a block. The entire process creates a seamless user experience comparable to web2, with features like gas sponsorship, batch transactions, and enhanced security models, all while remaining fully decentralized and compatible with existing Ethereum infrastructure.

key-features
ERC-4337

Key Features & Capabilities

Account Abstraction, as defined by ERC-4337, transforms externally-owned accounts (EOAs) into smart contract wallets, enabling advanced user-centric features without requiring core Ethereum protocol changes.

01

Smart Contract Wallets

The core innovation is the UserOperation, a pseudo-transaction object that represents a user's intent. These are bundled by Bundlers and executed by a singleton EntryPoint contract, which validates and pays for gas. This decouples transaction execution from the traditional EOA model, enabling wallets with programmable logic.

02

Gas Abstraction & Sponsorship

Enables gasless transactions for users. A Paymaster contract can sponsor transaction fees, allowing dApps to cover costs or users to pay with ERC-20 tokens instead of native ETH. This removes a major UX hurdle and enables novel subscription or freemium models.

  • Sponsored Transactions: DApp pays for user gas.
  • ERC-20 Gas: Pay fees with USDC or other tokens.
03

Session Keys & Automation

Allows users to grant limited permissions for specific actions, enabling seamless interactions. Session keys can be programmed to approve transactions meeting certain criteria (e.g., up to a specific amount, for a specific dApp, within a time window), enabling features like:

  • Batch Transactions: Multiple actions in one click.
  • Automated Recurring Payments: Subscriptions without repeated signing.
04

Social Recovery & Security

Moves security from a single private key to customizable logic. Users can set up guardians (trusted devices or contacts) to recover account access if a signer is lost. Security policies can include:

  • Multi-signature schemes for high-value transactions.
  • Transaction limits and spend controls.
  • Time-delayed approvals for critical actions.
05

Signature Abstraction

Supports any signature verification logic, moving beyond ECDSA. Wallets can implement:

  • Multi-factor authentication (e.g., 2FA with a hardware key).
  • Biometric signatures from mobile devices.
  • Quantum-resistant signatures for future-proofing.
  • Social login patterns using Web2 credentials via decentralized identifiers (DIDs).
06

Bundlers & the P2P Network

ERC-4337 introduces a new actor, the Bundler. Bundlers listen for UserOperations in a peer-to-peer mempool, bundle them into a single transaction, and submit them to the EntryPoint. They earn fees for this service, creating a decentralized network for relaying abstracted account transactions, independent of traditional block builders.

ecosystem-usage
ACCOUNT ABSTRACTION (ERC-4337)

Ecosystem Implementation & Wallets

ERC-4337 is an Ethereum standard that introduces a new transaction flow, enabling smart contract wallets with features like social recovery, gas sponsorship, and batched operations without requiring changes to the core protocol.

01

EntryPoint Contract

The central singleton contract that orchestrates the ERC-4337 transaction flow. It validates and executes UserOperations (UserOps) submitted by Bundlers. Its key functions include:

  • HandleOps: The main entry point for processing batches of UserOps.
  • Simulation: Validates UserOps against rules to prevent abuse before inclusion.
  • Paymaster Interaction: Manages gas payment logic, including sponsorship.
02

UserOperation (UserOp)

A pseudo-transaction object representing a user's intent in ERC-4337. Unlike a standard EOA-signed transaction, a UserOp is sent to a mempool and contains fields for:

  • Sender: The smart contract wallet address.
  • Nonce: Prevents replay attacks.
  • InitCode: For deploying a new wallet contract if it doesn't exist (first transaction).
  • CallData: The encoded actions the wallet should execute.
  • Paymaster Data: Information for gas payment sponsorship.
03

Bundler

A network participant (often a node operator) that collects UserOperations from a mempool, packages them into a bundle, and submits them as a standard blockchain transaction to the EntryPoint. Bundlers are incentivized by transaction fees and are critical for the system's decentralization and censorship resistance.

04

Paymaster

A smart contract that can sponsor gas fees for users, enabling key use cases like:

  • Gasless Transactions: Users sign UserOps, but the Paymaster pays the network fees.
  • Fee Abstraction: Paying fees in ERC-20 tokens instead of the network's native token (e.g., ETH).
  • Sponsored Sessions: Allowing a dapp to cover user fees for a period. The Paymaster validates each request and is reimbursed by the sponsoring entity.
05

Smart Contract Wallet

The user's account, now a programmable contract instead of an Externally Owned Account (EOA). It must comply with the IAccount interface, enabling features impossible for EOAs:

  • Social Recovery: Define guardians to recover access if keys are lost.
  • Transaction Batching: Execute multiple actions in a single UserOp.
  • Spending Limits & Security Rules: Implement custom logic for transaction approval.
  • Signature Abstraction: Support any verification logic (e.g., multi-sig, passkeys).
06

Aggregator

An optional component that optimizes gas costs for wallets using complex signature schemes. Instead of verifying each signature individually on-chain, the Aggregator:

  • Collects multiple UserOps from the same wallet.
  • Generates a single, aggregated proof of validity for the batch.
  • Submits this proof to the wallet contract for verification, significantly reducing gas overhead for operations like multi-signature approvals.
ACCOUNT ABSTRACTION COMPARISON

ERC-4337 vs. Traditional EOA

A technical comparison between ERC-4337 Smart Accounts and Traditional Externally Owned Accounts (EOAs).

FeatureTraditional EOAERC-4337 Smart Account

Account Type

Externally Owned Account

Smart Contract Account

Signature Scheme

ECDSA (secp256k1)

Any (ECDSA, BLS, MPC, etc.)

Transaction Sponsorship

Batch Transactions

Session Keys / Automation

Gas Payment Token

Native ETH only

Any ERC-20 token

Social Recovery

Deployment Cost

0 (pre-deployed)

~200k-400k gas (first use)

examples
ERC-4337

Primary Use Cases

ERC-4337 enables smart contract wallets with programmable logic, moving beyond the limitations of Externally Owned Accounts (EOAs). These are its core applications.

02

Gas Abstraction & Sponsored Transactions

Allows gas sponsorship, where a third party (a dapp or service) can pay transaction fees on behalf of the user. This enables:

  • Paymaster contracts to cover fees in stablecoins or ERC-20 tokens.
  • Applications to offer gasless transactions for a seamless onboarding experience.
  • Enterprises to create predictable billing models for user interactions.
03

Batch & Automated Transactions

Enables UserOperations to bundle multiple actions into a single atomic transaction. This allows for complex, multi-step interactions executed as one unit, improving UX and efficiency. Common patterns include:

  • Atomic swaps with approval and transfer in one step.
  • Automated DCA (Dollar-Cost Averaging) strategies executed by the wallet itself.
  • Batch approvals for interacting with new dapps.
04

Enhanced Security & Transaction Policies

Smart contract wallets can enforce custom security rules and spending limits programmatically. This includes:

  • Setting daily transfer limits.
  • Whitelisting or blacklisting specific addresses.
  • Requiring time-delays or additional confirmations for large transfers.
  • Integrating with decentralized identity attestations for compliance (e.g., proof-of-personhood).
05

Improved Onboarding & Session Management

Removes the initial friction of seed phrases and gas fees. Users can create a smart contract wallet using familiar Web2 methods (email, social login) with a signature-based deployer. Session keys allow users to grant temporary, limited permissions to dapps (e.g., the right to trade up to 1 ETH for 24 hours), enhancing security and convenience.

06

Subscription & Recurring Payments

Enables native, trust-minimized subscription models on-chain. A smart account can be programmed to automatically approve and execute recurring transfers (e.g., for SaaS, streaming, or loan repayments) without requiring the user to sign a new transaction each period. This is facilitated by the wallet's programmable validation logic.

ACCOUNT ABSTRACTION

Technical Deep Dive

Account Abstraction, standardized by ERC-4337, fundamentally redefines user interaction with Ethereum by decoupling the concepts of ownership and transaction execution. This section explores its core mechanisms, components, and implications.

Account Abstraction is a design paradigm that separates the logic of transaction validation from the core Ethereum protocol, enabling smart contract wallets to function as primary accounts. It works by introducing a higher-layer mempool for UserOperations, which are bundled by Bundlers and executed through a singleton EntryPoint contract that validates and pays for gas on behalf of the user's smart contract wallet, or account. This allows for features like social recovery, gas sponsorship, and session keys without requiring changes to the Ethereum consensus layer.

Key Flow:

  1. A user's wallet (smart account) creates a UserOperation.
  2. A Bundler packages it with others into a transaction.
  3. The Bundler sends this to the EntryPoint contract.
  4. The EntryPoint validates the user's signature and pays the gas.
  5. The user's intended actions are executed on-chain.
security-considerations
ACCOUNT ABSTRACTION

Security Model & Considerations

ERC-4337 introduces new security paradigms by decoupling transaction validation from the core protocol. This shift creates distinct trust models and attack surfaces for UserOperations, Bundlers, Paymasters, and Aggregators.

01

UserOperation & EntryPoint

The core security contract is the EntryPoint, a singleton that validates and executes UserOperations. Its deterministic behavior is critical; all wallets and bundlers must use the same, audited version. Security relies on the EntryPoint correctly enforcing:

  • Signature validation via the wallet's validateUserOp.
  • Nonce uniqueness to prevent replay attacks.
  • Gas accounting and refund logic to prevent economic attacks.
02

Bundler Incentives & Risks

Bundlers are actors who package UserOperations into on-chain transactions. Their security role is economic: they pay gas upfront and are reimbursed by the EntryPoint. Key risks include:

  • Stochastic denial-of-service: A malicious UserOperation that appears valid but reverts during execution, costing the bundler gas.
  • Mempool censorship: Bundlers can filter or reorder operations.
  • Solution: Bundlers run simulation (eth_call) via the eth_sendUserOperation RPC to validate opcode-level behavior before inclusion.
03

Paymaster Trust Assumptions

Paymasters sponsor transaction fees, enabling gasless UX. This introduces significant trust:

  • Users trust the paymaster not to censor or manipulate their transactions.
  • Paymasters risk financial loss if their validation logic is exploited.
  • Common models: Verifying a EIP-712 signature for whitelisted users, or checking a merkle proof for a subscription. A malicious paymaster could drain its own deposit held in the EntryPoint via flawed validation.
04

Signature Aggregator Complexity

Aggregators compress multiple signatures (e.g., from a multisig) into one on-chain verification, saving gas. This adds cryptographic complexity:

  • Implementation risk: Custom BLS or secp256r1 verifiers must be bug-free.
  • Non-standard crypto: May require secure off-chain coordination.
  • If the aggregator is malicious or faulty, it could produce a valid aggregate for unauthorized operations, bypassing individual signer checks.
05

Wallet Implementation Pitfalls

Smart contract wallets have flexible security logic, which is a double-edged sword. Common vulnerabilities in validateUserOp include:

  • Reentrancy into the EntryPoint.
  • Incorrect gas management, leading to out-of-gas reverts that harm bundlers.
  • Weak signature schemes or improper nonce handling.
  • Upgradability risks: A malicious wallet upgrade could steal funds or break compatibility. Audits and formal verification are essential.
ACCOUNT ABSTRACTION

Common Misconceptions

Account Abstraction, primarily implemented via ERC-4337, is a major evolution in how user accounts operate on Ethereum. However, its technical nature has led to widespread misunderstandings about its capabilities, limitations, and relationship to existing wallet technology.

No, Account Abstraction is a design paradigm, while a smart contract wallet is one possible implementation. Account Abstraction (AA) is the concept of decoupling transaction validation and execution logic from the core protocol, allowing for programmable account behavior. ERC-4337 is a standard that implements this paradigm without requiring changes to Ethereum's consensus layer. A smart contract wallet is a specific application built using this standard. Prior to ERC-4337, projects like Gnosis Safe created proprietary smart contract wallets, but they lacked a unified standard for interoperability and required custom infrastructure for features like gas sponsorship.

ACCOUNT ABSTRACTION

Frequently Asked Questions

Essential questions and answers about ERC-4337, the standard enabling smart contract wallets and a new user experience paradigm for Ethereum.

Account Abstraction, as defined by ERC-4337, is a standard that transforms any smart contract into a fully functional, self-custodial wallet by decoupling the logic of transaction validation from the core Ethereum protocol. It introduces a new transaction flow centered on a UserOperation object, which is bundled and executed by a decentralized network of Bundlers and paid for by Paymasters. This allows for features like gas sponsorship, social recovery, session keys, and batch transactions without requiring changes to the Ethereum consensus layer. The standard's key innovation is the EntryPoint contract, which acts as a single, trusted verifier for all abstracted account transactions, ensuring security and interoperability across the ecosystem.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Account Abstraction (ERC-4337) | Chainscore Glossary | ChainScore Glossary