Handling MetaMask chain switching
annybs opened this issue · comments
Anny commented
The MetaMask synchronisation has been improved, but there isn't any validation of the network currently selected.
Officially, we support pairs of XE mainnet <-> Ethereum Mainnet
and XE testnet <-> Rinkeby Test Network
but this isn't meaningfully enforced or validated.
This means that it is possible to lose EDGE by depositing from the wrong network.
We should tighten this up, and perhaps forcibly disconnect/reset the deposit modal if an invalid network is selected.