alloy-rs/examples

Add example of using Flashbots

zerosnacks opened this issue ยท 5 comments

Additionally we could show use of MEV Share, as it is a package Paradigm maintains: https://github.com/paradigmxyz/mev-share-rs

FYI It's still mostly on ethers

should be easy to migrate though

should be easy to migrate though

Started working on the migration here: https://github.com/zerosnacks/mev-share-rs/tree/zerosnacks/migrate-to-alloy

Given that no direct replacement of ethers-flashbots exists yet I'll close this ticket as resolved with #93

The mev-share-rs migration likely makes sense once alloy-flashbots exists, not as a provider extension, but rather as a separate client using lower level alloy primitives for bundles / json rpc.

This is pretty good, and I think could be worth extracting to alloy-mev https://github.com/dexloom/loom/blob/main/crates/flashbots/src/client/middleware.rs