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.
Thanks a lot everyone.