Closed TaprootFreak closed 4 months ago
I have tried. to exchange approx. 100 ZCHF for FPS. However, my Metamask was connected to Arbitrum and not to Ethereum.
Instead of throwing an error message, Frankencoin simply passed the command to Metamask and Metamask executed it. On the wrong blockchain 😁
It should be easy to detect an incorrect network and force a network change directly.
you are right. Detection of the correct chain is quite important. ;)
This should fix it. https://github.com/Frankencoin-ZCHF/frankencoin-dapp/pull/35
I have tried. to exchange approx. 100 ZCHF for FPS. However, my Metamask was connected to Arbitrum and not to Ethereum.
Instead of throwing an error message, Frankencoin simply passed the command to Metamask and Metamask executed it. On the wrong blockchain 😁
It should be easy to detect an incorrect network and force a network change directly.