Skip to content

[bug] rabbyWallet connector causing crash #2534

@xtbase

Description

@xtbase

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.2.8

wagmi Version

2.17.5

Current Behavior

TLDR

There is a bug related to rabbyWallet connector (here) that causes the page to crash/be stuck on an infinite loop

Resources

Expected Behavior

There should not be any crashes when using rabbyWallet connector, suspect it's due to some injectedProvider issues with other injected wallets such as metamask

Steps To Reproduce

  1. Have these extensions installed - coinbase wallet + phantom + metamask
  2. When setting up connectors to pass into wagmi, use rabbyWallet connector
const connectors = connectorsForWallets(
  [
    {
      groupName: 'Recommended',
      wallets: [
        ...,
        rabbyWallet,
      ],
    },
  ],
);

const wagmiConfig = createConfig({
  connectors,
  ...,
});

  1. load the page, see that everything is unresponsive and you have to manually close the tabs

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

https://test-rb-kappa.vercel.app/

Anything else?

No response

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