Is it possible to use an ERC token contract on the Binance chain? Would you just replace the uniswap router for the pancakeswap router? Or is it more complicated than that?

  • If your ERC20 token does depend on some exchange such as Uniswap, which is reasonably unlikely, then of course you would have to change this to whatever contract instance is available on a different chain. In this case, assuming Pancakeswap was fully compatible with Uniswap, you would just plug that in instead. Jun 29, 2021 at 21:46

3 Answers 3


ERC20 and BEP20 are not fully interchangeable. BEP20 has some extra stuff, if I remember right, so you'll need to add those.

Also, a token typically has no idea about DEX routers - that logic should be in another contract which simply utilizes the token. Token code should be kept very minimal and simple.


If you take a look at binance docs, they use the exact same functions as ERC-20 openzeppelin packages do (https://docs.binance.org/smart-chain/developer/issue-BEP20.html). Also, almost all tutorials use openzeppelin erc-20 packages to issue BEP-20. Thus the only difference between erc-20 and ‘bep-20’ are the chains the smart contract is hosted on. You can basically deploy the exact same erc-20 contract on both ethereum chain and bsc.


It will work this way by just changing the router addresses, but its very bad practice. There are some additional parameters on BEP20 so this might cause some unwanted bugs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.