Understanding ERC-4337: How Ethereum Accounts Evolve Through Abstraction

Introduction: A Revolution in Ethereum Wallet Design

Ethereum uses an account-based model that maintains states through transactions. However, the current system has significant limitations that hinder broader adoption of cryptocurrencies. External owned accounts (EOA), which use private keys, and smart contract accounts have drawbacks that complicate the lifespan of the average user. This is where ERC-4337 comes in - a standard that fundamentally changes how crypto wallets operate.

Why are changes necessary?

The existing model carries several problems:

Private keys used in EOA wallets pose a risk - if a user loses them, access to funds becomes permanently difficult. Wallet recovery procedures often lack flexibility, which exposes users to mishaps such as loss of access or theft of funds.

Wallets based on smart contracts offer programmable logic, but require users to manage two separate accounts - one for storing funds and another for paying gas fees. This additional layer of complexity deters new users from entering the crypto ecosystem.

Existing architectures often rely on centralized intermediaries for transaction processing, which contradicts the truth of the decentralized ideal.

What is ERC-4337 and how does it work?

ERC-4337 is an Ethereum standard that allows for account abstraction at the application layer without the need for changes to the underlying consensus protocol. The standard was originally proposed as EIP-4337 in 2021 by Vitalik Buterin and the Ethereum community of development engineers, and it was officially activated in March 2023.

Instead of requiring changes at the consensus level, ERC-4337 implements abstraction through smart contracts and infrastructure on the main network. The key innovation is the introduction of a new type of transaction - user operations.

User operations are sent to a separate memory resource that is managed off-chain. There, special nodes called aggregators collect and combine them into regular Ethereum transactions. Aggregators pay gas fees to publish these aggregator transactions on-chain and then accept the fees embedded in user operations.

The central component is the EntryPoint smart contract, which serves as a secure proposal for execution. Wallets can apply custom approval logic through validation functions before executing each operation, enabling programmable and flexible wallets without the need to change the Ethereum protocol.

What is achieved by applying ERC-4337?

Standard has several ambitious goals:

Unification of functionalities: Combines the advantages of external custodial accounts and smart contracts to provide users with a unique, programmable account.

Decentralization of processing: Allows a larger number of aggregators to freely participate in processing user operations, strengthening the open architecture.

Avoiding protocol changes: Enables faster and easier adoption as it operates entirely above the current consensus layer.

New features: Supports features such as aggregated signatures, daily limits, emergency account freezing, whitelists, and privacy.

Efficiency: By aggregating user operations into a single transaction, aggregators reduce gas fees and increase throughput.

Practical advantages for users

ERC-4337 brings tangible benefits that users have been waiting for years:

Recreated wallets are becoming easier to set up - there is no need for manual handling of mnemonic phrases, allowing for quicker and more accessible account creation.

Account recovery becomes more secure through multifactor authentication and social media overlay systems, reducing the risk of permanent loss of access.

Automated payments, pre-approved transactions, and batch operations become easier to implement, making wallets more flexible.

Security is improved as the possibility of user error decreases - private keys and mnemonic phrases are less exposed to the risk of misuse.

Users can pay gas fees using ERC-20 tokens or other means through third-party proposals, making the Ethereum system more accessible to everyone.

Conclusion

ERC-4337 represents a key step forward in the evolution of the Ethereum ecosystem. Through the implementation of account abstraction without the need for consensus reform, developers can build more intuitive, secure, and meaningful wallets. Although adoption is still in its early stages and some technical challenges remain, ERC-4337 makes cryptocurrencies a more accessible technology for the wider public.

ETH0,3%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
0/400
No comments
  • Pin

Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate App
Community
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)