Swap BNB to BEP20 token #2090
Answered
by
aurbroszniowski
aurbroszniowski
asked this question in
Q&A
Replies: 2 comments 2 replies
-
This is out of my knowledge-base. I know nothing about BNB. Can someone else help out? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aurbroszniowski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, hopefully this is not too dumb to ask, but I couldn't find the explanation anywhere.
A site like PancakeSwap allows to swap BNB to BEP20 tokens.
I tried to do the same with ethers.js and I couldn't find an address for BNB to use with the swapExactTokensForTokens method.
However, if I convert my BNBs to WBNBs, I can do a swap using the WBNB.
I'd like to understand why I can't do it directly using BNB, like PancakeSwap does.
Thanks in advance for any clarification.
Beta Was this translation helpful? Give feedback.
All reactions