Skip to content

Update wallet_addEthereumChain Reference (Playground) Example #1112

@httpJunkie

Description

@httpJunkie

The example for wallet_addEthereumChain currently gives the user warnings:
Screenshot 2024-01-28 at 2 26 09 PM

This example appears to have the correct parameters according to this link:
https://docs.gnosischain.com/tools/wallets/metamask/

That is why I have not simply submitted a PR with the correct parameters.
It would seem that whatever logic we are using to check:

  • The network name matches the chain ID
  • The submitted currency symbol matches what we expect for this chain ID
  • And that our records for the the submitted RPC URL matches a known provider

Is out of date or incorrect per Gnosis chain docs. We need to check the information we have stored and ensure it matches. But I am not sure which repo and PR this issue should be associated with.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions