https://github.com/leruaa/alloy-mev
An Alloy transport to send transaction bundles via Flashbots.
https://github.com/leruaa/alloy-mev
alloy flashbots mev
Last synced: 7 months ago
JSON representation
An Alloy transport to send transaction bundles via Flashbots.
- Host: GitHub
- URL: https://github.com/leruaa/alloy-mev
- Owner: leruaa
- License: mit
- Created: 2023-11-29T22:39:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T20:31:26.000Z (about 1 year ago)
- Last Synced: 2025-06-03T00:04:45.611Z (7 months ago)
- Topics: alloy, flashbots, mev
- Language: Rust
- Homepage:
- Size: 128 KB
- Stars: 105
- Watchers: 3
- Forks: 25
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alloy MEV
Easily send transaction bundles to MEV-Share or block builders using [Alloy].
You can have a look at [the docs] to help you get started. There are also
some [examples] available.
[Alloy]: https://github.com/alloy-rs/alloy
[the docs]: https://docs.rs/alloy-mev/latest/alloy_mev/
[examples]: https://github.com/leruaa/alloy-mev/tree/main/examples
## Installation
Add `alloy-mev` to your `Cargo.toml`:
```toml
alloy-mev = "0.5"
```
## Features
### MEV-Share
This crate contains the [`MevShareProviderExt`] extension trait. When it's
in scope, it adds methods to send bundles to the Flashbots matchmaker on a
provider built on an HTTP transport.
### Blocks builders
This crate also contains the [`EthMevProviderExt`] extension trait that adds
methods to broadcast bundles to blocks builders on a provider built on an
HTTP transport.
## Credits
- [alloy]
- [ethers-flashbots]
- [mev-share-rs]
[alloy]: https://github.com/alloy-rs
[ethers-flashbots]: https://github.com/onbjerg/ethers-flashbots
[mev-share-rs]: https://github.com/paradigmxyz/mev-share-rs
[`MevShareProviderExt`]: https://docs.rs/alloy-mev/latest/alloy_mev/trait.MevShareProviderExt.html
[`EthMevProviderExt`]: https://docs.rs/alloy-mev/latest/alloy_mev/trait.EthMevProviderExt.html