Skip to content

MarginalProtocol/v1-arbitrageur-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v1-arbitrageur-bot

Pair arbitrageur bot that arbitrages between Marginal v1 and Uniswap v3 pools.

Installation

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 .

Usage

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

About

Pair arbitrageur bot for Marginal v1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages