Hello @vjgee , I’ll update Web3Auth and tell you if the error persist.
WARNING! You are on testnet. Please set network: ‘mainnet’ or ‘sapphire_mainnet’ in production
It meant to be this way as we are working on Polygon Mumbai Testnet
. I’ve got it all wrong and should use the mainnet
for Web3Auth even if I’m on a testnet
blockchain ? Will Web3Auth provide the same tuple [Social Login | Wallet Address] if we move Web3Auth Environment from Legacy Testnet
to mainnet
?
Have you setup your project on Legacy Testnet on your Dashboard?
Can you share the screenshot of the verifiers you have setup?
Can you share your Web3Auth Initialization and login script?
I’m not sure you’re talking about this piece of configuration
const modalConfig: Record<string, ModalConfig> = {
[WALLET_ADAPTERS.OPENLOGIN]: {
label: 'openlogin',
loginMethods: {
// Disable sms_passwordless
sms_passwordless: {
name: 'sms_passwordless',
showOnModal: false,
},
},
},
};
Or this ?
new Web3Auth({
clientId,
web3AuthNetwork,
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
...this.chainConfigs()[chainConfig],
},
uiConfig: {
appName: config.lay3rs.websiteName,
displayErrorsOnModal: true,
logoDark: config.lay3rs.favicon,
logoLight: config.lay3rs.favicon,
},
});
---
{
// mainnet
polygon: {
chainId: '0x89',
rpcTarget: `https://polygon-mainnet.infura.io/v3/${this.infuraApiKey}`,
},
// testnet
mumbai: {
chainId: '0x13881',
rpcTarget: `https://polygon-mumbai.infura.io/v3/${this.infuraApiKey}`,
displayName: 'Polygon Mumbai Testnet',
blockExplorer: 'https://polygonscan.com/',
ticker: 'MATIC',
tickerName: 'Matic',
},
};
I’ll keep in touch with the matter when we’ll have upgraded Web3Auth deps.
Regards,
Julien