Hi,
This is more of an exploratory queries. Just wanted to understand:
-
Is there any function exists which will directly tell my application if metamask(MM) is installed or not. I saw this function somewhere
isMetaMaskInstalled()
, but it seems its not valid anymore. -
While using
Moralis.authenticate()
function, is there a way to enforce a user to login to mainnet or testnet specifically. Say if I configure for testnet, and in case user is on mainnet on MM, it should directly move the user to testnet (if its configured in their MM account), or throw some kind of error, like ‘You need to change MM to connect to testnet
’