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
Trying but it doesn't work. So I created 2 chains and pass to config for wagmiProvider with same chainId but different url, in reality different ports. I need to have 2 hardhat nodes with different url. Problem is it seems this is not supported. It is like that wagmi picks first of chains array inside of config and executes against. Is there any way to support this so when I connect through metamask to specific node that also dapp is aligned and all queries triggered are targeting correct node. Thx.
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,
Trying but it doesn't work. So I created 2 chains and pass to config for wagmiProvider with same chainId but different url, in reality different ports. I need to have 2 hardhat nodes with different url. Problem is it seems this is not supported. It is like that wagmi picks first of chains array inside of config and executes against. Is there any way to support this so when I connect through metamask to specific node that also dapp is aligned and all queries triggered are targeting correct node. Thx.
Beta Was this translation helpful? Give feedback.
All reactions