Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add custom RPC with the same chainID #2276

Open
0xGitGuy opened this issue May 17, 2024 · 3 comments
Open

Unable to add custom RPC with the same chainID #2276

0xGitGuy opened this issue May 17, 2024 · 3 comments

Comments

@0xGitGuy
Copy link

This issue was somewhat discuss before #261

I get an error when attempting to add a second RPC for ethereum.

The error: Chain already integrated by Rabby Wallet

Why can we only have one RPC per chain? Metamask supports multiple RPC for the same chain. This is not only useful for dev work but also as a quick backup for switching between RPC provider.

@0xGitGuy
Copy link
Author

"Modify RPC URL" feature is not a solution at all. Still could only have 1 RPC provider for a given chain.

Is there any particular reason for Rabby to force users to only have 1 RPC per chain since adding custom RPC intentionally checks for duplication chainID?

@xtools-at
Copy link

it kinda makes sense that the chain id is the "unique identifier" in this context and may be used for chain selection.

what's your use case? connecting to the same chain with different rpcs?

@0xGitGuy
Copy link
Author

0xGitGuy commented Sep 4, 2024

yes, same chain diff rpc. mevblock has different variants of rpc that produces different results (revert vs no revert). The public rpc produces the pending mempool txn. I use them for various trading and dev mainnet testing purposes. Sticking to 1 rpc means i have to toggle between rabby and metamask as a tradeoff, not a pleasant UX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants