Replies: 1 comment 2 replies
-
@onethread Can you share a small reproducible example ? Meanwhile you do that can you try declaring a global config type from Wagmi ? Here is an example https://wagmi.sh/react/typescript#declaration-merging. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using rainbowkit with
getDefaultConfig
, and for some reason, various functions are throwing; e.g.,signMessage -> getConnectorClient
throwsconnection.connector.getChainId is not a function
.Inspecting
connection.connector
shows an object:{id: 'io.metamask', name: 'MetaMask', type: 'injected', uid: '74f3...'}
However, I don't get these errors if I use Wagmi's
createConfig
. I'm not really sure why, can anyone shed some light?@rainbow-me/rainbowkit": "2.1.2",
"wagmi": "^2.10.5",
"viem": "2.9.31"
Beta Was this translation helpful? Give feedback.
All reactions