LimitSwap
LimitSwap copied to clipboard
Add a specific ammount of retries when failed transactions are found
Sometimes the bot attempts to transfer tokens and get failed transactions on each attempt. I would suggest adding maybe two new keys for the tokens.json file such as
retries_buy
retries_sell
And add an integer to it, so the bot doesn't attempt do do more transactions if it has failed. Then log it into the log and the LimitSwap CLI screen.
Do this until LimitSwap is restarted, or maybe add a flag on the tokens.json file like this
failed
Set it to true or false automatically if the transactions have failed the threshold