Replies: 1 comment
-
@FiboApe Yeah for now the only way to open the modal is if you are disconnected. We use Wagmi on top of RainbowKit to detect that. Do you think it'll be possible to create your own connector where you can manage the connected / disconnected state ? Here is an example of createConnector function from wagmi. Let me know if this is helpful and we can discuss on how we can approach this on our end 👍 |
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 Rainbow team, Fibo here from the Balmy team (Ex-Mean Finance)!
Love rainbowkit and we use it on our dApp. In Balmy we allow bundling wallets for one user where they can connect different wallets and we track them all for them, pretty standard. The only issue is for our users to either chain their connected wallet, or connect a new one, we need to disconnect the current wallet and then open the wallet modal, this means that if a user actually then decides to not connect any new wallet, their previous one remains disconnected since we have to do it manually.
Would love to be able to open the Wallets modal without having to disconnect the users wallet through wagmi first.
Just to give an example what we do today is this this it has a bunch of css there since we kinda modify a bit the structure of the wallet modal but the important part is that we have to disconnect to open the modal again.
LMK what you think, I'm open to create a PR adding this feature :)
Beta Was this translation helpful? Give feedback.
All reactions