A Comprehensive Analysis of Account Abstraction Technology: A Comparison of ERC-4337 and Native AA Multi-Chain Implementations

robot
Abstract generation in progress

Analysis of Multi-Chain Account Abstraction Technology: The Future Direction of Encryption Infrastructure Development

From July 8 to 11, 2024, the largest annual Ethereum technical conference in Europe will be held in Brussels, Belgium. This conference brings together over 350 top experts in the blockchain industry to give speeches, focusing on technological innovation and community development.

A blockchain developer delivered a speech titled "Revealing the Future: An Analysis of Multi-Chain Account Abstraction" at the conference, delving into the core concepts of account abstraction technology, different implementation methods, and its application differences across various chains.

The Future of Encryption Infrastructure? Analysis of Multi-Chain Account Abstraction

Account Abstraction Technology Overview

Account abstraction ( AA ) technology primarily focuses on two core aspects: signature abstraction and payment abstraction.

  • Signature abstraction allows users to freely choose the verification mechanism, no longer limited to specific digital signature algorithms.
  • Payment abstraction offers a diverse range of transaction payment options, such as paying with ERC-20 tokens or introducing third-party sponsored transactions.

This flexibility greatly enhances user experience and security.

Interpretation of ERC-4337 Standard

The ERC-4337 standard addresses some inherent limitations of externally owned accounts (EOA) on Ethereum by introducing more flexible account management and transaction processing methods. Its core components include:

  • userOp structure: Users package operation information into the userOp structure and send it to the Bundler.
  • Bundler: Collects multiple userOps and calls the handleOps function of the EntryPoint contract.
  • EntryPoint contract: responsible for verifying userOp, collecting fees, and executing target operations.

The Future of Encryption Infrastructure? Analysis of Multi-Chain Account Abstraction

Native Account Abstraction

Some blockchain networks adopt a native account abstraction design, treating each account as a contract and embedding the transaction processing mechanism directly into the blockchain protocol.

Different network implementations of AA:

  • Account abstraction following ERC-4337: Ethereum and multiple Layer 2 networks
  • Native account abstraction following ERC-4337: Certain ZK Rollup networks
  • Native account abstraction with privacy design: a certain anonymous network

Main Differences Between ERC-4337 and Native Account Abstraction

  1. Operating System Role: ERC-4337 is completed through the collaboration of Bundler and EntryPoint contracts, while native account abstraction is handled by the operators/relayers of the official server.

  2. Contract Interface: The entry point function of the verification phase remains consistent across implementations, but only the native AA fixed the entry point during the execution phase.

  3. Verification Step Limitations: Different implementations have varying degrees of restrictions on usable opcodes and storage access to prevent potential DoS attacks.

  4. Execution Step Limitations: Some networks require confirmation system flags to perform specific operations, while others have no special restrictions during the execution phase.

  5. Random Number Management: Different implementations use their own nonce management mechanisms, some allow flexible settings while others require strict increments.

  6. First Transaction Deployment: ERC-4337 allows for the deployment of an account contract in the first userOp, while some native account abstraction implementations require a separate deployment transaction.

The Future of Encryption Infrastructure? An Analysis of Multi-Chain Account Abstraction

Differences in the Implementation of ERC-4337 on L1 and L2

There are two key differences when implementing ERC-4337 on EVM-compatible chains:

  1. Protocol differences: Layer 2 solutions need to upload data to Layer 1 to ensure security and final settlement, which involves additional cost calculation issues.

  2. Address calculation differences: Different networks use different address encoding methods, which may result in inconsistencies in the addresses of the same contract on different chains. Especially when a hard fork introduces new opcodes, if the EVM version is not specified, unexpected bytecode changes may occur.

This presentation provided us with an in-depth analysis of the core concepts of account abstraction technology and the differences in multi-chain implementation, offering valuable insights for the development of future encryption infrastructure. As technology continues to evolve, we look forward to seeing more innovative applications that further enhance the user experience and security of the blockchain ecosystem.

The Future of Encryption Infrastructure? An Analysis of Multi-Chain Account Abstraction

ETH0.79%
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
  • 7
  • Share
Comment
0/400
MevShadowrangervip
· 10h ago
Come on, let's settle the accounts clearly.
View OriginalReply0
WhaleWatchervip
· 10h ago
AA is still about centralizing intermediaries.
View OriginalReply0
RugPullProphetvip
· 10h ago
Multi-chain aa has been understood.
View OriginalReply0
WhaleMinionvip
· 10h ago
Isn't it just saying that erc4337 is bull?
View OriginalReply0
PoetryOnChainvip
· 10h ago
Who can explain in simple terms what the principle of aa really is?
View OriginalReply0
MEVHunterLuckyvip
· 11h ago
A shuttle, front row ready to see 4337.
View OriginalReply0
Fren_Not_Foodvip
· 11h ago
Different public chains have rolled up account abstraction.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)