Hello,
Im trying to set web3auth to use a custom network and when i set the parameters for the MetamaskAdapter, it keeps prompting me to add the network even though the network is already there on metamask,
This is my configuration:
const blastRpcProvider = {
name:“Blast”,
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: “0x13E31”,
rpcTarget: “https://rpc.blast.io”,
displayName: “Blast”,
blockExplorerUrl: “https://blastscan.io/”,
ticker: “ETH”,
tickerName: “Ethereum”,
};
const metamaskAdapter = new MetamaskAdapter({
clientId,
sessionTime: 86400, // 1 hour in seconds
web3AuthNetwork: “sapphire_mainnet”,
chainConfig:
blastRpcProvider,
});
And this is what happens:
I can approve and add the network and i will succesfully login,
But then when i go back to login again, it will again prompt me to add the network every single time,
Does anyone know why this could be happening?
Thanks!