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?
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
-
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,
});`
Beta Was this translation helpful? Give feedback.
All reactions