lyknice23 / mev-inspect-rs

Discover historic Miner Extractable Value (MEV) opportunities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEV Inspect

Ethereum MEV Inspector in Rust
Further documentation on mev-inspect-rs available here

Inspectors

  • Curve
  • Balancer
  • Uniswap (& clones)
  • Aave
  • Compound
  • 0x
  • DyDx

Installing

cargo build --release

Running the CLI

Usage: ./target/release/mev-inspect [OPTIONS]

Optional arguments:
  -h, --help
  -r, --reset              clear and re-build the database
  -o, --overwrite          do not skip blocks which already exist
  -u, --url URL            The tracing / archival node's URL (default: http://localhost:8545)
  -c, --cache CACHE        Path to where traces will be cached
  -d, --db-cfg DB-CFG      Database config
  -D, --db-table DB-TABLE  the table of the database (default: mev_inspections)

Available commands:
  tx      inspect a transaction
  blocks  inspect a range of blocks

Running the tests

Tests require postgres installed.

cargo test

About

Discover historic Miner Extractable Value (MEV) opportunities

License:MIT License


Languages

Language:Rust 97.8%Language:Python 2.2%