Has anyone had success setting Avalanche (or any chain) as the default for the web3auth provider?
When I try this:
const user = await Moralis.authenticate({
provider: "web3Auth",
theme: "light",
chainId: "avalanche",
clientId:
"BNAltJRis6TNpXXXXXXXXXXXXXXXXXXX7ay3TLGKow",
});
I get
walletInitializationError: Invalid params passed in, rpcTarget is required in chainConfig at Function.fromCode
Same result with: chainId: 0xa86a