You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to launch OnRamp window and it shown Coinbase and Meld. When I click on Meld its opening with Ethereum chain as default. How can i change this default chain to Arbitrum One?
Link to minimal reproducible example
Hi Team,
I am using "@web3modal/ethers": "5.1.10",
I was trying to launch OnRamp window and it shown Coinbase and Meld. When I click on Meld its opening with Ethereum chain as default. How can i change this default chain to Arbitrum One?
` const chainOptions: any = {
chainId: 42161,
name: "Arbitrum One",
currency: "ETH",
explorerUrl: "https://sepolia.arbiscan.io/",
rpcUrl: "https://sepolia-rollup.arbitrum.io/rpc",
};
const metadata = {
name: "****",
description: environment.selfDomain,
url: environment.selfDomain,
icons: [environment.selfDomain + "/assets/icons/logo.svg"],
};
const ethersConfig = defaultConfig({
auth: {
email: true,
socials: ["google", "x", "apple"],
showWallets: true,
walletFeatures: true,
},
defaultChainId: 42161,
metadata,
});
this.wcModal = createWeb3Modal({
ethersConfig,
chains: [chainOptions],
projectId,
enableOnramp: true,
});`
List of related npm package versions
@web3modal/ethers": "5.1.10
The text was updated successfully, but these errors were encountered: