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

  • US Spot Ethereum ETF Sees Net Inflow of $43.36 Million Yesterday

    On April 22, according to monitoring by Trader T, the US spot Ethereum ETF recorded a net inflow of $43.36 million yesterday.

  • US Spot Bitcoin ETF Sees Net Inflow of $11.83 Million Yesterday

    On April 22, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net inflow of $11.83 million yesterday.

  • BTC Surpasses $77,000

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

  • Trump: Iran Does Not Want to Close the Strait of Hormuz, They Want It Open

    On April 22, U.S. President Trump stated that Iran does not want to close the Strait of Hormuz; they want the strait to remain open so they can earn $500 million daily (thus, if they close it, they would lose this money). The reason Iran claims they want to close the strait is that I have completely blocked (closed) it, so they just want to 'save face.' (Jinshi)

  • Iran Agrees to Suspend Military Combat, But War Is Not Over

    On April 22, local time, in response to Trump's statement about extending the ceasefire, Iranian state television reported that Iran has emerged as the victor on the battlefield. Controlling the Strait of Hormuz is a highly valuable bargaining chip that Iran has gained in this war. Iran agrees to a suspension of military combat, but the war is not over. Additionally, Iranian state television emphasized that Iran must remain vigilant against any insinuations that it must participate in negotiations, or else the enemy will attack Iran. Even if maritime blockades are lifted, Iran's participation in negotiations must be conditional on not raising any issues that infringe upon Iran's independence and dignity, with the primary concerns being Iran's defense and missile capabilities as well as its nuclear capabilities and technology. (CCTV)

  • Kalshi and Polymarket to Offer Perpetual Futures Trading

    On April 22, following competitor Kalshi's plans to offer cryptocurrency perpetual futures trading, Polymarket has also begun to expand its perpetual futures trading business.

  • Trump Announces Extension of Ceasefire with Iran

    On April 22, U.S. President Trump posted on 'Truth Social' on the afternoon of the 21st, stating that at the request of the Chief of Staff of the Pakistan Army and the Prime Minister, the U.S. will pause military strikes against Iran and extend the ceasefire period. He also requested that Iran first propose a unified negotiation plan. During this period, the U.S. military will continue to enforce a maritime blockade against Iran while maintaining military readiness. He stated that the ceasefire will last until Iran submits a proposal and negotiations are completed, 'regardless of the outcome.' (CCTV International News)

  • BTC Falls Below $75,000

    Market data shows that BTC has fallen below $75,000, currently priced at $74,894.74, with a 24-hour decline of 1.78%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Fed Chair Nominee Waller: Independence Depends on the Fed Itself

    Fed Chair nominee Waller: I will be independent of Trump's opinions. Trump tends to call for the FOMC to cut interest rates. Independence depends on the Fed itself.

  • 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.