Open merveinan opened 2 years ago
If you want to buy token with busd you need to use swapExactTokensForTokens, wbnb is the native token aka ETH. And every other token is just a regular token, you might have to try swapExactTokensForTokensSupportingFeeOnTransferTokens
On Sun, Jul 31, 2022 at 2:23 PM merveinan @.***> wrote:
I can't buy tokens with different coins other than BNB(BUSD,USDT) For example :I want to buy EJS for 10 BUSD
I tried swapExactTokensForETH and swapExactTokensForTokens functions. But they don't work without bnb address. Is there any way to buy coin with different coins?
— Reply to this email directly, view it on GitHub https://github.com/CodeWithJoe2020/pancakeswapBot/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR46X4JO6PMWRHKHFI3LCELVWZV4VANCNFSM55E236UQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I can't buy tokens with different coins other than BNB(BUSD,USDT) For example :I want to buy EJS for 10 BUSD
I tried swapExactTokensForETH and swapExactTokensForTokens functions. But they don't work without bnb address. Is there any way to buy coin with different coins?