0

Hay everyone I was wondering, is it possible to make a smart contract that can change your tokens network for example from erc-20 to bsc? (Smothering like binance bridge) I would be glad if enlightening me?!

2

No, you can't make it with just smart contracts. Contracts are deterministic, which means they can't access outside resources directly.

You will need some sort of off-chain functionality, which acts as the bridge. So you need contracts at both ends of the bridge and the actual bridge which listens to events in the contracts to call the other end of the bridge.

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.