←
Previous Module
MEV Extraction Visualizer

🎭 Account Abstraction: Smart Wallets (ERC-4337)

Learn how wallets become programmable smart contracts

What is Account Abstraction?

**Account Abstraction** (ERC-4337) transforms Ethereum accounts from externally owned accounts (EOAs) into programmable smart contracts. Instead of relying on private keys and seed phrases, users get wallets with social recovery, gas sponsorship, batch transactions, and automationβ€”all without changing Ethereum's core protocol.

This paradigm shift makes Ethereum accessible to mainstream users by removing painful UX friction: no more seed phrases, no ETH required for gas, and built-in account recovery. It's the biggest upgrade to user experience since MetaMask.

πŸ”‘ The Problem with EOAs

❌
Lost Keys = Lost Funds
$140B+ locked in inaccessible wallets. No recovery mechanism.
❌
Must Hold ETH
Need ETH for every transaction, even if you only hold USDC.
❌
No Automation
Can't set spending limits, scheduled payments, or delegate permissions.
❌
Poor UX
Sign every transaction manually. No batch operations.

Interactive: EOA vs Account Abstraction

Compare traditional EOA accounts with modern Account Abstraction (ERC-4337) features.

Externally Owned Account

Traditional Ethereum accounts controlled by private keys

Features

Key ManagementManual
Gas PaymentMust hold ETH
RecoverySeed phrase only
PermissionsAll or nothing
AutomationNot possible

Limitations

  • β€’Lost key = lost funds forever
  • β€’Must hold ETH for gas fees
  • β€’No social recovery options
  • β€’No transaction automation

How Account Abstraction Works

1

Smart Contract Wallet

Your account is a smart contract, not just a key pair. Programmable logic for recovery, permissions, and automation.

2

UserOperation (Not Transaction)

Instead of transactions, submit UserOperations to a mempool. Bundlers aggregate them for efficiency.

3

Paymaster (Gas Sponsorship)

Third parties can pay gas fees for you, or accept ERC-20 tokens. No ETH required!

4

EntryPoint Contract

Singleton contract (0x5FF...000) validates and executes all UserOperations on-chain.

Real-World Adoption

2M+
Smart Wallets Deployed
Safe, Biconomy, Stackup
$50M+
Gas Sponsored
By paymasters
50+
Bundlers Active
Decentralized network