So the issue is when i use web3auth.connect it opens web3auth modal, then if i click on external wallet option, it shows me a button for metamask for a second, then it shows me loading, and i can see walletconnect modal open behind the web3auth modal as seen in the screenshot i provided.
@TomTom I have another question,
I have hardcoded defaultWcSettings, it was being fetched using async function, i will have to modify my logic to use async function so i hardcoded the response. Will it be problematic?
const defaultWcSettings = {
adapterSettings: {
walletConnectInitOptions: {
projectId: "xxxxxxx", // project id
relayUrl: "wss://relay.walletconnect.com",
metadata: {
name: "Name which i got from api",
description: "Description which i got from api",
url: "http://localhost:3000", // url i will change it to proc
icons: ["http://localhost:3000/favicon.ico"], //// url i will change it to proc
},
},
},
loginSettings: {
optionalNamespaces: {
eip155: {
methods: ["eth_sendTransaction", "eth_sign", "personal_sign", "eth_signTypedData"],
chains: ["eip155:270689"],
events: ["chainChanged", "accountsChanged"],
},
},
},
};