Nafidinara / bot-pancakeswap

Sniping bot for pancakeSwap. Auto buy, custom slippage and GWEI
729 stars 377 forks source link

Error with some tokens (reflection based tokens) #57

Open kbouh320 opened 3 years ago

kbouh320 commented 3 years ago

Hello thank you for your work !

I can successfully buy tokens like BUSD or "normal tokens" but reflective token like this one return an error "reason : transaction failed"

0xc1168b7b85b2bbc8a5c73c007b74e7523b2da209

I can successfully buy on pancake with the same gas limit Any idea ?

I tried with following params WBNB_CONTRACT=0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c FACTORY=0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73 ROUTER=0x10ED43C718714eb63d5aA57B78B54704E256024E SLIPPAGE=13 GWEI=5 GAS_LIMIT=700000 MIN_LIQUIDITY_ADDED=3 AMOUNT_OF_WBNB=0.01 TO_PURCHASE=0xc1168b7b85b2bbc8a5c73c007b74e7523b2da209

Nafidinara commented 3 years ago

use 0 Slippage

Pada tanggal Min, 4 Jul 2021 pukul 21.54 Kevin @.***> menulis:

Hello thank you for your work !

I can successfully buy tokens like BUSD or "normal tokens" but reflective token like this one return an error "reason : transaction failed"

0xc1168b7b85b2bbc8a5c73c007b74e7523b2da209

I can successfully buy on pancake with the same gas limit Any idea ?

I tried with following params WBNB_CONTRACT=0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c FACTORY=0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73 ROUTER=0x10ED43C718714eb63d5aA57B78B54704E256024E SLIPPAGE=13 GWEI=5 GAS_LIMIT=700000 MIN_LIQUIDITY_ADDED=3 AMOUNT_OF_WBNB=0.01 TO_PURCHASE=0xc1168b7b85b2bbc8a5c73c007b74e7523b2da209

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Nafidinara/bot-pancakeswap/issues/57, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRNYIXICEGYKFZIWWD4ICLTWBY3XANCNFSM47ZIKY6Q .

kbouh320 commented 3 years ago

Hello thanks for your answer. Does 0 mean 'unlimited' ?

kbouh320 commented 3 years ago

Hello again, I just tried with 0 slippage, still the same error. Enough wbnb balance on my wallet, same transaction work when done manually on pancake swap.

What is strange is that with 700000 gas limit and manual swap on pancake, only 20% of the gas limit is used. With the bot, 99.95% of the gas limit is used

debaenenicolas commented 3 years ago

Hello, I have the same issue than @kbouh320 whatever the slippage or gas fee I choose. Do you have any way to solve this issue?

Thanks

bbgunxx commented 3 years ago

Yes I have same issue how to fix it ?

Nafidinara commented 3 years ago

thank for your report, can send a screenshot or video?