/mev-price-prediction

An MEV back-running template for ethers-rs

Primary LanguageRustMIT LicenseMIT

MEV price prediction

I show how to predict ChainLink price updates from the mempool. For the sake of illustration I work with AAVE V2 price oracles. Extend or modify this to cover your specific use case.

Run

Runs this with these environment variables

 RPC_HTTP_URL=<YOUR-HTTP-URL> 
 RPC_WS_URL=<YOUR-WS-URL> 
 cargo run

Checkout my blog post, where I talk about this!