← Back to home

MEV-Engine

A tool to help you find mev opportunities on starknet, sync data from the defi applications you need. If the defi app you looking for isnt supported implement the trait, and rest else should work.

Screenshots

MEV-Engine screenshot 1
MEV-Engine screenshot 2
MEV-Engine screenshot 3
MEV-Engine screenshot 4

Problem Statement

MEV-Engine is a library written in Rust which is a simple and modular framework for writing MEV bots or strategies. MEV searchers face significant challenges when tracking opportunities across different protocols. Each protocol often has its own unique architecture, transaction sequencing, and state synchronization patterns, requiring searchers to constantly adapt their bots to monitor various sources for profitable trades. This crate is implemented with keeping modularity in mind to interact with a variety of AMMs for now. We also plan to extend this library for aggregating various lending-borrowing protocols as well.

Solution

We use starknet.rs to build the interactions and provide data.You can get all data about AMMs like 10kswap, Jediswap based the factory addresses provided.It can get all the pools cache and store them in a cache-file. It will be able to resume syncing reading the cache.It can read events in the background from each block, likePairCreatedto sync and add it to the system.Updating reserves on the go and making calculation about possible opportunities and tap them.

Hackathon

ETHGlobal Singapore

2024

Prizes

  • 🏆

    Build MEV infrastructure product

    Nethermind

Contributors