project screenshot 1
project screenshot 2
project screenshot 3

MEV-Share Uni-Sushi Arb Bot

A MEV searching bot that does probabilistic Uniswap/Sushiswap arbitrage on MEV-Share

MEV-Share Uni-Sushi Arb Bot

Created At

ETHGlobal Paris

Winner of

🤖 Flashbots — Best MEV-share Bot

Project Description

This project implements a simple probabilistic UniswapV2/Sushiswap arbitrage on MEV-Share We first load all WETH pools that exist on both Uniswap V2 and Sushiswap for which WETH is the second token in the pair. Then we listen for MEV-Share events. If there is a transaction that is made to one of the pool addresses, we then submit a range of backrun transactions. Within the backrun transactions, we first trade at the pool address which was emitted in the log, and then try arbitraging by placing a swap on the other DEX (so depending on the event detected, either we first trade on Uniswap then Sushiswap, or vice versa).

How it's Made

This project utilizes Flashbot's MEV-Share. The searching strategy was built on top of the Artemis MEV-Share template (https://github.com/FrankieIsLost/artemis-mev-share-template) in Rust. I added the list of Uni/Sushi WETH pairs from the original Artemis repo into the project to load in all the relevant addresses, and then modified the searching execution code and contracts to switch the arbitrage from Uniswap V2/V3 to Uniswap/Sushiswap.

background image mobile

Join the mailing list

Get the latest news and updates