Is it possible to create a smart contract that receive a specific BEP20 token named X, from a wallet address, and send it back the same amount of a specific ERC20 token named Y ? of course the smart contract will have the supply of the token Y.
Is it doable ?
If yes, i would appreciate some hints.
If no, do you have another way to achieve the same result?
i would like to hear it.
I'm not asking about wrapped tokens or bridges, I want to delete an existing BEP20 token, and replace it with a total new ERC20 token, and instead of sending the holders their tokens manually from the new token, i want it to be done through a smart contract.
Thanks for the help everyone.