feat(explorer): token-list surfaces, homepage trim, and sprint smoke tests
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 14s
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 14s
Unify wallet/catalog/extended token-list policy, add contract verification CTA, trim the homepage dashboard with status strip and recent activity, and add Playwright smoke coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
11
docs/TOKEN_LIST_SURFACES.md
Normal file
11
docs/TOKEN_LIST_SURFACES.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Token list surfaces
|
||||
|
||||
The explorer uses two public token-list endpoints. Application code should pick the list through `getTokenListForSurface()` / `tokensApi.listForSurface()` rather than hard-coding `/api/config/token-list`.
|
||||
|
||||
| Surface | Endpoint | Use when |
|
||||
|---------|----------|----------|
|
||||
| `wallet` | `/api/v1/report/token-list?chainId=138` (fallback: config) | Wallet SSR, MetaMask watch list, featured-token dedup inputs |
|
||||
| `catalog` | report (fallback: config) | `/tokens`, search token inference, homepage price feed curation |
|
||||
| `extended` | `/api/config/token-list` | Full Metamask dual-chain catalog, provenance lookup merge |
|
||||
|
||||
Report list is the canonical Chain 138 trading set (31 tokens live). Config list is the extended catalog (190+ entries across chains).
|
||||
Reference in New Issue
Block a user