this my Website url please try to buy a nft after login with sepolia tesnet
Can you share the console logs from the page which is stuck in loading? We need that information.
Please check this video is after login process
I noticed that when you open Torus wallet from the plugin, the network is set as Main Ethereum and not Sepolia? Have you setup the network as Sepolia in the chainconfig for the plugin? You can click the dropdown arrow in the popup page and select Sepolia Testnet and then proceed.
const web3auth = new Web3Auth({
clientId, // get your client id from https://dashboard.web3auth.io
// web3AuthNetwork: OPENLOGIN_NETWORK.TESTNET,
web3AuthNetwork: “testnet”,
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
displayName: displayName,
chainId: chainID,
rpcTarget: rpcTarget,
blockExplorer: etherScanUrl,
ticker: “ETH”,
tickerName: “Ethereum”,
},
uiConfig: {
appName: “Fanverse”,
theme: {
primary: “#FFA500”,
},
mode: themeInfo && themeInfo,
logoLight: blackLogo,
logoDark: whiteLogo,
defaultLanguage: “en”,
loginGridCol: 3, // 2 | 3
primaryButton: “emailLogin”,
loginMethodsOrder: [
“google”,
“apple”,
“facebook”,
“twitter”,
“linkedin”,
],
},
})
const torusPlugin = new TorusWalletConnectorPlugin({
torusWalletOpts: {
buttonPosition: “bottom-left”,
},
walletInitOptions: {
network: “testnet”,
whiteLabel: {
theme: {
isDark: themeInfo && themeInfo === “dark”,
colors: { primary: “#FFA500” },
},
logoDark: blackLogo,
logoLight: whiteLogo,
},
useWalletConnect: true,
enableLogging: true,
},
})
this is the code
yes am setup sepolia chain id in this code chainID = 0xaa36a7
still same loading… its wokring some time after too much refresh
Can you share the entire Sepolia RPC details you have?
Try using one of the RPC URLs from this link Sepolia RPC and Chain settings | Chainlist instead of the Infura URL you are using
Still same issue i think its not because of rpc
The issue is that Torus Network shows as Undefined in the console logs:
Can you add the Custom Network when you click the Open wallet button from the plugin.
Follow this article: How do I add a Custom RPC network to Torus Wallet? | Web3Auth Helpdesk
There is a solved thread regarding Sepolia network as well you can refer to :Problems of "Sepolia" and "Sepolia Test Network"
please check this video for my code setup and problem still same
Still Same issue not improve
Ok, I have forwarded your issue to our Dev team and we will get back with further updates.
I tried to do buy an NFT after logging in and I was able to. Hey @chahal.hrdeep, can you confirm if you can re-create this issue with other accounts or is this the case with just one of your accounts?