What is Account Abstraction (ERC-4337)?
Account Abstraction (ERC-4337)
Account abstraction makes account authorization and execution programmable through ERC-4337 or EIP-7702; passkeys, recovery and gas sponsorship vary by build.
With account abstraction, the rules for who can authorize an account and how it executes become programmable. ERC-4337 sits on top of Ethereum consensus and adds UserOperations, bundlers, an EntryPoint contract and, if wanted, paymasters; no new third kind of protocol account is created. EIP-7702 adds a second route: an externally owned account (EOA) can hand its execution to contract code. The two can be combined, provided the chain, the account and the surrounding infrastructure all support the same setup.
Features such as passkeys, recovery, spending caps and sponsored fees come from whichever account implementation and services you pick; ERC-4337 by itself guarantees none of them. Under its own policy a paymaster may pick up the network fee, yet the fee is still paid by somebody. Plan for deposits, sponsorship budgets, abuse controls and the cost of failures from the start. Where the infrastructure boundary lies is set out in the ERC-4337 specification.
A hypothetical case: a payments app picks an account that supports passkeys, a sponsor capped at a fixed budget, and a recovery policy that includes a delay plus a way to cancel. Before telling users they can always recover or always transact, run the bad cases: a lost device, a compromised guardian, a sponsor deposit that has run dry, a bundler that is down. Gas comparisons should use the real calls, account code and chain; batching spreads work across operations but does not promise smaller fees.
Begin with a production checklist, and debug failing operations locally with a UserOperation debugger. When you need it built, our account-abstraction development service handles the implementation. Calling something AA does not make it secure; validation logic, upgrade controls, recovery design and dependencies do.