nifty-wallet icon indicating copy to clipboard operation
nifty-wallet copied to clipboard

MetaMask not recognized by MyEtherWallet and MyCrypto when both Nifty and MetaMask are installed

Open andogro opened this issue 7 years ago • 2 comments

When both extensions are enabled and I am logged in to both in the Chrome browser, MEW and MyCrypto default to the Nifty Wallet. If I logout of Nifty but am logged into MetaMask, MEW and MyCrypto do not recognize MetaMask. 2018-07-30_15-43-50

andogro avatar Jul 30 '18 21:07 andogro

It should be noted, that due to https://github.com/poanetwork/metamask-extension/issues/1#issuecomment-405660060 in case of MetaMask and Nifty Wallet both are installed, Nifty Wallet everytime is on top of MetaMask. So, such behaviour will be for all DApps in the current implementation.

@fvictorio @patitonar in continuation of #1, could we also check, if a user is logged in to NW to decide rewrite web3 object or not?

vbaranov avatar Jul 30 '18 23:07 vbaranov

I think we can check if user is logged in NW before rewriting web3 injected by MetaMask. But the problem is that NW could try to inject web3 before metamask does, so in that case no web3 will be detected. If the user wants to use MetaMask I think the best solution is to disable Nifty Wallet extension.

patitonar avatar Jul 31 '18 13:07 patitonar