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

Implement user operation bundling on selected chains #701

Open
TheDivic opened this issue Sep 17, 2024 · 0 comments
Open

Implement user operation bundling on selected chains #701

TheDivic opened this issue Sep 17, 2024 · 0 comments
Labels
⬆️ Enhancement Enhancement to an existing feature or capability

Comments

@TheDivic
Copy link
Collaborator

TheDivic commented Sep 17, 2024

What?

Implement bundling of user operations on selected chains that have the most volume in our system.

Why?

Currently we don't bundle, we just relay one user operation per transaction. If we want to conform to ERC-4337 standards we should start bundling, and it will probably also save us money and gas on high-volume transactions.

How?

To do this we need the following:

  • A bundler private "mempool" implementation (currently we just have a FIFO queue, powered by RabbitMQ)
  • A strategy to pick and bundle user operations
  • A way to handle low-volume -- meaning no one should wait for too long for their user op to be included in a bundle if there are no other user ops to fill the bundle with. If it's not relayed within Xms we should just relay it in a standalone transaction containing only one user op.
@TheDivic TheDivic added ⬆️ Enhancement Enhancement to an existing feature or capability Backend labels Sep 17, 2024
@TheDivic TheDivic added this to the Make the bundler presentable milestone Sep 17, 2024
@TheDivic TheDivic added 🤝🏻 TrustWallet Tasks related to TrustWallet ✨ Feature New feature addition ⬆️ Enhancement Enhancement to an existing feature or capability and removed ⬆️ Enhancement Enhancement to an existing feature or capability ✨ Feature New feature addition Backend 🤝🏻 TrustWallet Tasks related to TrustWallet labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ Enhancement Enhancement to an existing feature or capability
Projects
None yet
Development

No branches or pull requests

1 participant