Wallet integration issue for my Web3 chatting app #28
-
I am facing some difficulties to integrate wagmi + rainbowkit to my next app, and faceing invalid wagmi/connector issue.
Above is my code snippet and I need some guidance |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
The issues you're experiencing could indeed be related to the Wagmi version you're using and how you're implementing it in a server-side rendering (SSR) environment.
SSR Considerations
|
Beta Was this translation helpful? Give feedback.
-
Hello, 0x001828 |
Beta Was this translation helpful? Give feedback.
-
I think it due to the bad configuration. Please share the config also. thank you. |
Beta Was this translation helpful? Give feedback.
-
Thanks, @venuswhispers |
Beta Was this translation helpful? Give feedback.
Maybe, it can make issues because wagmi can try initialize configuration provider before chain list would init.
So you need to use static chain list, and have to defind config outside of component.
Its the standard wagmi provider initialization method.