Skip to content

Design way to differentiate network icons #19300

Open
@kevinghim

Description

@kevinghim

Description

Users have 3 ways to add a network:

  1. Select a popular hardcoded network
  2. Go to dapp and Select Add to MetaMask, dapp then uses addEthereumChain
  3. Add a network manual

Icons for chains added through 2, and in the future possibly through 3, can conflict for different reasons:

  • Same chainID, different RPC, similar or identical icon
  • Different chainID, different RPC, similar or identical icon (scam chain)

User story

As a user I want to be able to recognise each chain by a unique property, because

  • I want to prevent confirming transactions on a chain that looks the same but has a different ID
  • I want to prevent connecting to a malicious RPC endpoint that logs my IP along with blockchain interactions

Technical Details

Acceptance Criteria

Users can visually differentiate each chain entry (RPC + chainID combination)

References

Slack thread

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions