MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.02k stars 4.91k forks source link

Token listing ehnancements #15819

Open kevinghim opened 2 years ago

kevinghim commented 2 years ago

Background

Possible acceptance criteria

- Recognized tokens should show the source of their auto-detection
    - Was this an auto-detected [[proposed name]]?
    - Was this drawn from one or more [[token lists]]?
    - Was this added from a particular domain via [[EIP-747: wallet_watchAsset]]?
    - Was this added manually? When?
- Tokens with names that are similar to other known tokens should be indicated as such.
    - Particularly if the new token name is similar to a token the user already has/trusts.
    - What if the token resembles a token in our auto-detection system that the user has never encountered? Do we need to bother the user about that? Possibly not!
- [[eth-contract-metadata]] should be able to have multiple tokens with the same symbol (but maybe not the same name)
    - Maybe we add fields to distinguish them
        - Official website
        - Support email (as [[MyCrypto]] does)
- When tokens are shown, we should show their `name` field (not just the symbol, which is meant to be shorter).
- Possible: When a token is added/detected, allow the user to either [[pet name]] the token or at least add a personal note to that token, which should then be visible any time that token is interacted with. ("Not the real DAI, just my test token.")
- Anywhere long token names are shown, it should be possible for the user to see the full name (even if cut off in preview).
kevinghim commented 1 year ago

@alfeng6