Multichain Apps
#4109
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey there,
my question is: what is the best approach for "chain switching"? Is there anything build in?
If we supply "chainId" for the useWriteContract hook it actually just throws an error if not connected with the correct chain. We atm have our own hook that does both writing and switching if not connected with the correct chain - though had some issues with:
so wondered if there is a "buildin" way of handling chain switching.
Beta Was this translation helpful? Give feedback.
All reactions