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
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.
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: