The Ethereum standard that enables smart contract wallets with programmable transaction logic, widely used in agent wallet infrastructure.
ERC-4337 is the technical standard for Account Abstraction on Ethereum, finalized in March 2023. It allows smart contracts to serve as user accounts, replacing the traditional externally owned account (EOA) model where a private key directly controls funds. Under ERC-4337, transaction validation, execution, and fee payment are handled through smart contract code rather than fixed cryptographic signatures. This enables features such as gas sponsorship, batched transactions, session keys, social recovery, and custom access controls—capabilities that are essential for automated agents operating without continuous human intervention.
ERC-4337 introduces a new transaction flow built on top of existing Ethereum infrastructure, avoiding the need for protocol-level changes. Instead of sending a standard transaction, a user or agent submits a UserOperation to a dedicated mempool. Bundlers collect these operations, validate them, and package them into a single transaction that calls the EntryPoint contract—a singleton contract that orchestrates execution across all ERC-4337 accounts.
The EntryPoint contract interacts with two key components: the smart account itself (which validates the operation against its custom logic) and optional paymasters (which can sponsor gas fees or accept payment in ERC-20 tokens). This separation of validation and execution allows accounts to implement arbitrary rules—such as multi-signature thresholds, time-locked operations, or delegated permissions for specific agents—while remaining compatible with the broader Ethereum network.
For agent wallets, this architecture is particularly significant. An autonomous agent can hold a session key with limited scope, execute batched operations across multiple protocols, and have its gas costs covered by a third-party paymaster. The agent's actions are enforced by immutable smart contract code rather than reliance on a single private key, reducing certain categories of risk while enabling programmatic control.
Several entries in the agentwallet.md directory implement or build upon ERC-4337 infrastructure: