I have a question analogous to Metamask integration. Is there any facility in moralis, to restrict or guide the user, beforehand, to connect to only one network (like ropsten).
You could use the following to check:
const web3 = await Moralis.Web3.enable()
Then you could check the chainId
in web3.currentProvider
2 Likes