Skip to content

Conversation

@wlawt
Copy link
Contributor

@wlawt wlawt commented Dec 17, 2025

Do not merge (build week hackathon project)

This PR explores the idea of setting up rblib, a custom block builder, which will supersede op-rbuilder, eventually in the future.

Goals of this experiment:

  • Setup skeleton of rblib by following the example
  • Setup the infra (dockerfiles)
  • Be able to sync the ExEx up to tip (using pruned snapshots)

Stretch:

  • Understand how to create custom bundle types
  • Understand how this fits in with UserOps
  • Explore other tx ordering methods

@wlawt
Copy link
Contributor Author

wlawt commented Dec 18, 2025

the tips-builder has been setup to do the following:

  1. Receives a UserOp from eth_send_user_operation
  2. After it passes validate_user_operations, add it to tips-user-operation topic.
  3. The tips-builder listens to tips-user-operation as a consumer.
  4. The builder creates a UserOperation bundle and inserts it in the middle of the block

References:

@wlawt
Copy link
Contributor Author

wlawt commented Dec 19, 2025

┌─────────────┐      ┌────────────┐      ┌─────────┐      ┌─────────┐
│ RPC Client  │─────▶│ Ingress-RPC│─────▶│  Kafka  │─────▶│ Builder │
└─────────────┘      └────────────┘      └─────────┘      └─────────┘
                            │                                    │
                            ▼                                    ▼
                     ┌─────────────┐                    ┌──────────────┐
                     │ Simulation  │                    │ OrderPool    │
                     │ (Validate)  │                    │ (Pipeline)   │
                     └─────────────┘                    └──────────────┘
                                                                │
                                                                ▼
                                                        ┌──────────────┐
                                                        │ Block (50%   │
                                                        │ regular txs) │
                                                        ├──────────────┤
                                                        │ ★ BUNDLER TX │
                                                        │ handleOps()  │
                                                        ├──────────────┤
                                                        │ Block (50%   │
                                                        │ regular txs) │
                                                        └──────────────┘

@James-Li-t
Copy link

poggers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants