Crypto Tax season is here. Start planning with our free playbook →
Follow Us

ELI5: Account Abstraction

Stablecoins and careers

ELI5: Account Abstraction

To fully grasp the concept of account abstraction, it’s crucial to first comprehend how Ethereum accounts function at present.
Ethereum houses two distinct types of accounts:

  1. Externally Owned Accounts (EOA)
  2. Contract Accounts (CA)

In this discussion, we will predominantly concentrate on EOAs as they currently hold significant relevance to users. These EOAs will occasionally be referred to as Accounts. To gain deeper insights into Contract Accounts, you can explore this link.
As the term suggests, EOAs are accounts managed by entities external to the blockchain, primarily, the users.
EOAs are characterized by three principal attributes:

  1. A balance that denotes the amount of ETH assigned to the account.
  2. A nonce that guarantees the uniqueness of every transaction.
  3. An address that distinguishes the account within the network. The status of the blockchain and thus, of an account, can only be altered through transactions. This initiating factor must originate externally to the blockchain, which is why every transaction on Ethereum must commence from an EOA. This implies that whenever a transaction is processed by the Ethereum Virtual Machine (EVM), the first account implicated must be an EOA, and the concerned account must remunerate a fee to the miner for the entire transaction’s execution.

The problem…

Despite its clarity, this binary system introduces some complexities and stifles the full potential of Ethereum’s network. It’s somewhat akin to a talented pianist being confined to play only on a small keyboard. The range of music they can produce is inevitably limited. Specifically:

  1. It dictates that the gas fee, the toll fee for the highway of Ethereum transactions, be paid strictly in Ether (ETH).
  2. It restricts the type of signature schemes that can be used, supporting only a specific variety of digital signature algorithm, the ECDSA.

The Solution…

Let’s reimagine the relationship between the entity storing your tokens (the account) and the entity authorized to transfer these tokens (the signer).

How can we do this?

By transforming accounts into smart contracts with their unique logic to establish what constitutes a valid transaction. The only mandate is that they should comply with a specific interface that has methods to validate and execute transactions.

In tech-speak, we’d say that the account has undergone abstraction, giving rise to the term ‘account abstraction’.

Instantly, we can perceive the immense power of this concept. The notion of a one-size-fits-all account is replaced by the opportunity for each user to possess an account tailored to their individual needs.

  • Wish to employ a different signing scheme other than ECDSA? No issue, you can design an account for that.
  • Fancy using multiple keys for transaction authorization? No worry, you can create an account for that.
  • Want to switch your account’s signer every week? No hassle, you can engineer an account for that.

Abstraction

Five Practical Benefits of Account Abstraction?

1️⃣Transaction Grouping

Instead of signing off on each micro-action, you can authorize a group of transactions in one go — similar to buying multiple items at a supermarket and paying for them all at once, rather than individually for each item. This process simplifies crypto interactions for users.

2️⃣Custom Fee Structures

Running out of ether isn’t a setback anymore. Take the reins and cover the gas fees for your users or provide them with the option to pay in stablecoins. The flexibility to customize fee structures as per needs is a tangible advantage.

3️⃣Flexible Authentication

Users can define their preferred method of transaction approval, opening doors for session keys, BLS signatures, JWT authentication, multi-sig mechanisms, account recovery, and more. Outsourcing signature logic to an aggregator is also an option. This flexibility is akin to having multiple keys to unlock the same door.

4️⃣Simplified Language Usage

The necessity to understand and use technical jargon like “gas” or “nonce” is eliminated as the contract takes care of the intricate blockchain details. This clarity is a significant leap towards fostering broader crypto adoption and enhancing security.

5️⃣Customized Security

You can tailor account security models to boost protection. For example, you can put spending caps on certain devices, demand multisig for specific transactions, and incorporate any logical system that can be integrated into a smart contract. It’s akin to having a customizable security system for your digital assets.

There’s Always Risks…

While account abstraction harbors numerous advantages, it’s vital to acknowledge potential downsides. For instance, it could complicate the tracking of fund movements within the blockchain ecosystem and potentially expose new avenues for attackers to exploit.

To offset these potential pitfalls, the implementation of stringent security protocols and comprehensive testing prior to deploying any account abstraction-enabled smart contracts are crucial steps.

In Summary

Account abstraction emerges as a potent construct with the promise to transform our engagement with blockchain infrastructures. It offers developers the platform to craft advanced wallets and invent novel transaction types. Despite the associated potential risks, strategic planning and implementation can morph account abstraction into a valuable instrument for developing decentralized applications.

ELI5: Account Abstraction

To fully grasp the concept of account abstraction, it’s crucial to first comprehend how Ethereum accounts function at present.
Ethereum houses two distinct types of accounts:

  1. Externally Owned Accounts (EOA)
  2. Contract Accounts (CA)

In this discussion, we will predominantly concentrate on EOAs as they currently hold significant relevance to users. These EOAs will occasionally be referred to as Accounts. To gain deeper insights into Contract Accounts, you can explore this link.
As the term suggests, EOAs are accounts managed by entities external to the blockchain, primarily, the users.
EOAs are characterized by three principal attributes:

  1. A balance that denotes the amount of ETH assigned to the account.
  2. A nonce that guarantees the uniqueness of every transaction.
  3. An address that distinguishes the account within the network. The status of the blockchain and thus, of an account, can only be altered through transactions. This initiating factor must originate externally to the blockchain, which is why every transaction on Ethereum must commence from an EOA. This implies that whenever a transaction is processed by the Ethereum Virtual Machine (EVM), the first account implicated must be an EOA, and the concerned account must remunerate a fee to the miner for the entire transaction’s execution.

The problem…

Despite its clarity, this binary system introduces some complexities and stifles the full potential of Ethereum’s network. It’s somewhat akin to a talented pianist being confined to play only on a small keyboard. The range of music they can produce is inevitably limited. Specifically:

  1. It dictates that the gas fee, the toll fee for the highway of Ethereum transactions, be paid strictly in Ether (ETH).
  2. It restricts the type of signature schemes that can be used, supporting only a specific variety of digital signature algorithm, the ECDSA.

The Solution…

Let’s reimagine the relationship between the entity storing your tokens (the account) and the entity authorized to transfer these tokens (the signer).

How can we do this?

By transforming accounts into smart contracts with their unique logic to establish what constitutes a valid transaction. The only mandate is that they should comply with a specific interface that has methods to validate and execute transactions.

In tech-speak, we’d say that the account has undergone abstraction, giving rise to the term ‘account abstraction’.

Instantly, we can perceive the immense power of this concept. The notion of a one-size-fits-all account is replaced by the opportunity for each user to possess an account tailored to their individual needs.

  • Wish to employ a different signing scheme other than ECDSA? No issue, you can design an account for that.
  • Fancy using multiple keys for transaction authorization? No worry, you can create an account for that.
  • Want to switch your account’s signer every week? No hassle, you can engineer an account for that.

Abstraction

Five Practical Benefits of Account Abstraction?

1️⃣Transaction Grouping

Instead of signing off on each micro-action, you can authorize a group of transactions in one go — similar to buying multiple items at a supermarket and paying for them all at once, rather than individually for each item. This process simplifies crypto interactions for users.

2️⃣Custom Fee Structures

Running out of ether isn’t a setback anymore. Take the reins and cover the gas fees for your users or provide them with the option to pay in stablecoins. The flexibility to customize fee structures as per needs is a tangible advantage.

3️⃣Flexible Authentication

Users can define their preferred method of transaction approval, opening doors for session keys, BLS signatures, JWT authentication, multi-sig mechanisms, account recovery, and more. Outsourcing signature logic to an aggregator is also an option. This flexibility is akin to having multiple keys to unlock the same door.

4️⃣Simplified Language Usage

The necessity to understand and use technical jargon like “gas” or “nonce” is eliminated as the contract takes care of the intricate blockchain details. This clarity is a significant leap towards fostering broader crypto adoption and enhancing security.

5️⃣Customized Security

You can tailor account security models to boost protection. For example, you can put spending caps on certain devices, demand multisig for specific transactions, and incorporate any logical system that can be integrated into a smart contract. It’s akin to having a customizable security system for your digital assets.

There’s Always Risks…

While account abstraction harbors numerous advantages, it’s vital to acknowledge potential downsides. For instance, it could complicate the tracking of fund movements within the blockchain ecosystem and potentially expose new avenues for attackers to exploit.

To offset these potential pitfalls, the implementation of stringent security protocols and comprehensive testing prior to deploying any account abstraction-enabled smart contracts are crucial steps.

In Summary

Account abstraction emerges as a potent construct with the promise to transform our engagement with blockchain infrastructures. It offers developers the platform to craft advanced wallets and invent novel transaction types. Despite the associated potential risks, strategic planning and implementation can morph account abstraction into a valuable instrument for developing decentralized applications.

Subscribe To Our Newsletter

Get updates and learn from the best

Share this story

More To Explore