Introduction
Ethereum Improvement Proposal 4337 (EIP-4337) introduces account abstraction — a set of protocol-level interfaces that bridges Web2 user experiences (like multi-factor authentication) with Web3-native solutions (such as gasless transactions). Designed as the onboarding ramp for the next billion users, account abstraction prioritizes user experience above all.
While existing articles explain account abstraction well, most lean either toward科普or deep technical dives. This article merges both: delivering a thorough technical breakdown while analyzing real-world applications and infrastructure case studies.
Article Structure
- Technical Deep Dive: Origins and mechanics of EIP-4337, covering UserOperations, Bundlers, Entry Point Contracts, Paymasters, Wallet Factories, and Signature Aggregators.
- Market Landscape: Analysis of smart contract wallets and third-party infrastructure providers.
- Future Outlook: Innovations and predictions for account abstraction.
For readers focused on use cases, jump to Part 2.
Part 1: EIP-4337 Technical Breakdown
Ethereum Account Types
Ethereum has two account types:
- EOAs (Externally Owned Accounts): User-controlled via private keys. Limitations include poor UX (seed phrases, no social logins) and inflexibility for multisig or complex logic.
- Contract Accounts: Host arbitrary Solidity code but can’t initiate transactions without EOAs.
EIP-4337 standardizes smart contract wallet functionalities via six key interfaces:
1. UserOperations
A new transaction type with extended parameters:
sender: Smart contract wallet address.paymasterAndData: Enables gas abstraction (e.g., ERC-20 gas payments).initCode: Deploys new wallets via Wallet Factories.
2. Bundlers
EOAs that batch and execute UserOperations, earning fees via:
- Gas price differentials.
- MEV from transaction ordering.
3. Entry Point Contract
A global singleton that:
- Standardizes execution.
- Prevents DoS attacks via deposit requirements.
4. Paymasters
Gas abstraction logic:
validatePaymasterOp: Checks eligibility (e.g., sufficient ERC-20 balance).postOp: Reverts if payments fail post-execution.
5. Wallet Factories
Deploy smart contract wallets with:
- Deterministic addresses via
CREATE2. - Customizable parameters (e.g., guardian setups).
6. Signature Aggregators
Optimize gas by aggregating signatures (e.g., BLS).
Workflow Summary
- User submits UserOperation.
- Bundler validates (off-chain) and executes (on-chain) via Entry Point.
- Paymaster handles gas (optional).
- Wallet Factory deploys new wallets (if
initCodeprovided).
Part 2: Market Landscape
Smart Contract Wallets
Key Features:
- Social Recovery: Guardians (Google, email, multisig) enable login/recovery.
Examples: Web3Auth (MPC), UniPass (DKIM email verification). - Gas Abstraction: Paymasters or relayers for gasless/ERC-20 transactions.
Examples: Biconomy (Paymaster + Relayer), Candide (stablecoin gas). - Batch Transactions: MultiCall contracts reduce costs (e.g., Argent).
- Modular Design: Upgradable modules for spend limits, automated payments.
Infrastructure Providers
- Bundlers: Stackup (private/public mempools), Blocknative (mempool analytics).
- Paymasters: Alchemy (waitlist), Stackup (Verification/Deposit types).
L2 Support:
- zkSync/Starknet: Native account abstraction.
- Optimism/Arbitrum: No official EIP-4337 plans yet.
Part 3: Future of Account Abstraction
Challenges & Innovations
- Adoption: Only ~150K smart contract wallets exist vs. 150M EOAs — 1000x growth potential.
Unresolved EIP-4337 Issues:
- Mempool design (public vs. private).
- MEV distribution between Bundlers/block builders.
Radical Ideas:
- Decoupling accounts from wallets (e.g., Hexlink’s EIP-6662 for Web2 logins).
Predictions
- Wallets: Competitive but low technical barriers.
- Bundlers: Vital public goods with monetization challenges.
- Market Stage: Early (low adoption, incomplete standards).
- Innovation Areas: Permissionless infrastructure, dApp SDKs, account-layer分离.
FAQs
Q: How does account abstraction improve UX?
A: Eliminates seed phrases, enables social logins, and allows gasless transactions.
Q: Can Paymasters use any token for gas?
A: Yes, but most currently support only stablecoins (e.g., USDC).
Q: Are Bundlers profitable?
A: Marginally — via gas diffs and MEV, but primarily serve as公共物品.