edge / wallet

The web wallet of the XE Blockchain.

Home Page:https://wallet.xe.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handling MetaMask chain switching

annybs opened this issue · comments

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.

commented

Might be a good idea to complete #143 before tackling this issue.