Cointime

Download App
iOS & Android

Account Abstraction: Game Changer for Web3 Adoption

Validated Individual Expert

Introduction

“Not your keys? Not your crypto!” is a blockchain mantra. But what do we mean by “keys”? Real-world keys change according to the function they serve. The key for your bike lock is not the same type as the high-security keys for a Brinks truck. However, on Ethereum, all keys have the same structure. Any operation on Ethereum - regardless of its value or the purpose it serves - requires signing a transaction with a seed phrase that should be known to the account owner and no one else. This is a major UX hurdle and a barrier to the mainstream adoption of crypto.

Account Abstraction helps blockchain applications break out of this paradigm. First introduced in a post by Vitalik in 2015, the concept of Account Abstraction is now coming to life on both Layer-2 blockchains such as Starknet and zkSync, and on Ethereum itself through EIP-4337. Account Abstraction delivers the power of web3 with the simplicity and comfort of web2 experience. It constitutes a major milestone towards scaling self-custody.

EOAs on Ethereum and their limitations

Let’s first remind ourselves how crypto accounts work on Ethereum. Ethereum has two basic entities: smart contracts and EOAs (externally owned accounts). An EOA is an entity with (1) an account address, derived from a private key, (2) an ETH balance, for paying fees or sending ETH to others, and (3) an identifier called ‘nonce’, which is a serial number for transactions sent from this EOA, used for replay protection. EOAs are the only entities on Ethereum that can send transactions For a transaction to be valid it must be signed with the private key from which the account address was derived. This means that “owning” an EOA is essentially owning the private key used for deriving the account address.

While smart contracts on Ethereum are fully programmable, the logic used to verify the validity of transactions is not programmable, but rather hard-coded in the EVM (Ethereum Virtual Machine). Valid transactions must strictly follow a set of rules, such as:

  • Signature scheme. Transactions must be signed using the ECDSA signature scheme, on the elliptic curve secp256k1
  • Transaction fee. The source of the transaction fee must be the same EOA that initiated the transaction. Moreover, the fee must be denominated in ETH.
  • Replay protection. Transactions must be sent sequentially by their ‘nonce’ identifier.
  • The private key is immutable. Since the account address is derived from the private key, it’s impossible to change the ‘secret’ used to sign transactions.

Those rules are embedded into the Ethereum protocol and cannot be changed. They stem from design decisions that optimize for protocol security and efficiency in operating Ethereum nodes. However, they restrict dApp developers from many use cases. For example, when using EOA it’s impossible to let another account pay your transaction fees. This would be a valuable feature for decentralized games that may want to subsidize the first few “moves” of each player. In other cases, blockchain users may want to authorize other users to send transactions on their behalf, perhaps with some limitation on the transaction value or frequency. This too is impossible using EOAs. In addition, while password rotation is a basic primitive in web2, it is impossible to change the password of an EOA, or count on other entities to help you recover your password without giving them full access to your account.

Account Abstraction to the rescue

Account Abstraction is the idea of decoupling the hard-coded logic described above from the EOA, turning all accounts into fully programmable smart contracts. This would provide account owners, wallets, and dApps flexibility in determining how transactions should be signed and accepted, and where transaction fees should come from. In other words, Account Abstraction is the technical infrastructure that enables Smart Contract Wallets.

The concept of Account Abstraction can be split into three categories that correspond to the three main limitations that currently exist in EOAs:

(1) Signer abstraction. Give smart contracts flexibility in determining what a validly-signed transaction is, rather than enforcing ECDSA scheme with a fixed private key as the only acceptable signature. This means that smart contracts could decide for themselves to accept other signature schemes - for example, ones that are more suitable for shared secrets. Contracts could also require different signature schemes for different entry point functions, or even not require any signature at all!

(2) Fee abstraction. On Ethereum, the first thing an account owner is required to do is fill the account with some ETH, so that they can pay transaction fees and start using the account. Imagine a blockchain architecture where dApps could subsidize transaction fees for their users, or let users pay fees in any token currency they wish (and perhaps swap to ETH on the fly); this would solve a major UX challenge Ethereum faces today.

(3) Nonce abstraction. This is a lesser-discussed and more delicate area of Account Abstraction, yet not less interesting. The ‘nonce’ identifier on EOAs provides protection from transaction replay, but it also enforces a transaction model that is inherently sequential. What if a smart contract wanted to accept two transactions in parallel from the same EOA, regardless of their order? This becomes possible when the ‘nonce’ mechanism can be controlled by the smart contract rather than being hard-coded into a generic transaction processing logic.

Scaling self-custody

15 years after the Bitcoin paper, crypto wallets today are still more like high-maintenance friends than the slick products we’d expect them to be. The CEX collapse of last year has taught us that self-custody is the way to go, but managing one’s own keys is still a significant burden and security risk. Even core crypto developers occasionally lose their keys or have them compromised (tweet). Smart contract wallets - operated through Account Abstraction - may be the catalyst for eliminating those risks and driving the mass adoption of self-custody wallets. Account Abstraction makes account management less burdensome through two mechanisms: smarter signing of transactions, and better recovery processes.

First, signer abstraction capabilities allow wallets to embed web2-like features into their products. For example, the Braavos wallet utilizes the secure enclave of iOS and Android devices to allow users to sign transactions with their fingerprint or face ID, without inputting any seed phrases at all. Similar signer abstraction features allow developers to control the security level required for approving individual transactions, case by case. This paves the way to true multi-factor authentication on web3 wallets. Similarly to your online bank account, daily transactions may be executed from a single device, but transacting with new recipients or executing particularly valuable transactions may prompt users to sign on multiple devices.

Account Abstraction also improves the UX of account recovery. Signer abstraction allows having multiple signers for an account, each of them with individual powers and privileges. For example, the major owner of an account may share some lower-privileged keys with friends, in a way that the friends could help recover the main key but not spend any of the assets in the account. This is often referred to as social recovery, and is already implemented in smart-contract based wallets, such as the ArgentX wallet.

Opportunities in crypto payments

Crypto payments are widely discussed as one of the major use cases of blockchain. However, this promise hasn’t materialized yet. Historically, this has been due to costly transaction fees, which are now coming down thanks to rollups and scalability solutions. However, mature payment solutions in TradFi aren’t successful merely because of low transaction costs. They require additional features, such as credit issuance, fraud detection, dispute processes and recurring payment mechanisms.

Account Abstraction allows translating those traditional payment concepts into the crypto space. For example, Visa has recently presented a proof-of-concept for using Account Abstraction for a recurring payment system. Imagine a programmable self-custodial wallet, that authorizes Visa to automatically pull funds (up to some monthly limit) on a recurring basis, without requiring the user’s signature on each transaction.

Gaming UX meets web3

Another area prone to disruption by Account Abstraction is web3 gaming, through batch transactions and fee abstraction.

A major barrier to bringing gaming activity on-chain - beyond transaction costs - is the need to sign a transaction for every on-chain activity. Prompting a user to click the ‘sign’ button in their wallet disrupts the flow of the game and makes the web3 gaming experience quite cumbersome. Account Abstraction allows game developers to create “session keys” that are pre-authorized to sign gaming transactions for a particular timeslot. Such keys could be stored in the browser’s or smartphone’s local storage, and be revoked as needed. This brings the UX of web3 games closer to the familiar experience in web2 games.

In addition, fee abstraction allows game developers to subsidize transaction fees for their users. This is a particularly good method for onboarding new players, who may be new to crypto or may want to experiment with the game before spending transaction fees.

The road ahead

Account Abstraction has always been on the Ethereum roadmap. Ethereum improvements proposals such as EIP-86 (2017), EIP-2983 (2020) and EIP-3074 (2020) paved the way to EIP-4337 (2021), which introduces a new decentralized infrastructure on top of Ethereum to operate smart contract wallets. In addition to EIPs, smart wallets dApps emerged on Ethereum, such as Gnosis. However, all those were second-class citizens to the native account model on Ethereum, the EOA.

The opportunity to fix the limitations of Ethereum and bring smart contract wallets to users may be through Layer 2 scaling networks. Layer-2s such as Starknet and zkSync have Account Abstraction embedded in the protocol level, making it easily accessible to developers through native tooling and infrastructure.

About the Author

Gal Ron is a product manager & blockchain researcher at StarkWare, where he works on building the ecosystem of Starknet, a zero-knowledge scaling technology for Ethereum. He previously graduated with an MBA from Stanford Graduate School of Business, and a Master’s degree in Computer Science from Tel Aviv University.

References

[1] Why Account Abstraction is a Game-Changer for Dapps (Julien Niset at Devcon Bogotá)

[2] Auto Payments for Self-Custodial Wallets (Visa Crypto Thoughts Leadership)

[3] Vitalik's "Road to Account Abstraction" notes

[4] ‘Account abstraction’ supercharges Ethereum wallets: Dummies guide (Andrew Fenton, Cointelegraph)

[5] Random thoughts on Account Abstraction by Sylve Chevet

[6] Account Abstraction 101: a Comprehensive Guide (by Braavos)

Comments

All Comments

Recommended for you

  • RLUSD Circulation Approaches $2.5 Billion, Increasing by Approximately $490 Million Since August

    On September 27, it was reported that the circulation of RLUSD is approximately 2.49 billion tokens, with a market value nearing $2.5 billion. This represents an increase of about $490 million compared to the $2 billion milestone announced by Ripple in August. The total value of stablecoins on the XRP Ledger is approximately $1.19 billion, with a weekly growth of about 6% and a monthly growth of around 11%; among these, RLUSD accounts for about $1.1 billion, making up over 92%.

  • Tokenized Stock DEX Trading Volume Reaches $20.9 Billion in 30 Days, Uniswap Holds 60% Market Share

    On September 27, according to data from Token Terminal, the cumulative trading volume of tokenized stocks on decentralized exchanges (DEX) reached $20.9 billion in the past 30 days. Among these, Uniswap v4 leads with a market share of 40.7%, followed by Uniswap v3 at 19.4%. Together, they account for 60.1% of the total trading volume, which is approximately $12.6 billion.

  • Independent Report: OpenAI Agents Attack UN Website

    On September 27, an independent research report released on September 26 revealed that in June of this year, OpenAI's agents launched an intensive barrage of search requests against a UN website, subsequently employing various highly aggressive techniques to obtain data from the system. The report, authored by researcher Rowan Howard-Jones and based on data from the AI research organization Transluce, indicates that OpenAI's artificial intelligence models have exhibited a series of 'anomalous' behaviors online in recent weeks. Howard-Jones noted that this incident involving the UN is similar to several other recently disclosed cases, where these agents conducted over 16,000 scans of a publicly available online data center affiliated with the UN Conference on Trade and Development (a UN trade agency) between April and the end of June. Howard-Jones found that the initial task of these bots appeared to be merely searching for publicly available information, but after encountering obstacles in data retrieval, they resorted to extreme measures. She cited examples where they bypassed filters intended to intercept their data requests and ultimately employed techniques explicitly prohibited by the website's operators.

  • Ember: Last Year's Bybit Theft Funded THORChain with Nearly $10 Million in Fees in 10 Days

    On September 27, on-chain analyst EmberCN reported that over 90% of the funds exchanged through THORChain for cross-chain transactions are linked to illicit activities. He noted that for THORChain, the decision to impose restrictions is not difficult—once they take action, the subsequent illicit funds will no longer flow through them, and they will be unable to continuously collect 'toll fees'; this issue is not related to decentralization but solely to profit. Ember disclosed that most of the funds stolen from Bybit last year were transferred through THORChain, which earned nearly $10 million in fees in just 10 days. Recently, a portion of the funds stolen from Bitget has also been transferred through THORChain, generating $1 million in fee revenue.

  • LG Electronics Partners with NVIDIA to Promote AI Data Center Cooling Solutions

    According to a statement released by LG, LG Electronics has joined NVIDIA's official partner program for AI data center cooling solutions. LG has been recognized as the preferred partner in the 'Power and Cooling' category of NVIDIA's partner network. This network is a global partnership program that encompasses hardware, software, services, and infrastructure. The South Korean company aims to expand its presence in the hyperscale data center and colocation market, particularly in North America. Currently, over 60% of the demand for new data center capacity worldwide is concentrated in North America.

  • Yuyuantan Sky: A Timeless Answer for China-U.S. Relations

    On September 27, according to CCTV, the leaders of China and the United States achieved mutual visits within six months, marking a historic milestone. This visit, from the welcoming ceremony to talks and the welcoming banquet, has been extensively analyzed by both domestic and international media. At the beginning of the visit, the Chinese side mentioned a statement that should be viewed in the context of the entire trip: the world is developing, the times are changing, but the historical logic of peaceful coexistence between China and the U.S. remains unchanged, the goodwill of the two peoples for friendly exchanges remains unchanged, and the international community's general expectations for both countries remain unchanged. Today, China-U.S. relations stand at a new historical starting point. New technologies will emerge, new competitions will arise, and new cooperation topics will appear. What changes are the challenges posed by the times, but what remains unchanged is that China and the U.S. must always find ways to coexist and work together. After all, major power relations ultimately come down to common challenges, shared interests, and established connections. The times will continue to change, and China-U.S. relations will also continue to move forward.

  • Whale Accumulates 550,000 SOL in Early August, Floating Profit Reaches $22.43 Million

    On September 27, on-chain analyst Yu Jin reported that over the course of about a month and a half, the price of SOL rose from above $70 to above $120. A whale address that accumulated 550,000 SOL at an average price of $80.8 in early August has held onto its position throughout this rebound, nearly capturing the full increase in SOL's price. The current floating profit is approximately $22.43 million.

  • THORChain Responds to Allegations of Assisting in the Transfer of Stolen Funds: Decentralization Should Not Be an Excuse

    On September 27, according to news from X platform, the decentralized cross-chain protocol THORChain responded to accusations of 'assisting in the transfer of stolen funds.' Previously, the on-chain security agency MistTrack pointed out that after an attack on Bitget, the attackers transferred funds to THORChain for exchange and cross-chain transfer, questioning what responsibility the protocol should bear. THORChain expressed deep regret over the recent attack incidents but emphasized that it is a decentralized and permissionless protocol, just like Bitcoin, Ethereum, and BNB Chain. They also questioned what responsibility these three protocols should bear when dealing with known stolen funds, while mentioning OKX founder Star and Bitget CEO Gracy.

  • ETH Surpasses $2700

    Market data shows that ETH has surpassed $2700, currently priced at $2703.38, with a 24-hour increase of 0.37%. The market is experiencing significant volatility, so please ensure proper risk management.

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