Only change networks right before we are signing the transaction (so let the user play around with their bridge tx without forcing them to switch chains).
If you need to connect to the source chain without switching networks, create an RPC connection on-the-fly. Once the tx is ready to sign, then switch chains.
Description
Handle the logic of bridging assets from EVM chain to a Substrate chain
Solution
Since Tangle is not added to the Sygma SDK at the moment, we will use testnet provided by them at the moment.
Here is an example of implementing this logic. We will try to replicate this into our code.