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
First of all, thank you for your great work on this library!
I am using RainbowKit in my React (Vite) project to allow users to connect their wallets. Everything works perfectly with MetaMask—there are no connection issues or unexpected disconnects.
However, when users connect via Trust Wallet (using WalletConnect), the connection often drops or disconnects unexpectedly. This happens especially after a page refresh, after some idle time, or sometimes randomly during navigation, while MetaMask remains consistently connected.
Here are some details about my setup:
Frontend: React + Vite
Wallet Integration: RainbowKit + wagmi
Wallets tested: MetaMask (browser extension), Trust Wallet (mobile, via WalletConnect)
RainbowKit/wagmi versions: [Add your versions here]
What I’ve tried:
Ensured both RainbowKit and Trust Wallet are up to date
Tested on different networks and browsers
Tried different WalletConnect configurations (v2, QR modal, etc.)
Questions:
Is this a known issue or limitation with WalletConnect v2 or Trust Wallet specifically?
Are there recommended configurations, workarounds, or best practices to keep the connection stable with Trust Wallet?
Is there a way to auto-reconnect or notify the user gracefully when the connection is lost?
Is there a session management approach you would suggest for mobile wallet users?
Any advice or examples would be greatly appreciated.
Thank you for your help!
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi RainbowKit team,
First of all, thank you for your great work on this library!
I am using RainbowKit in my React (Vite) project to allow users to connect their wallets. Everything works perfectly with MetaMask—there are no connection issues or unexpected disconnects.
However, when users connect via Trust Wallet (using WalletConnect), the connection often drops or disconnects unexpectedly. This happens especially after a page refresh, after some idle time, or sometimes randomly during navigation, while MetaMask remains consistently connected.
Here are some details about my setup:
Frontend: React + Vite
Wallet Integration: RainbowKit + wagmi
Wallets tested: MetaMask (browser extension), Trust Wallet (mobile, via WalletConnect)
RainbowKit/wagmi versions: [Add your versions here]
What I’ve tried:
Ensured both RainbowKit and Trust Wallet are up to date
Tested on different networks and browsers
Tried different WalletConnect configurations (v2, QR modal, etc.)
Questions:
Is this a known issue or limitation with WalletConnect v2 or Trust Wallet specifically?
Are there recommended configurations, workarounds, or best practices to keep the connection stable with Trust Wallet?
Is there a way to auto-reconnect or notify the user gracefully when the connection is lost?
Is there a session management approach you would suggest for mobile wallet users?
Any advice or examples would be greatly appreciated.
Thank you for your help!
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions