1

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.

New contributor
Mary is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1

0

Maybe what you are referring to is a Wrapped Token.

Yes, it's doable.

There are many ways to implement a wrapped token, so I will not discuss them here. But you can take a look at different resources about it:

https://academy.binance.com/en/articles/what-are-wrapped-tokens

https://decrypt.co/resources/what-are-wrapped-tokens

https://consensys.net/blog/codefi/put-your-bitcoin-to-work-on-ethereum/

1
  • Thank you for your answer, again, but no 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. Thank you for giving me your opinion on this matter.
    – Mary
    Sep 22 at 13:52

Your Answer

Mary is a new contributor. Be nice, and check out our Code of Conduct.

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.