Skip to content

Rivet causes connection conflicts with other wallets in RainbowKit #109

@0xKurt

Description

@0xKurt

Describe the bug
When using Rabby Wallet or MetaMask in a ReactJS/NextJS application that implements RainbowKit for wallet connections, the wallets disconnect unexpectedly during usage or upon a page refresh. Once disconnected, attempting to reconnect presents multiple wallet options (e.g., MetaMask, Rabby, and others). However, neither Rabby Wallet nor MetaMask can be reconnected directly; instead, I must select a different wallet before being able to reconnect. This results in an alternating pattern where I am forced to switch between wallets after each disconnection. The issue is ultimately caused by Rivet Wallet, as it interferes with the connection stability of both Rabby Wallet and MetaMask.

To Reproduce
Steps to reproduce the behavior:

  1. Open a ReactJS/NextJS application that uses RainbowKit for wallet connections.
  2. Connect to Rabby Wallet or MetaMask.
  3. Use the application for some time or refresh the page.
  4. Notice that the wallet disconnects unexpectedly.
  5. Attempt to reconnect using Rabby Wallet or MetaMask.
  6. Observe that multiple wallet options appear, and the disconnected wallet cannot be reconnected directly.
  7. Select another wallet (e.g., switching between Rabby and MetaMask) to connect successfully.
  8. Disconnect again and try reconnecting, which requires selecting a different wallet first.

Expected behavior
Rabby Wallet and MetaMask should maintain a stable connection during usage and page refreshes. If disconnected, they should allow direct reconnection without requiring the user to switch to a different wallet first.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions