🎉 [Gate 30 Million Milestone] Share Your Gate Moment & Win Exclusive Gifts!
Gate has surpassed 30M users worldwide — not just a number, but a journey we've built together.
Remember the thrill of opening your first account, or the Gate merch that’s been part of your daily life?
📸 Join the #MyGateMoment# campaign!
Share your story on Gate Square, and embrace the next 30 million together!
✅ How to Participate:
1️⃣ Post a photo or video with Gate elements
2️⃣ Add #MyGateMoment# and share your story, wishes, or thoughts
3️⃣ Share your post on Twitter (X) — top 10 views will get extra rewards!
👉
In-depth analysis of multi-chain account abstraction technology: Comparison between ERC-4337 and native AA
Multi-Chain Account Abstraction Analysis: Exploring the Future of Encryption Infrastructure
From July 8 to 11, 2024, the largest annual Ethereum event in Europe—the Ethereum Community Conference (EthCC)—will be held in Brussels, Belgium. This year's conference (EthCC 7) brings together over 350 leading opinion leaders from the blockchain industry. A blockchain developer was invited to participate and delivered a speech titled "Unveiling the Future: An Analysis of Multi-Chain Account Abstraction."
Key Points of the Speech
The core of account abstraction (AA) includes signature abstraction and payment abstraction. The former allows users to choose any verification mechanism, while the latter supports multiple transaction payment options, enhancing security and user experience.
The entry point functions for ERC-4337 and native AA during the validation phase are fixed, but only the entry point for native AA is fixed during the execution phase. Different implementations have their own characteristics regarding the limitations of validating transactions and the steps for executing transactions.
When implementing ERC-4337 on EVM-compatible chains, the differences in protocols within Rollup designs and the methods of address calculation are two key distinctions, which lead to some subtle development details when implementing between L1 and L2.
Account Abstraction Overview
The core of account abstraction
Account abstraction (AA) mainly includes two key points:
This flexibility greatly enhances security and user experience.
Introduction to ERC-4337
ERC-4337 aims to address some limitations of externally owned accounts (EOA) in the Ethereum protocol:
Overview of Native Account Abstraction
In native account abstraction, each account is a contract, and the transaction processing mechanism is directly embedded in the blockchain protocol. The AA designs of different blockchain networks have their own characteristics:
Comparison of ERC-4337 and Native Account Abstraction
operating system roles
The key issues that the AA operating system needs to address include: Gas price determination, transaction order confirmation, entry point function triggering, and transaction processing flow.
contract interface
The account contract interfaces in different implementations are similar and all contain entry point functions for the validation and execution phases.
verification step limitations
To prevent DoS attacks, different implementations have set various limits on validating transactions:
execution step limitations
random number processing
Different implementations vary in random number management:
first transaction deployment
Differences between L1 and L2 in the implementation of 4337
When implementing ERC-4337 on EVM-compatible chains, there are two key differences:
1. Protocol Differences
In Rollup design, L2 needs to upload data to L1 to ensure security and settlement. This involves additional costs (such as L1 security fees and blob fees), which need to be considered in the pre-validation Gas, presenting a significant challenge.
2. Address differences
The address calculation methods of different chains vary:
When implementing ERC-4337 on EVM-compatible chains, it is usually assumed that address calculation is consistent across chains. However, adding new opcodes in hard forks may lead to changes in bytecode, thereby affecting the address calculation results.
Conclusion
Account abstraction technology is rapidly developing, bringing new possibilities to blockchain infrastructure. Different implementations each have their advantages and disadvantages, and developers need to deeply understand these differences to make the best choices in various scenarios. As the technology continues to evolve, we look forward to seeing more innovative applications and solutions emerge, further promoting the development of the blockchain ecosystem.