Skip to content

polypox/slingshot-swap

Repository files navigation

slingshot-swap

Script for swaping on Slingshot exchange. Currently under development.

Features

  • swaps on Slingshot with Sushi
  • swaps specified amount of specified tokens
  • supports Polygon, Arbitrum, and Optimism networks

How to use

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
...
1263784787657878

Config

To change network edit NETWORK field in config.py file:

NETWORK = YOUR_NETWORK # 0 - Polygon | 1 - Arbitrum | 2 - Optimism

To 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 20000

To change slippage edit SLIPPAGE field in config.py file:

SLIPPAGE = YOUR_SLIPPAGE # float value between 0.0 and 1.0

Before running the script please make sure you have sufficient balance

Plans

  • Arbitrum support
  • multiple accounts support
  • more tokens

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages