LimitSwap icon indicating copy to clipboard operation
LimitSwap copied to clipboard

Don't sell dust on tokens

Open alb2001 opened this issue 3 years ago • 4 comments

Hello

Some tokens leave dust when being sold, as they take a tax or do reflections. In most cases LimitSwap doesn't attempt to sell these. But today, with ECT (contract 0x59d71082d8a5b18ebc6b653ae422ac4383cd2597) the bot attempted to sell continuously, draining my eth account by attempting to swap it over and over.

It's a difficult issue to solve. So maybe I would suggest calculating a percentage of minimum tokens to sell based on the total supply.

Another suggestion is on issue #332

Thank you.

alb2001 avatar Aug 23 '21 20:08 alb2001

so we currently have a dust value check == balance > 0.0000000000000001:

The problem is some shitcoins like SHIBA have such small decimals it would trigger fast while other wont for 20 sells, the only thing we could do is make this customizable so you can set your min dust per token, please let me know.

CryptoGnome avatar Aug 27 '21 14:08 CryptoGnome

Hey

I think there are a few ways to go around on this One of them is by maybe allocating the percent of the balance. Or Maybe just adding a sell attempt = 1. So it just tries to sell once

alb2001 avatar Aug 27 '21 14:08 alb2001

yes I will think on this for future release

CryptoGnome avatar Aug 27 '21 14:08 CryptoGnome

Try

Max token =0.01 Moonbag =0.02

charles811 avatar Oct 26 '21 21:10 charles811