Inspired by DeGatchi.
Simple, robust MEV Bot template for Go.This repo comes with the following features and more.
- A robust structure for developing long tail and short tail strategies
- Mempool monitoring, decoding
- Using GraphQL for querying uniswap v2 pairs
- Uniswap v2 implementation
- Uniswap v2 math functions (
getAmountIn
andgetAmountOut
) - Query of top 1000 pairs in eth sorted by liquidity
- Transaction input decoding
- Uniswap v2 math functions (
- Contract bindings
for all binaries, eg: bot, data analysis tool , etc...
implementations of data collection, math functions, etc... per contract
for building transaction payload, memory sharing to transfer transaction to geth, etc...
for getting live data from blockchain. pending transactions, blocks, contract data, etc...
global types which require module level access
internal bot logic
run python ./bot-builder.py build
for building the bot, test and other commands are to be implemented by the user
- Get rpc urls.
- Import your private key.
- For testing, run
python ./bot-builder.py test
(implementation expected by user) - For production, run
python ./bog-builder.py build