rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰
https://rainbowkit.com
MIT License
2.45k stars 673 forks source link

Authentication not working with Trust Wallet chrome Extension #2179

Open yousuf-hossain-shanto opened 2 months ago

yousuf-hossain-shanto commented 2 months ago

Is there an existing issue for this?

RainbowKit Version

^2.1.6

wagmi Version

^2.12.10"

Current Behavior

Metamask is working fine with siwe integration. Trust wallet get connected but can't sign the message to verify auth signature. Error: ChainId mismatch. Tried too with Metamask disabled. I've searched for a fix and found this discussion. Don't know how it fits into the issue.

image

Expected Behavior

As Metamask is working, Trust wallet should also work as it is based on the injected provider.

Steps To Reproduce

Just install rainbowkit and integrate siwe as per the current guide. You will face the issue.

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

You guys are doing great. Thanks in advance.