Script for swaping on Slingshot exchange. Currently under development.
- swaps on Slingshot with Sushi
- swaps specified amount of specified tokens
- supports Polygon, Arbitrum, and Optimism networks
Before running the script, insert your private keys in private_keys.txt file one by one without quotation marks:
1111111111111111 #first private key
2222222222222222 #second private key
...
1263784787657878To change network edit NETWORK field in config.py file:
NETWORK = YOUR_NETWORK # 0 - Polygon | 1 - Arbitrum | 2 - OptimismTo change swapping amount range edit AMOUNT_MIN/AMOUNT_MAX fields in config.py file:
AMOUNT_MIN = YOUR_VALUE_1 # min amount, for example 10000
AMOUNT_MAX = YOUR_VALUE_2 # max amount, for example 20000To change slippage edit SLIPPAGE field in config.py file:
SLIPPAGE = YOUR_SLIPPAGE # float value between 0.0 and 1.0Before running the script please make sure you have sufficient balance
- Arbitrum support
- multiple accounts support
- more tokens