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?
This discussion was converted from issue #3006 on January 20, 2025 15:11.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
Beta Was this translation helpful? Give feedback.
All reactions