cypherpunk-symposium/dark-forest-toolkit

๐Ÿ‘พ notes and resources on blockchain's maximal extractable value (MEV): on the hope of non-predatory free markets in the metaweb

Shell

1,112

1,036 commits

updated Oct 22, 2025

See the code

README

โ›“๐Ÿ•น mev for everybody


tl; dr:


๐Ÿ‘พ maximal extractable value encompasses the profits generated by participant parties in the block production supply chain. for searchers, this revenue can be generated from arbitrage when reducing the price spread between markets, slippage loss of swap users, frontrunning users' transactions, among other strategies.
๐Ÿ’™ mev extraction can be a force of good in a non-predatory and fair blockspace free-market as an incentive for economic security. every actor in the supply chain is relevant. order flow toxicity is a trader's exposure to counter-parties that possess private informational advantages. as everything in life, the most valuable commodity is information.
๐Ÿดโ€โ˜ ๏ธ this repository is an on-going catalog from my own research and development. if you are passionate about self-sovereignty and love solving complex problems, don't be intimidated: do your homework and join us, because everything is mev.



I. learn (toxic and non-toxic) extraction strategies

atomic (tx ordering)
statistical (informed signal)

II. code up your (learning and experimental) bots

III. understand the chains and how mev differs on each of them

IV. understand (and join) the space

arbitrage-bot
autism
avalanche
backrunning
blockchain
bots
cypherpunk
defi
ethereum
flashbots
frontrunning
liquidation
liquidator
mempool
mev
oracles
relays
rust
sandwich-attacks
solidity

cypherpunk-symposium/dark-forest-toolkit

๐Ÿ‘พ notes and resources on blockchain's maximal extractable value (MEV): on the hope of non-predatory free markets in the metaweb

Shell

1,112

1,036 commits

updated Oct 22, 2025

See the code

README

โ›“๐Ÿ•น mev for everybody


tl; dr:


๐Ÿ‘พ maximal extractable value encompasses the profits generated by participant parties in the block production supply chain. for searchers, this revenue can be generated from arbitrage when reducing the price spread between markets, slippage loss of swap users, frontrunning users' transactions, among other strategies.
๐Ÿ’™ mev extraction can be a force of good in a non-predatory and fair blockspace free-market as an incentive for economic security. every actor in the supply chain is relevant. order flow toxicity is a trader's exposure to counter-parties that possess private informational advantages. as everything in life, the most valuable commodity is information.
๐Ÿดโ€โ˜ ๏ธ this repository is an on-going catalog from my own research and development. if you are passionate about self-sovereignty and love solving complex problems, don't be intimidated: do your homework and join us, because everything is mev.



I. learn (toxic and non-toxic) extraction strategies

atomic (tx ordering)
statistical (informed signal)

II. code up your (learning and experimental) bots

III. understand the chains and how mev differs on each of them

IV. understand (and join) the space

arbitrage-bot
autism
avalanche
backrunning
blockchain
bots
cypherpunk
defi
ethereum
flashbots
frontrunning
liquidation
liquidator
mempool
mev
oracles
relays
rust
sandwich-attacks
solidity

Significant stargazers

Yash Atreya

154 followers ยท starred Jan 2024

Kamil Chmielewski

17 followers ยท starred Jan 2023

Shahriar Shojib

160 followers ยท starred Jan 2024

hellodword

112 followers ยท starred Nov 2024