Tirtha Profile picture
Mar 23 โ€ข 17 tweets โ€ข 4 min read
"ERC-4337" - the future of Ethereum wallets or another trust trap? ๐Ÿ”

Last night, I listened in on an interesting conversation hosted by @_joinfire in their Twitter Space.

People seem to be both excited and skeptical about it.

Let's dive in and understand a little...
๐Ÿงต1/17๐Ÿงต
๐Ÿ—‚๏ธ Things we will be talking about:

- What is ERC-4337?
- Account Abstraction
- UserOperations
- Alternative Mempool
- Entry Point
- Paymaster
- Trust issues

๐Ÿงต2/17๐Ÿงต
First, what is ERC-4337? ๐Ÿค” โ”

It's a proposed #Ethereum Improvement Proposal (EIP) that aims to enhance wallet UX, reduce gas fees, and secure off-chain transactions. Let's look at some of the key-components of this EIP.

๐Ÿงต3/17๐Ÿงต
"Account abstraction" is the buzz when discussing #ERC4337.

AA decouples Ethereum's account model, enabling users to define their own account logic.

You can create custom rules for validating transactions, signing messages, and even managing access.

๐Ÿงต4/17๐Ÿงต
One key aspect of AA is the ability to create "Smart Contract Wallets."

It bridges the gap between EOAs and smart contracts, allowing users to create unique transaction types, gas fee models, and privacy features.

The possibilities are endless! ๐Ÿš€๐ŸŒˆ

๐Ÿงต5/17๐Ÿงต
๐Ÿ›ก๏ธ๐Ÿ” With AA, users can implement
- Advanced security measures like multi-signature wallets.
- Complex access control systems.
- Social recovery and batch transactions.

It's like having a digital fortress for your crypto assets!? But hold your ๐Ÿด, there's more to it!

๐Ÿงต6/17๐Ÿงต
๐Ÿงฉ๐Ÿ”ฎ UserOperations are at the heart of ERC4337, but what are they exactly?

They are off-chain transactions. Containing all the necessary information for a transaction, such as sender, recipient, value, and data, but they're processed off-chain, reducing network load.

๐Ÿงต7/17๐Ÿงต
๐ŸŠโ€โ™‚๏ธ๐Ÿ”€ Let's dive deeper into some other ERC4337 features, like altmempool, bundlers, entrypoint, and paymaster. These components play a crucial role in the User Operation ecosystem, helping it function smoothly.

๐Ÿงต8/17๐Ÿงต
๐Ÿ—„๏ธ๐Ÿ”€ Altmempool is a term used for an alternative mempool, where User Operations are stored before being executed.

It separates User Operations from regular on-chain transactions, optimizing the experience and reducing congestion.

๐Ÿงต9/17๐Ÿงต
Bundlers are the unsung heroes, the oompa-loompas of ERC4337.

They collect User Operations from the altmempool, batch them, and submit them to the #blockchain. This process is what helps to reduce gas fees and improve overall efficiency. ๐Ÿฆธโ€โ™€๏ธ๐Ÿฆธโ€โ™‚๏ธ

๐Ÿงต10/17๐Ÿงต
The Entrypoint smart contract receives bundled User Operations from bundlers and serves as a bridge between off-chain processing and on-chain execution.

It ensures the conditions specified by users are met, and verifies that the operations haven't been tampered with.

๐Ÿงต11/17๐Ÿงต
๐Ÿ’ฐ๐Ÿ›ก๏ธ Paymasters enter the scene when meta-transactions are used. They reimburse relayers for the gas fees they pay while processing User Operations.

In return, paymasters get compensated with a fee, ensuring a fair system for everyone involved. ๐Ÿฆ

๐Ÿงต12/17๐Ÿงต
These features combined make ERC4337 a versatile and powerful proposal ๐Ÿ’ช ๐Ÿ‹๏ธ Like a swiss-army knife!

๐Ÿšจ But wait, there's a catch! Some critics argue that ERC4337 might be a trust trap.

๐Ÿค”๐Ÿ” There is an element of trust in the ERC4337 proposal...

๐Ÿงต13/17๐Ÿงต
๐Ÿ“จ๐Ÿšฆ Relayers and bundlers are responsible for submitting User Operations to the blockchain.

This means they have the power to potentially censor, delay, or prioritize transactions based on their own preferences or incentives. ๐Ÿšงโš ๏ธ

๐Ÿงต14/17๐Ÿงต
๐ŸŒ๐Ÿ”— The involvement of third parties like relayers and bundlers can be seen as a form of centralization, which goes against the core principles of decentralization in the blockchain space.

This raises trust-related concerns for some community members.

๐Ÿงต15/17๐Ÿงต
๐Ÿค”๐Ÿ’ญ On one hand, it promises better UX, reduced fees, and more flexibility. On the other, it may introduce centralization risks.

As always, it's up to the community to decide. If implemented correctly, ERC4337 could revolutionize wallet interactions.

๐Ÿงต16/17๐Ÿงต
Wheew! ๐Ÿ˜ฎโ€๐Ÿ’จ

The thread went longer than expected. There's lot more going on, this is just a general overview.

What do you think about ERC4337? Are you excited about the possibilities, or do you have concerns?

Hope the information was useful and if so kindly ๐Ÿ’™ ๐Ÿ”

๐Ÿงต17/17๐Ÿงต

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Tirtha

Tirtha Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @sarkerium

Mar 21
๐ŸงตHow to quickly setup an Ethereum node without much hassle? ๐Ÿš€

Let us learn step-by-step on how to set up an Ethereum node using Docker Swarm.

Docker Swarm makes it easy to deploy, manage, and scale your node in a decentralized network.
Lets Goooo!
(1/10)
Prerequisites ๐Ÿ“‹
Before we start, make sure you have:

- Docker and Docker Swarm installed
- Basic knowledge of Docker, Docker Swarm, and Ethereum nodes

If you need help with these prerequisites, refer to the official docs:
docs.docker.com/get-docker/
(2/10)
Creating a Docker Swarm service ๐Ÿณ

We start off by creating a new Ethereum node service in your Docker Swarm by running the following command.

It will setup necessary ports and a volume for data.
(3/10) Image
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(