Cointime

Download App
iOS & Android

What Is ERC-4337

Validated Individual Expert

If you follow the latest in Ethereum news, you may have heard about the ERC-4337 standard announcement. If you haven’t, let us explain.

ERC-4337 sets a new standard for crypto accounts using smart contracts. They may seem familiar on the surface, but this contract standard allows for something very different from the smart wallets you might know thus far. These accounts have capabilities that may affect the wider Ethereum Ecosystem.

But hold on a minute. Smart wallets aren’t a new thing, right?

Correct! In fact, popular smart wallets such as Argent and Gnosis Safe existed long before ERC-4337’s inception. These wallets have similar capabilities, such as social recovery for those who lose access to their accounts. However ERC-4337 accounts can actually do much more.

But what is the ERC-4337 really about? Plus how do these wallets work compared to the smart wallets we are already familiar with? Let’s explore through what ERC-4337 smart wallets really mean for the Ethereum network.

Defining ERC-4337

ERC-4337 is a Smart Wallet standard on the Ethereum Blockchain. While the concept was proposed back in 2021, Yoav Weiss, an Ethereum Foundation developer, announced its availability for use at WalletCon in colorado on March 1, 2023. The standard can be deployed on any Ethereum Virtual Machine compatible blockchain and allows for a new Ethereum account capable of arbitrary verification logic.

If that sounds too technical for you, in short, this innovation allows you to perform complex actions straight from your wallet. Another key feature of these kinds of wallets is: they are not solely based on private key ownership, opting for a smart contract solution instead. That said, many smart wallets use mechanisms for validation that may still require a private key.

Put simply, it’s a way to make the user experience better, allowing users to customize how to pay transaction fees. While many have said ERC-4337 achieves account abstraction, that’s not exactly the case.

But to understand that, let’s first understand what account abstraction means.

What is Account Abstraction?

Account abstraction is a way to let people use smart contracts as their primary accounts, essentially creating “smart wallets”.

But it’s a bit more than that. Account abstraction aims to do a few important (and ambitious) things.

Firstly, it allows you to execute functions directly from your wallet. It also gives your wallet the “intelligence” to determine how much to pay for a transaction fee and who will pay it. Account abstraction also allows for more advanced security features. For example, it allows you to set up transactions that require multiple signatures.

Furthermore, recovery becomes a problem of the past: You can even recover your account without centralized help.

Perhaps most excitingly, account abstraction allows for quantum-safe cryptography, meaning even a quantum computer wouldn’t be able to hack the system.

The Difference Between ERC-4337 and Account Abstraction

Although ERC-4337 accounts allow you to execute functions and have more flexibility over who pays transaction fees, it does not achieve true account abstraction.

Ethereum founder Vitalik Buterin stated, “The big really valuable, and necessary thing that ERC-4337 provides for account abstraction is a decentralized fee market for user operations going into smart contract wallets.”

To explain, instead of allowing for true account abstraction, ERC-4337 is like a transaction relayer: It allows you to organize transactions in an off-chain order book, and then relay the final transaction to the blockchain.

True account abstraction will offer much more than that: It aims to change the way Externally Owned Accounts (EOAs) interact with the Ethereum blockchain itself.

However, these functionalities will require an upgrade to Ethereum’s whole consensus — which is no easy feat. While the ERC-4337 standard is an important step in the right direction, Ethereum account abstraction is still a way away.

ERC-4337 is used for…

Well, now you know that ERC-4337 is one step on the path to account abstraction. But what does it actually let us do? Some of the most exciting things about this standard include;

Performing Multiple Actions in One Transaction

Firstly the standard allows you to bundle multiple transactions together. This means you can set approval for, initiate and execute a trade all in one go, and it’s only possible due to “bundling”. This is great for traders and gamers specifically, who currently must sign multiple transactions just to carry out one action.

Performing One Transaction with Multiple People

There are a couple of instances you might want to share a transaction with your friends or family and ERC-4337 makes that possible.

Firstly, it allows you to set up a transaction that requires multiple signatures. So for example, you could set up a transaction that needs the signature of both you and your partner before validation.

The advancement also lets you share transactions in other ways. For example, while using ERC-4337 wallets you don’t always have to pay a gas fee., That’s because “sponsored transactions” are now possible, allowing another entity, such as a dApp or wallet provider, to pick up the transaction fee for you. To make it even easier, these wallets will also let you pay transactions with arbitrary tokens, such as ERC-20 tokens.

A more Seamless User Experience

The ERC-4337 standard allows for other functionalities too. For example, blockchain subscriptions will be possible, as the ERC-4337 standard can process automated and recurring payments. You can now set up a recurring payment to an online magazine or even a monthly coffee subscription using these types of accounts.

Additionally, you can set pre-approval and auto-approve transactions. This allows a more seamless experience for users, which is especially important for players of blockchain games.

Improved Security Measures

Finally, the ERC-4337 standard gives users more flexibility with their security. For example, it allows you to define rules regarding spending or approval. For example, you may want to limit the amount you can spend in a single transaction, within a single day, or even over a whole month. You can also use this standard to set up more complex methods to access your funds, requiring 2FA and a hardware wallet signature for transactions over a certain amount.

Like many smart wallets today ERC-4337 also has the power to let you recover your wallet.

If you lose access to your account, smart wallets use a feature called Social recovery. This is not a new concept. Argent is a good example of a smart wallet that allows specific people, called guardians, to help you regain access to your assets.

The ERC-4337 standard aims to allow you to do something similar in a more decentralized way. The idea is that each thing you interact with on the blockchain can now help provide a piece of proof of who you are, instead of having to rely on a centralized validator.

How Does ERC-4337 Work?

To explain the ERC-4337 smart wallet standard introduces a new object (a basic unit of data that contains information and allows certain functions) to the Ethereum network.

The new object introduced by the ERC-4337 standard is called “UserOperation”. When a user initiates a UserOperation, it’s sent to the mempool — a place where transactions go to be validated. This is an entirely separate mempool from the one used for processing transactions on the Ethereum mainnet.

Firstly, you must understand that all transactions on the Ethereum network must be triggered and paid for by an Externally owned Account (EOA). Using a separate mempool lets users bypass these rules without affecting Ethereum’s underlying system.

It has different requirements to the mainnet, meaning you have more flexibility with the details of your transaction.

Firstly, you can perform multiple transactions at once. But more importantly, anyone with an EOA, such as a wallet provider, can pay the fees on behalf of the user.

To explain, once the userOperations are bundled into an Ethereum mainnet transaction, they still require payment via an EOA. However, ERC-4337 defines a way where it doesn’t actually need to be the user themselves. This makes the process more efficient and minimizes user fees.

Comments

All Comments

Recommended for you

  • OpenTrade announces $4 million seed extension round led by AlbionVC

    OpenTrade has announced the completion of a $4 million seed extension financing round to build RWA-supported loan and stablecoin yield products. This round of financing was led by AlbionVC, with participation from a16z Crypto and CMCC Global. OpenTrade plans to use the funds to expand its operations and enhance its product capabilities.

  • BNB Chain Ecosystem Re-staking Infrastructure Kernel Receives Investment from Binance Labs

    BNB Chain's ecological re-staking infrastructure Kernel has announced that it has received investment from Binance Labs. As of now, its total financing amount has reached 10 million US dollars, with main investors including: SCB Limited, Laser Digital, Bankless Ventures, Hypersphere, Draper Dragon, DACM, CYPHER, ArkStream Capital, HTX Ventures, Avid VC, GSR, Cluster Capital, Longhash Ventures, Via BTC, Side Door Ventures, NOIA, and DWF Labs. It is reported that Kernel's mainnet is about to be launched. Kelp provides users with support for Ethereum liquidity re-staking services based on rsETH, while Gain provides DeFi, CeDeFi, and RWA income products. KERNEL tokens are designed to unify the governance and incentive mechanisms of Kelp, Kernel, and Gain, while providing rewards for early supporters of ecosystem development.

  • Morgan Stanley: The U.S. dollar will peak before the end of the year and enter a "bear market pattern" in 2025

    Morgan Stanley predicts that the strong US dollar will peak before the end of the year and then enter a "bearish market trend", slowly declining until 2025. The bank believes that due to the Bank of Japan's rate hikes and gradual easing actions by the Reserve Bank of Australia, the potential for the yen and Australian dollar to rise next year is the greatest.

  • Equation News calls out Binance for "insider trading": You are destroying the sentiment of the trading market

    On November 25th, Formula News reported that to those insider traders who participated in the listing of Binance perpetual contracts, please slow down when selling your chips next time. The WHY and CHEEMS crashes you caused resulted in a 100% negative return for everyone involved in the trade, and you are destroying the emotions of the trade. Earlier today, Binance announced the listing of 1000WHYUSDT and 1000CHEEMSUSDT perpetual contracts, which caused a short-term crash in WHY and CHEEMS and sparked intense discussion within the community.

  • U.S. Congressman Mike Flood: Looking forward to working with the next SEC Chairman to revoke the anti-crypto banking policy SAB 121

     US House of Representatives will investigate Representative Mike Flood's recent statement: "Despite widespread opposition, SAB 121 is still operating as a regulation, even though it has never gone through the normal Administrative Procedure Act process." Flood said, "I look forward to working with the next SEC chairman to revoke SAB 121. Whether Chairman Gary Gensler resigns on his own or President Trump fulfills his promise to dismiss Gensler, the new government has an excellent opportunity to usher in a new era after Gensler's departure." He added, "It's not surprising that Gensler opposed the digital asset regulatory framework passed by the House on a bipartisan basis earlier this year. 71 Democrats and House Republicans passed this common-sense framework together. Although the Democratic-led Senate rejected it, it represented a breakthrough moment for cryptocurrency and may provide information for the work of the unified Republican government when the next Congress begins in January next year."

  • Are we finally ready for a gas limit increase?

    There has been growing discussion around the possibility of increasing Ethereum’s gas throughput, either by raising the gas limit or reducing slot time. The key argument in favor of this is that the hardware requirements for running a validator have steadily decreased over the past four years.

  • Cointime August 17th News Express

    1.VanEck and 21Shares Solana ETF Form 19b-4 Suspected to be Removed from CBOE Website

  • Ethereum network gas fee falls back below 1 gwei

    According to Etherscan data, the current Ethereum network gas fee has fallen below 1 gwei, currently at 0.937 gwei.

  • Cointime August 10th News Express

    1. The U.S. Internal Revenue Service has released a new draft of the crypto tax form, which no longer requires filling in wallet addresses and transaction IDs

  • Ethereum ACDC #139: Pectra's Devnet 2 upgrade is under debugging, and the release date of Devnet 3 is still to be determined

    Christine Kim, Vice President of Galaxy Research, summarized the main content of the 139th ACDC conference call. The debugging of Pectra's upgraded Devnet 2 is currently underway, and the release date of Devnet 3 is yet to be determined. Developers will hold weekly testing update meetings starting from Monday to better coordinate the release of Pectra's Devnet. The decision to include EIP-7688 in Pectra's upgrade has been postponed again.