Issue with SandWicher.sol
When i use this contract to buy any token my transaction is being sandwiched by some other bot and i loss good amount.. Please check these transaction at this address
https://bscscan.com/address/0xfab57ceb826c4df8a2087b0494c00999dbfcdf79
I will look into this tomorrow, in the meantime I would advise not to use the contract as is, it is not optimised enough, and you are lucky you didn't get into a rug. There is a lot of missing rug checks and slippage that I've not incorporated in this version
Hi thanks for responding and updating on issues this contract has. Eagerly waiting for your advice
Any update?
Hi you seems to be busy so if you want we can work on this on paid basis
Hey @psilmana sorry had been busy for a while, one thing you can do to avoid being sandwiched is getting reserves offchain and checking if the are have changed onchain in the s.c if the have that means someone bought b4 you so just return or revert
Hi I did that it resolved the issue of being sandwiched but now the transactions are failing
dm on telegram at @dennohpeter we debug