rainbow-me / rainbow

🌈‒ the Ethereum wallet that lives in your pocket
https://rainbow.me
GNU General Public License v3.0
3.82k stars 590 forks source link

Connection failed on custom chain #5788

Closed matthew-t3 closed 1 month ago

matthew-t3 commented 1 month ago

Is there an existing issue for this?

RainbowKit Version

1.3.6

wagmi Version

1.4.13

Current Behavior

We are using custom chain and authentication provider to allow users to login in our application, the rest of the wallet works fine except rainbowkit wallet (please see screenshot below).

Redacted chain config:

const chain = {
  id: 99999,
  name: 'Custom network',
  network: 'custom',
  rpcUrls: {
      default: {
        http: [RPC_URL],
      },
      public: {
        http: [RPC_URL],
      },
    },
    blockExplorers: {
      default: {
        name: 'Custom Explorer',
        url: BLOCK_EXPLORER_URL,
      },
    },
    nativeCurrency: {
      name: 'Ether',
      symbol: 'ETH',
      decimals: 18,
    }}

438312469_1122479812314639_6982790215893505264_n

Expected Behavior

User should be able connect the rainbowkit wallet

Steps To Reproduce

No response

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

No response

Anything else?

No response

magiziz commented 1 month ago

@matthew-t3 Rainbow wallet currently doesn't support custom chains. I'll close this issue for now, lmk if you have any questions 👍

matthew-t3 commented 1 month ago

@magiziz Will it be supported in the future? Also, the custom chain is based on polygon CDK, is it still an issue?