Cointime

Download App
iOS & Android

What Is ERC-4337, or Account Abstraction for Ethereum?

TL;DR

ERC-4337 is an Ethereum standard that achieves account abstraction on the protocol without any consensus-layer changes. Deployed on the Ethereum mainnet in March 2023, ERC-4337 makes it possible to transact and create contracts in a single contract account. It opens the door to user-friendly crypto wallet designs that could potentially facilitate broader adoption.

Introduction

The Ethereum Improvement Proposals (EIPs) describe standards such as core protocol specification and contract standards for the Ethereum platform. Ethereum Request for Comment (ERC) is one type of EIP that sets application-level standards such as contract and token standards. An EIP can only become an ERC once the on-chain governance authorizes the change.

ERC-4337 is the latest ERC standard deployed on the Ethereum mainnet to achieve its long-awaited goal of account abstraction. Some still refer to ERC-4337 using its original term, EIP-4337. However, EIP-4337 was initially proposed in 2021 and has been authorized to become ERC-4337 in 2023.

What Is ERC-4337?

ERC-4337 was proposed by Ethereum co-founder Vitalik Buterin and other developers in 2021 to establish account abstraction. It was deployed on the Ethereum mainnet in March 2023 and is expected to herald user-friendly crypto wallet designs.

In Ethereum, account abstraction aims to combine features of the protocol’s two existing account types: Externally owned accounts (EOA) and smart contract accounts. The outcome is a single contract account able to transact with tokens and create contracts at the same time. This change makes creative wallet designs such as social recovery, customization, and upgradeability possible.

Another way to think about ERC-4337 is that it brings smart contract functionality to wallets in a single account. This makes services like multi-factor authentication and automatic payments easier to set up.

Why Is ERC-4337 Needed?

To see why ERC-4337 is needed, it’s important to understand why it was proposed and implemented in the first place. Unlike the Bitcoin network’s Unspent Transaction Output (UTXO) module, the Ethereum protocol uses an account-based model. That means the Ethereum protocol keeps track and updates accounts’ available balances as transactions are confirmed.

The two types of accounts in Ethereum have their own functionalities. EOAs are owned and controlled by users, while smart contract accounts are smart contracts that are deployed on the network. Both accounts can receive, hold, and send ether or tokens.

Most existing crypto wallets on Ethereum, such as MetaMask, are EOAs, meaning they are limited by the rules set around EOAs. These limitations include solely relying on private keys to access accounts and requiring all transactions to be signed. Because of this, wallet setup procedures and private key security measures are usually complex and not user-friendly. If users lose their seed phrase, it usually means losing access to the wallet.

ERC-4337 removes such limitations. Smart contract wallets such as UniPass and Safe, are wallets managed by smart contract accounts instead of EOAs and can achieve the same goal. However, users must manage their ether in two accounts to pay for gas or rely on a centralized relay system. ERC-4337 removes such limitations because it combines the two account’s functionalities into one, making it easier to deploy desired wallet features.

How Does ERC-4337 Work?

The Ethereum community has been working on ways to achieve account abstraction for a long time. Before EIP-4337, the community put forward another proposal aimed at achieving account abstraction called EIP-2938. EIP-2938 was similar to ERC-4337 but called for consensus-layer changes. ERC-4337 circumvents this.

It does so by introducing a higher-layer pseudo-transaction object called a UserOperation, which shares similarities to rollups as both involve different versions of the concept of bundling. In ERC-4337, different users send UserOperation objects into a separate mempool.

Bundlers package these objects into a transaction, which gets included in a block. The bundlers pay gas for the bundled transactions and get paid fees by the individual UserOperation executions. Bundlers work in similar ways to a validator, choosing which objects to include based on fee-prioritization logic.

New functions, including validateUserOp, are also being added to enable a wallet to be a smart contract at the same time. A new contract called the EntryPoint is also being introduced to serve as a security gate for the execution of these new functions.

What Goals Does ERC-4337 Achieve?

The goals ERC-4337 aims to achieve include the following:

Account abstraction: Allow users to enjoy a single account with functionalities of smart contracts and EOAs.

Decentralization: Allow any so-called bundlers to participate in the process.

Avoid consensus changes: Make faster adoption possible as the Ethereum consensus layer focuses on scalability-oriented upgrades.

Enable innovative use cases: These could include aggregated signature, setting daily transaction limit, emergency account freezing, whitelisting, and privacy-preserving applications.

Save time and gas: As bundlers can package UserOperation objects into one transaction, it could save time and gas.

What Does ERC-4337 Mean For Users?

ERC-4337 could spell the end for the complicated crypto wallet user experience and, in doing so, could also increase adoption. Here are some highlights of what ERC-4337 could enable:

Wallet setup: No need to write down seed phrases. Setup can be quick and easy with just a few clicks.

Worry-free account recovery: Users no longer need to sweat over losing their seed phrases, as multi-factor authentication and account recovery are now possible.

User-friendly wallet functions: Users can enjoy a wide range of customized services including auto-pay, pre-approve transactions, and bundled transactions. The sky's the limit.

Better security: Wallets could potentially be more secure as the possibility of human error is reduced — no more hiding seed phrases under your mattress! ERC-4337 should, in theory, lead to a smoother and friendlier user experience for users, therefore removing one major hurdle for mass adoption.

Gas flexibility: Wallets powered by ERC-43337 can now pay gas fees with any ERC-20 tokens and beyond. Developers can build wallets that make paying gas fees in any tokens and even fiat possible.

Closing Thoughts

The terminologies of crypto wallets – such as seed phrases, private keys, and public keys – can be daunting for new users. The process of using crypto wallets is still challenging for some people. Many agree that the average user’s crypto interface needs to be as simple as possible to accelerate adoption.

ERC-4337 lays down the technical foundation to support creative crypto wallets. What developers can build based on this could change the main touch-point between crypto and users. Regardless, the impact that ERC-4337 will have on user experience and crypto as a whole is something to keep an eye on in the coming years.

Read more: https://academy.binance.com/en/articles/what-is-erc-4337-or-account-abstraction-for-ethereum

Comments

All Comments

Recommended for you

  • BTC Surpasses $70,000

    Market data shows that BTC has surpassed $70,000, currently priced at $70,003.25, with a 24-hour increase of 3.96%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Iran Responds to the U.S. via Pakistan, Rejects Ceasefire, Emphasizes Need for Permanent End to War

    According to the Islamic Republic News Agency (IRNA): Iran has responded to the United States through Pakistan, rejecting a ceasefire and emphasizing the necessity for a permanent end to the war.

  • US Media: 45-Day Ceasefire Plan is Just One of Many Proposals

    According to US media reports on the 6th, a White House official stated that the 45-day ceasefire plan between the US and Iran is just one of the 'many proposals' currently under discussion. The official indicated that President Trump has not yet approved the plan, and US military actions against Iran are still ongoing. (Xinhua News Agency)

  • Trump Has Not Approved Ceasefire Plan

    On April 6, the White House stated that President Trump has not yet approved the ceasefire plan. The potential ceasefire proposal is just one of many ideas.

  • Strategy Increases BTC Holdings by 4,871 Last Week, Total Holdings Exceed 766,000

    On April 6, Strategy officially disclosed that last week it purchased 4,871 BTC at an average price of approximately $67,718, with a total expenditure of about $329.9 million. As of 2026, Strategy has accumulated a total of 766,970 BTC, with a total holding cost of approximately $58.02 billion, resulting in an average price of about $75,644 per coin.

  • Iran Launches 98th Wave of 'True Commitment-4' Offensive Against US Amphibious Assault Ship

    On April 6, the Public Relations Department of the Iranian Islamic Revolutionary Guard Corps announced that Iran has launched the 98th wave of the 'True Commitment-4' operation. The statement indicated that the naval forces of the Islamic Revolutionary Guard Corps used cruise missiles to strike the container ship SDN7, which belongs to the 'Zionist regime.' Following its destruction, a large fire broke out. Additionally, missiles targeted strategic centers in northern and southern Tel Aviv, Haifa, chemical enterprises and factories in Be'er Sheva, as well as military installations in Batehfael. The statement also mentioned that the US amphibious assault ship LHA7, carrying over 5,000 sailors and Marines, was hit by missiles and was forced to retreat to deep waters in the southern Indian Ocean after the offensive. Furthermore, the UAE-Israel joint drone production center and several aircraft stationed at Ali Salim base were also subjected to drone and missile strikes.

  • Vessel Traffic in the Strait of Hormuz Reaches Highest Level Since Early March

    On April 6, foreign media reported that traffic through the Strait of Hormuz has risen to its highest level since the onset of the Middle East conflict, as more countries have reached security passage agreements with Iran. Over the weekend, a total of 21 vessels passed through the waterway, marking the highest two-day total since traffic began to decline in early March. Although the current number of vessels is still far below pre-war levels (approximately 135 vessels), more countries have obtained passage permits. A senior crude oil analyst at Singapore's Kpler stated, 'Iran is strengthening its control over Hormuz while responding to requests from its partners. Passage still depends on Iran's willingness, and the situation could change at any time if the conflict escalates.' So far, most of the vessels granted passage appear to be following the routes indicated by Tehran, navigating close to the Iranian coast. However, more vessels are also beginning to choose to travel along the opposite shore.

  • Iran Calls U.S. 15-Point Plan 'Highly Ambitious and Illogical'

    April 6 - According to the Islamic Republic News Agency (IRNA), Iranian Foreign Ministry spokesman Ismail Baghaei stated that in the context of recent proposals to end the war, Tehran has finalized its demands but will only announce them at the appropriate time, emphasizing that Iran will not succumb to pressure. He said, 'A few days ago, they proposed some plans through intermediaries, and this U.S. plan, which contains 15 points, was conveyed through Pakistan and other friendly countries.' He added, 'Such proposals are highly ambitious, unusual, and illogical.' He stressed that Iran has its own framework. 'Based on our own interests and considerations, we have organized and formulated a series of demands that we have presented in the past and present.' He also denied that engaging with mediators indicates weakness. 'The fact that Iran quickly and courageously expressed its position on a proposal should not be seen as a sign of submission to the enemy.' (Jinshi)

  • BTC Surpasses $70,000 Mark

    Market data shows that BTC has surpassed the $70,000 mark, currently priced at $70,071.01, with a 24-hour increase of 4.46%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Dollar Index Falls Below 100 Mark

    On April 6, the Dollar Index (DXY) dropped below 100, declining by 0.21% during the day to report at 99.99 points.