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

  • Hong Kong to Launch Second Spot Solana ETF on October 13

    On October 12, according to official news from Solana, Hong Kong will welcome its second spot Solana ETF, the Pando Solana ETF (2831.HK), which is set to be listed on the Hong Kong Stock Exchange on October 13. Solana reported that the global net asset size of spot SOL ETFs currently stands at $1.9 billion, with a cumulative net inflow of $1.61 billion.

  • BTC Surpasses $84,000

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

  • Ethereum Foundation-Linked Wallet Transfers 4,393 ETH to Kraken Worth $11.13 Million

    On October 12, on-chain analyst Yu Jin reported that 4 hours ago, two wallets associated with the Ethereum Foundation transferred 4,393 ETH (valued at $11.13 million) to the trading platform Kraken. The wallet that sent the ETH today received 59,751 ETH from the Ethereum Foundation wallet 10 years ago, of which 49,751 ETH has been gradually transferred to Kraken over the past decade at an average price of approximately $658.

  • BTC Surpasses $84,000

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

  • Zelensky Responds to Trump's Russia-Ukraine Ceasefire Statement: Ukraine Will Agree if Russia Accepts Energy Ceasefire

    According to Axios, Ukrainian President Zelensky stated that Trump's ceasefire statement was also a surprise to him. Ukraine will agree if Russia accepts an energy ceasefire.

  • CryptoBillis Ledger Attacker Deposits $3.89 Million in Crypto Assets to Binance

    On October 11, the attacker of CryptoBillis Ledger deposited approximately $3.89 million in crypto assets to Binance over the past two days, including 3.685 million USDT and 615,000 TRX (about $204,000). This attacker had previously stolen over $90 million in crypto assets. (PeckShieldAlert)

  • KillaXBT: BTC May Surge Before Midterm Elections, Drop After, Historical Probability 75% Bearish

    On October 11, Killa (@KillaXBT), a user on X, shared his perspective that the ideal path for BTC is to rise before the midterm elections, establishing a bullish narrative and surpassing previous highs. Following this, he anticipates a pullback post-election, similar to past cycles, but with higher lows instead of new cycle lows. He believes that if there is a decline before the elections, it is more likely to rise towards $95,000 afterward. Citing data, he noted that nearly $2 billion in long positions were just liquidated, with only three weeks until the midterm elections. Historically, in four midterm elections, three have seen bearish trends emerge one to two months after the elections, giving a probability of 75%. He stated that the worst-case scenario would be a price rebound leading into the elections, followed by a reversal that traps the other side before de-risking. He believes that the narrative for one side has already been liquidated, and the current exposure of shorts is higher than that of longs. The author claims to still hold 10x long positions and longs established at 62.6K and 76.4K, with all positions fully allocated and not closed. This represents his personal trading view and is not an objective event.

  • Argentine Central Bank Indicates Cryptocurrencies May Open to Banks

    On October 11, the Argentine Central Bank stated that during Milei's second term, cryptocurrencies may be opened to banks, lifting a ban that has been in place for four years.

  • Trump: Russia and Ukraine Agree to 'Energy Ceasefire'

    On October 11, U.S. President Trump announced that an 'energy ceasefire' has been reached in the Russia-Ukraine war, effective immediately. Both sides have agreed not to disrupt it.

  • CITIC Securities: Hong Kong Stocks' Fundamentals Expected to Have Bottomed Out

    On October 11, CITIC Securities' research report pointed out that for Hong Kong stocks, although the overseas interest rate hike cycle combined with the restart of AI-driven trading continues to pressure liquidity, the fundamental expectations have bottomed out, and the earnings growth expectations for major broad-based indices have begun to be revised upwards. There is a significant divergence in the adjustment of industry earnings expectations, with some specific sectors seeing upward revisions, while industries related to domestic demand still face downward pressure on earnings expectations. The upcoming third-quarter performance will be an important basis for assessing the progress of recovery. The report advises investors to maintain patience with Hong Kong stocks, expecting that short-term dividend strategies will continue to outperform.