mev-inspect-js icon indicating copy to clipboard operation
mev-inspect-js copied to clipboard

A JS port of "mev-inspect-py" optimised for ease of use.

Results 5 mev-inspect-js issues
Sort by recently updated
recently updated
newest added

When executing: `const inspector = new Inspector(1, provider);` I got error: > Error [ERR_REQUIRE_ESM]: require() of ES Module /home/myhome/Documents/ethereum/solidity/searcher/node_modules/mev-inspect/lib/index.js from /home/myhome/Documents/ethereum/solidity/searcher/index.ts not supported. > Instead change the require of index.js...

Now that I'm relatively confident that the package works well for a simple swaps and arbs, it would be cool to test it against transactions with large number of swaps...

While #11 is helpful, its information is limited: as I realised, Flashbots misses quite a handful of easy-to-detect MEV. Another strategy might be first to identify a few active MEV...

Before extracting swaps, we need to fetch pool assets from the blockchain. It's faster to fetch the assets in batches via Multicall.

Since we rely on event logs instead of call traces, and we know what logs to look for in advance, it would likely be more efficient to fetch them via...