-
Notifications
You must be signed in to change notification settings - Fork 541
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Current Behavior
No option to pass a custom rpc for a network for a wagmiConfig.
I tried all the ways by using createConfig or using the wagmiInit options however I couldn't pass an custom rpc for a specific network to be used and can't seem to find any documentation for the same.
export default init({
wagmi // Unable to do anything here,
// An array of wallet modules that you would like to be presented to the user to select from when connecting a wallet.
wallets: [metamaskSDKWallet, walletConnect, injected],
// An array of Chains that your app supports
chains: [
{
id: '0x33',
token: 'XDC',
label: 'XinFin Apothem',
rpcUrl: 'https://rpc.ankr.com/xdc_testnet'
}
],
},
accountCenter: {
desktop: {
enabled: false
},
mobile: {
enabled: false
}
}
});
Expected Behavior
A way to have a custom rpc for an network
Steps To Reproduce
No response
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.22.2
Node Version
21.5.0
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
Sanity Check
- If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working