Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERC-4337: milestone planning #820

Open
JeneaVranceanu opened this issue May 22, 2023 · 1 comment
Open

ERC-4337: milestone planning #820

JeneaVranceanu opened this issue May 22, 2023 · 1 comment
Assignees
Labels
4.0 enhancement New feature or request

Comments

@JeneaVranceanu
Copy link
Collaborator

What context is your feature request related to?

ERC-4337

This issue is focused on preparing a milestone, a clear vision and a path for implementing the ERC-4337 support.

What solution would you like?

Most parts of ERC-4337 are not related to web3swift in terms that web3swift does not provide node software. The plan and the complete backlog of tasks to be completed to mark ERC-4337 as supported shouldn't be large.

image
Image borrowed from medium post.

Out of these 4 stages shown in the image we only touch on the first: Users and Applications.
At least that's my understanding at the moment. We will see what else we need as we go.

Any additional context?

No response

@JeneaVranceanu
Copy link
Collaborator Author

JeneaVranceanu commented May 22, 2023

Ah, okay, I see more intersections with the library.

I'll quickly draft an incomplete list of things we need:

  • new model UserOperation;
  • API to send UserOperation to mempool. I expect a way similar to eth_sendTransaction/eth_sendRawTransaction but now for UserOperation;
  • default implementation of EntryContract with the ability to call it directly. In case user wants to a bundle of 1 or more UserOperation objects;
  • Bundler implementation - a way to bundle operations locally (do we need it/can we implement it? Not sure about the "For each aggregator, run the aggregator-specific code to create aggregated signature, and update the UserOps" in the Bundler's algorithm).

The more I read the standard the more tasks I see.
I'll have to devote a healthy chunk of time to make something useful that we can eventually call a plan.

All thoughts are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant