• Dapps:16.23K
  • Blockchains:78
  • Active users:66.47M
  • 30d volume:$303.26B
  • 30d transactions:$879.24M
Understanding Account Abstraction for Crypto Wallets: Basics and Functions

Understanding Account Abstraction for Crypto Wallets: Basics and Functions

user avatar

by dapp_writer_sm

a year ago


Account Abstraction (AA) is a technology that expands the capabilities of cryptocurrency wallets, provides a high level of security, and enhances user experience. The ERC-4337 standard, introduced in March, implements the concept of AA, allowing wallets to be transformed into smart contract accounts. Many developers believe that widespread adoption of this technology will accelerate the transition from Web 2.0 to Web3 and attract a multitude of users to the Ethereum network.

Contents:

Abstract Records for Cryptocurrency Wallets

What is Account Abstraction?

Account abstraction is a strategy for configuring a blockchain network in which users' financial resources are stored in smart contracts rather than external owned accounts (EOAs). Under this approach, a typical cryptocurrency wallet is transformed into a unique smart contract that can be programmed for various purposes.

In March 2023, Ethereum introduced the ERC-4337 standard, implemented through the EntryPoint smart contract. This standard, successfully audited by Open Zeppelin, introduces account abstraction to the Ethereum network as well as to Polygon, Optimism, Arbitrum, BNB Smart Chain, Avalanche, and Gnosis Chain. It allows the transformation of user wallets into smart contract accounts, making addresses more convenient and protecting against key loss.

The ERC-4337 standard integrates into the blockchain infrastructure without modifications and aims to address the limitations of user interaction with Ethereum. It streamlines batch transaction processing and eliminates the need to hold a large amount of ETH in wallets for fee payments. This approach enhances account security, improves user experience, and expands opportunities for developers.

How Does Account Abstraction Work (AZE)?

According to the description in the ERC-4337 standard, the key components of AZE are:

  1. UserOperation
  2. Bundler
  3. Sender
  4. EntryPoint
  5. Paymaster
  6. Aggregator

These components work together to provide Web3 developers with the ability to create smart contract-based wallets that easily interact with the new ecosystem of decentralized applications (dApps).

Component Description UserOperation A structure that describes user actions in the system. It contains parameters such as sender, recipient, call data, gas fee, and more. It enables programmatic authentication of transactions. EntryPoint A contract for verifying and processing UserOperations received from Bundlers. It checks the sender's funds for gas payment and interacts with the account using calldata. Bundler A specialized bundler that combines user operations into a complex transaction and directs it to the EntryPoint contract. It receives compensation for this process and gas fees. Aggregator An auxiliary contract for verifying aggregated signatures. It optimizes the processing of UserOperation batches and saves resources when working with calldata. Paymaster A smart contract based on ERC-4337, providing flexibility in gas usage. It allows paying fees in various cryptocurrencies, including stablecoins, and enables sponsorship of gas fees.

ERC-4337 combines concepts from previous EIPs, specifically EIP-2938 and EIP-3074. EIP-2938 introduced the concept of transforming smart contracts into "first-class accounts" capable of paying fees and initiating transactions. This approach was developed by Vitalik Buterin, one of the co-founders of Ethereum, among others.

EIP-3074 introduced the idea of "delegating control of an external address (EOA) to a smart contract."

ERC-4337 incorporates key concepts from both previous EIPs while complementing them with the creation of an alternative mempool. This allows the new standard to be used without changes at the consensus level.

What Opportunities Does AZE Open Up?

Vitalik Buterin presents account abstraction as a catalyst capable of attracting a massive number of users to the Ethereum ecosystem. He believes that implementing this technology will open doors for fee payments not only in ETH but also in other cryptocurrencies chosen by the user for transfers. Furthermore, this extension will enable decentralized applications to effectively "sponsor" transaction fees for their users.

What Opportunities Does AZE Open Up

Using the "signature abstraction" technology, rollup developers will be able to combine signatures, significantly reducing gas fee costs.

Additional benefits include:

  1. Enhanced security methods that offer new possibilities.
  2. Account recovery options in case of key loss to enhance user security.
  3. Combining different transactions, allowing the bundling of stages, such as confirmation and execution of exchange operations, in one click.
  4. Extensive tools to improve wallet and application developer experiences, as well as user interfaces.
  5. Transaction scheduling and batch processing for process optimization.
  6. The ability to pay gas fees with stablecoins.
  7. Alternative transaction signature methods for more flexibility.
  8. Automation of operations, including rebalancing of investment portfolios and dollar-cost averaging strategies.

However, the implementation of AZE comes with certain challenges. After converting user accounts into smart contracts, it is necessary to ensure the stable operation of the function in second-layer networks. There are also potential issues with integrating biometric technologies and wallets, as stated by Buterin himself.

How Does Account Abstraction Improve Wallet Security?

In today's environment, the security of users' funds directly depends on the reliability of private key management and associated seed phrases. Any unauthorized access to these valuable data gives malicious actors complete control over cryptocurrency assets.

This situation means that in case of losing a private key, access to digital assets is lost forever—either they go to the attacker or remain inaccessible. It's clear that there are widespread phishing attempts in the network aimed at uncovering seed phrases.

The principle of account abstraction helps address this problem by using smart contracts to manage assets and authorize transactions, significantly improving user convenience as well.

For example, additional backup keys can be created in case of potential loss of primary ones. Additionally, the storage of wallet data can be delegated to trusted parties, increasing the complexity for potential attackers trying to gain full control over a user's funds.

This system can also organize scenarios where small transactions are approved by a single signer, while larger ones require multiple signatures.

Smart wallets offer the following capabilities:

  • Creating "whitelists" of trusted addresses for receiving cryptocurrency, enhancing asset protection in case of private key theft.
  • Freezing an account from another authorized device if the primary device for storing digital assets is lost.
  • Adding pre-approved accounts that can authorize new devices in case of old device loss or password reset (the "social recovery" process).
  • Setting limits on the amount of transfers from an account within a day, week, or month.

Thus, using account abstraction technology and smart contracts enhances the security and convenience for cryptocurrency users, providing them with more reliable tools to manage their digital assets.

How Does AZE Improve User Interaction?

Account abstraction implies the integration of wallets through smart contracts at the protocol level, allowing developers to experiment with improving user interaction (UX).

One obvious way to enhance UX is to group transactions to increase operational speed and efficiency. This enables users to complete token exchanges on a DEX and approve expenditures with a single click.

How Does AZE Improve User Interaction

Users no longer need to worry about having enough ETH for gas fees. When necessary, a smart contract will automatically exchange tokens for ether and use it to pay fees.

This abstraction also opens the door to trusted sessions, useful in gaming applications where multiple small transactions require quick approval.

Optimizing the purchasing process is another advantage of account abstraction. It will make the experience similar to interacting with traditional marketplaces, allowing users to add items to a "cart" and purchase everything with a single click, with the smart contract handling intermediate transactions and approvals.

What Stage Is the Implementation of the Account Abstraction System At?

Currently, active attention is being devoted to the development of wallets based on smart contracts. New developments prioritize security and enhancing user experiences.

In early March, the development team behind the platform for managing digital assets, Safe (previously known as Gnosis Safe), introduced a developer toolkit (SDK) that is already available for use on various blockchain networks.

This innovative product, named Safe{Core}, offers the option to use social media account-based authentication as an alternative to traditional cryptocurrency storage methods using public and private keys.

This tool was developed in active collaboration with major payment provider Stripe, as well as Web3 infrastructure providers Gelato and Web3Auth.

Account abstraction is the key to attracting millions of new users. It aims to make the use of Web3 as convenient as Web 2.0stated Richard Meissner, co-founder of Safe.

In July, ERC-4337 was integrated into the account abstraction of Safe{Core} developers version 1.4.1.

Representatives of the Safe project noted that the new ERC-4337 provides a more user-friendly interface, including features such as formless login, social recovery, batch transactions, hybrid storage customization, and other enhancements. Additionally, authorization-related solutions are also in development by projects such as Alchemy, Starkware, and ConsenSys (MetaMask Snaps platform).

0

Share

Other articles

TA⅄A — The Future of Blockchain: Decentralized Finance, Scalability, and Security

TA⅄A is an innovative blockchain project addressing key challenges in decentralized finance, security, and scalability. This article explores its features, goals, prospects, and opportunities for users and investors.

user avatardapp_admin013

13 hours ago

MATR1X FIRE: An overview of an innovative cyberpunk shooter with NFT elements

MATR1X FIRE is a mobile first—person shooter with elements of cyberpunk and blockchain. The game combines dynamic gameplay with NFT ownership, allowing you to trade digital assets and earn money in the game world.

user avatardapp_writer007

14 hours ago

A detailed review of Lords Forsaken, a mythological NFT card game with play—to-earn mechanics

Lords Forsaken is an NFT card game where mythology meets blockchain. Collect the cards of the gods, fight in strategic battles and earn cryptocurrency thanks to the play-to-earn mechanics.

user avatardapp_writer007

18 hours ago

Quizmatch is a new era of quizzes with artificial intelligence and prizes

Quizmatch is an innovative AI quiz platform offering tournaments, competitions with friends and real prizes. This combination of learning and play makes the process exciting and motivating.

user avatardapp_writer007

a day ago

Super Champs Game Review: Racket Rampage is a tennis role—playing game with NFT elements

Super Champs: Racket Rampage is a mobile game from Joyride Games where tennis is combined with RPG. Players fight unique heroes with unusual equipment, completing missions, PvP and using NFT.

user avatardapp_writer007

a day ago

Wild Forest Game Review — a new era of strategies with blockchain integration

Wild Forest is an innovative Play—to-Earn strategy combining classic gameplay with earning opportunities through NFT and tokens. Players receive valuable rewards for in-game achievements.

user avatardapp_writer007

2 days ago

dapp expert logo
© 2020-2024. DappExpert. All rights reserved.
© 2020-2024. DappExpert. All rights reserved.

Important disclaimer: The information presented on the Dapp.Expert portal is intended solely for informational purposes and does not constitute an investment recommendation or a guide to action in the field of cryptocurrencies. The Dapp.Expert team is not responsible for any potential losses or missed profits associated with the use of materials published on the site. Before making investment decisions in cryptocurrencies, we recommend consulting a qualified financial advisor.