matter-labs / block-explorer

zkSync Era Block Explorer
Apache License 2.0
125 stars 110 forks source link

[FEATURE REQUEST] Sort token list to have common coins always at the top #161

Closed dutterbutter closed 1 month ago

dutterbutter commented 9 months ago

🌟 Feature Request

📝 Description

Currently when you visit the "Token" page it hits the CoinGecko API and provides a list of tokens. However most the tokens returned to the first page are random tokens.

Understandably the CoinGecko API payload is exactly that but we should place the common tokens of known contract addresses on the first page.

🤔 Rationale

When developing certain projects, or testing sometimes you require a specific token address (e.g. DIA). It is very difficult to find token addresses for our network. They are not mentioned in the docs, and the BE tokens page has a list of many tokens with that same name.

To avoid confusion, and since we know the contract addresses of the correct common tokens we should have these always be on the first page.

📋 Additional Context

Add any other context or information about the feature request here.