Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 1.63 KB

README.md

File metadata and controls

57 lines (45 loc) · 1.63 KB

DEX fight

Python price bot for multiple Dex.

Based on web3dex-python.

Install

python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Example

Example dexs fight on BSC chain

# BNB/BUSD
python main.py --chain BSC --input 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c --output 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
python main.py --chain BSC --output 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56

# BNB/USDT
python main.py --chain BSC --input 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c --output 0x55d398326f99059fF775485246999027B3197955
python main.py --chain BSC --output 0x55d398326f99059fF775485246999027B3197955

# CAKE/BNB
python main.py --chain BSC --input 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 --output 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
python main.py --chain BSC --input 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82

# MBOX/BNB
python main.py --chain BSC --input 0x3203c9E46cA618C8C1cE5dC67e7e9D75f5da2377 --output 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
python main.py --chain BSC --input 0x3203c9E46cA618C8C1cE5dC67e7e9D75f5da2377

# USDT/BUSD
python main.py --chain BSC --input 0x55d398326f99059fF775485246999027B3197955 --output 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56

Example dexs fight on MOONBEAM chain

# GLMR/BUSD
python main.py --chain MOONBEAM --output 0xa649325aa7c5093d12d6f98eb4378deae68ce23f

Run monitor

# GLMR/BUSD
python monitor.py config_pair.json

Run bot

# ./configs/ = pair configs file, as config.json
# ./wallets/ = wallet private data, as wallet.json

# GLMR/BUSD
python bot.py