/!\ Project under developpement, not ready for production
- Get an ERC-20 top tokens list ✅
- Compare prices of pairs between different DEXs through their smart contracts* ✅
- Call the flash loan and swap smart contract when an opportunitie is found ❌
*An other implementation is tested in the API version (on api
branch) on which prices aren't retreive from DEXs's smart contracts but from 1inch API using multithreading.
Go to infura.io
and etherscan.io
, sign up and retreive you free API keys.
Clone the repo
git clone https://github.com/mavileo/Arbitrage_bot
cd Arbitrage_bot
Create a `.env' file and add your API keys in it
echo "INFURA_KEY=your_infura_key" > .env
echo "ETHERSCAN_KEY=your_etherscan_key" >> .env
Install dependancies
pip install -r requirements.txt
Run the bot
python bot.py
Fot the moment, the bot will only show you pairs it search arbitrage on and tells you when a profitable arbitrage is found.
It will also save profitables opportinities found in the arbitrage.txt
file.