I understand that for the Ethereum Mainnet you need to create an ERC20 Token and for BSC you need a BEP20 Token.
Let's say I want to create a simple smart contract and deploy it on Pancakeswap. In order to educate myself, I took the liberty to study the latest Hot Token: #FLOKI Here is the source code for it: https://bscscan.com/address/0x2B3F34e9D4b127797CE6244Ea341a83733ddd6E4#code
As you can see the Token uses the ERC20 standard but is deployed to the BSC and still somehow it recognize it as BEP20:
I have a few questions in regards to that topic hope you can help me with some:
- Why the contract is deployed with the ERC20 standard and not BEP20 standard as it should, and why does BSC recognize it as BEP20?
- I know from the docs that Pancakeswap uses UniswapV2, does this mean that in order for my token to work on Pancakeswap I need to implement Uniswap functionality in my contract just like in FLOKI, or a simple BEP20 will suffice?
That's all for now, many thanks to everyone that helps :)