Support switching between multiple chains in the same project without page flickering.
When you have multiple chain providers in your project, you can use the ignoreConfig prop to control which provider's configuration should be active. Only the active provider should not have ignoreConfig set to true.
ignoreConfig is true, the provider's configuration will be ignored when merging with parent contextignoreConfig or with ignoreConfig={false}) will provide its configuration to child componentsThe ignoreConfig prop is available on:
Web3ConfigProviderWagmiWeb3ConfigProviderSuiWeb3ConfigProviderSolanaWeb3ConfigProviderTronWeb3ConfigProviderTonWeb3ConfigProvider| Property | Description | Type | Default |
|---|---|---|---|
| ignoreConfig | If true, this provider's configuration will be ignored when merging with parent context | boolean | false |
ignoreConfig={true} on inactive chain providersignoreConfig set to false or undefined