Pair arbitrageur bot that arbitrages between Marginal v1 and Uniswap v3 pools.
The repo uses ApeWorX and Silverback for development.
Set up a virtual environment
python -m venv .venv
source .venv/bin/activate
Install requirements and Ape plugins
pip install -r requirements.txt
ape plugins install .
Include the environment variable for the address of the PairArbitrageur
example contract
and the address of the MarginalV1Pool
you wish to watch
export CONTRACT_ADDRESS_PAIR_ARBITRAGEUR=<address of arb contract on network>
export CONTRACT_ADDRESS_MARGV1_POOL=<address of marginal v1 pool contract on network>
Then run silverback
silverback run "main:app" --network :mainnet:alchemy --account acct-name