Metamascara does not default to mainnet
I was hoping to use MetaMascara to allow new users to interact with www.toastycoin.com without having to setup Metamask, but because metamascara defaults to network 4, I can't fetch mainnet data. Is there a way to specify via the api to use the mainnet?
The provider's network is specified by the user's metamask instance, and at the moment, only user interaction can change the network.
I'm interested in adding an API for requesting the user uses a specific network, you might be interested in this issue.
In the meanwhile, you should instruct the user to change the network, and maybe initialize your own connection to a main-net RPC to load data from it if the user's provider is set to another network.
I have the very same question/problem. That's related to my other question (providing an API to open Mascara popup which would let the user the possibility to play with network select button)