Cointime

Download App
iOS & Android

ERC-4337: Account Abstraction Using Alt Mempool

Validated Individual Expert

This post provides an overview of my expertise on ERC-4337, a standard that aims to simplify account handling for users and provide a “bank-like” experience.

What’s ERC-4337?

ERC-4337 is the most cutting-edge ERC added to the Ethereum mainnet. Its potential to greatly enhance user experience is unparalleled, without needing any modifications to the consensus-layer protocol.

This standard was initially proposed by Vitalik Buterin in 2021 and was deployed on the Ethereum mainnet in March 2023. By using this standard, it is possible to implement Contract Accounts with a different set of enabled features than Externally Owned Accounts.

To enable these new features, a new object called UserOperation has been added to package user intent and create a new memory pool to manage user intent.

UserOperation and Entry point fields

A UserOperation looks like a transaction; it’s an ABI-encoded struct that includes fields such as:

  • sender: the wallet making the operation
  • nonce and signature: parameters passed into the wallet’s verification function so the wallet can verify an operation
  • initCode: the init code to create the wallet with if the wallet does not exist yet
  • callData: what data to call the wallet with for the actual execution step

Although there are more aspects that are important in this operation, one key element is the Entry Point — a singleton contract used to execute bundles of UserOperations. Bundlers/Clients whitelist the supported entrypoint.

Much of the complicated safety measures are done in a global contract called the “entry point”. The “validateUserOp” and execution functions are gated with “require(msg.sender == ENTRY_POINT)”, so only the trusted entry point can cause a wallet to perform any actions or pay fees. The entry point creates a wallet using the provided “initCode” if the wallet does not exist already. This is enough to protect wallets from attacks.

Awesome new possibilities ✨

Here are some new possibilities that we can explore using ERC-4337:

  • Multisigs and social recovery
  • More efficient and more straightforward signature algorithms (eg. Schnorr, BLS)
  • Post-quantum safe signature algorithms (eg. Lamport, Winternitz)
  • Wallet upgradeability
  • Entities with the ability to perform multiple tasks, handle multi-factor authentication, initiate and sustain cryptocurrency subscriptions, and perform other functions.
  • Standard user-onboarding using mobile devices.
  • Changes are easy to implement on other chains that are Ethereum Virtual Machine compatible.

Check out some great points in this article https://beincrypto.com/learn/erc-4337/#h-what-does-erc-4337-mean-for-the-users

Conclusion

I truly believe that this new standard has come to help the mainstream adoption of web3, bringing several new possibilities and simplified processes. Before learning about this standard, I was following the LUKSO network. Perhaps by combining these two ideas, some interesting possibilities could arise.

Comments

All Comments

Recommended for you

  • Spanish Foreign Minister: Not worried about any consequences of refusing US access to military bases

     on March 3 local time, Spanish Foreign Minister Alvarez defended the Spanish government's refusal to provide the Rota and Moron military bases to the United States for participation in attacks on Iran. Alvarez stated that the operation initiated by the United States and Israel is not supported by the United Nations and is not part of the bilateral agreements allowing the use of the aforementioned Spanish sovereign military bases. Alvarez also said that the Spanish government is not concerned that this stance will have any consequences. Alvarez stated: "The position of the Spanish government represents the will of the vast majority of the Spanish people as well as the vast majority of people worldwide, which is to defend the UN Charter, respect international law, and believe that cooperation is always more powerful than confrontation."

  • Spot gold plunges nearly $100 in the short term.

     spot gold plunged nearly 100 dollars in a short time, spot gold fell below 5170 dollars/ounce, with a daily decline of 2.94%. 

  • BTC falls below $67,000

    the market shows BTC fell below $67,000, currently at $66,996.93, with a 24-hour increase of 1.18%. The market is highly volatile, please manage your risk accordingly.

  • ETH breaks $2,000

    the market shows ETH breaking through $2000, currently at $2001.64, with a 24-hour increase of 2.89%. The market is highly volatile, please manage your risks accordingly.

  • The US spot Bitcoin ETF saw a net inflow of $962.48 million yesterday.

    according to Trader T's monitoring, the US spot Bitcoin ETF had a net inflow of 962.48 million USD yesterday.

  • BTC falls below $66,000

     the market shows BTC fell below 66,000 USD, currently at 65,986.66 USD, with a 24-hour decline of 1.31%. The market is highly volatile, please manage your risks accordingly.

  • BTC falls below $66,000

     the market shows BTC fell below $66,000, currently at $65,973.16, a 24-hour drop of 2.66%. The market is highly volatile, please manage your risks accordingly.

  • ETH breaks $2,000

    market shows ETH breaking through $2000, currently at $2000.29, with a 24-hour increase of 3.73%. The market is volatile, please manage your risk accordingly.

  • The United States uses Anthropic's artificial intelligence technology in its airstrikes in the Middle East.

     United States used Anthropic's artificial intelligence technology in airstrikes in the Middle East, and just hours before the attack, Trump had just issued a ban against Anthropic. 

  • Web3 data and AI company Validation Cloud completes $10 million in new round of financing

     Web3 data and AI company Validation Cloud announced a $10 million financing round from True Global Ventures. The company plans to use the funds to expand its AI products and achieve seamless access to Web3 data.