Frankencoin-ZCHF / frankencoin-dapp

Frankencoin Web App to interact with the Eco System
https://frankencoin.com/
MIT License
0 stars 4 forks source link

WalletConnect WrongNetwork #35

Closed samclassix closed 1 month ago

samclassix commented 2 months ago

based on PR#32 https://github.com/Frankencoin-ZCHF/frankencoin-dapp/pull/32

Tested with MetaMask. Ok. --> MetaMask pops open with "Allow this site to switch the network?"

samclassix commented 2 months ago

If "Network-Button" should be visible ONLY if wrong network/chainId is recognized, then change component rendering to:

{!isEthereumMainnet ? <w3m-network-button /> : null}
TaprootFreak commented 1 month ago

Great to see!

samclassix commented 1 month ago

Great to see!

Perfect.

Show NetworkButton if not ETH Mainnet

This should be all, correct?