MetaMask / MetaMask/metamask-extension

Add Token Search for other networks

Open
#6,392 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area-tokens type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

On the Add Tokens screen there is a search for tokens, the data comes from https://github.com/MetaMask/eth-contract-metadata and only works for the Ethereum network. Token contracts (most probably) have different addresses or don't exist on different networks, in addition there are additional tokens on other networks.

It would be nice to have a working search for different networks. On solution would be that https://github.com/MetaMask/eth-contract-metadata has lists for different networks that could be used in metamask.
Another solution would be to disable the search for other networks than Ethereum.

Related issue: https://github.com/MetaMask/metamask-extension/issues/4518

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Add Tokens screen and trace how its search uses eth-contract-metadata, then read related issue #4518. No files or tests are named, and the issue presents two possible outcomes: network-specific token results or disabling search outside Ethereum. A maintainer must choose the intended behavior before completion can be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.