Skip to content

25. ERC-4337 in 7 Minutes

A short explainer (by Alchemy) on account abstraction via ERC-4337. Treat this as conceptual vocabulary: you should understand what problem it solves and name its moving parts, not implement it. It directly extends the Module 1 idea that an account can be code rather than just a key.

  • The problem it solves — a normal EOA has hard limits: one key controls everything, the user must hold ETH to pay gas, and there’s no way to add features like recovery or spending rules. Account abstraction makes the account itself programmable.
  • Smart accounts — with ERC-4337, a user’s account is a smart contract that can encode custom logic: multi-owner rules, social recovery, session keys, batched actions, and more. This is a generalization of the multisig idea from lesson 22.
  • UserOperation — instead of a normal transaction, a smart account expresses intent as a UserOperation object that describes what it wants to do.
  • The new roles — worth being able to name:
    • Bundlers collect UserOperations and submit them to the chain as real transactions.
    • EntryPoint is the singleton contract that validates and executes them.
    • Paymasters can sponsor gas, so a user can transact without holding ETH (or pay fees in another token) — a huge UX unlock.
  • Why it matters for UX — gasless onboarding, recovery if a key is lost, and batching approvals with actions all become possible. These remove the sharpest edges that scare mainstream users away.
  • No consensus change — ERC-4337 works entirely at the contract/mempool layer, which is why it could ship without altering Ethereum’s core protocol.
  • Confusing this with a protocol upgrade. ERC-4337 is a contract-layer standard, not a change to Ethereum consensus.
  • Thinking you must build a bundler or paymaster to benefit. As an app developer you typically use smart-account infrastructure, not build it.
  • Overreaching in this course — you’re expected to explain the roles and the UX benefits, not to implement a smart account.
  • What can a smart account do that a plain EOA cannot?
  • What is a paymaster, and what user-experience problem does it remove?
  • Name the three ERC-4337 roles: what submits operations, what validates them, and what can sponsor gas?

Module 4: L2, Indexing, Security & Web3 Identity.