Add tokenList.js with 511 ERC-20 tokens ranked by market cap
All checks were successful
check / check (push) Successful in 13s
All checks were successful
check / check (push) Successful in 13s
New module with top Ethereum mainnet ERC-20 tokens sourced from CoinGecko API (market cap ranking) with decimals verified on-chain via eth_call to each contract. Addresses are EIP-55 checksummed. Exports: - TOKENS: full array ordered by market cap - TOKEN_BY_ADDRESS: Map of lowercase address -> token info - KNOWN_SYMBOLS: Map of uppercase symbol -> legitimate address - getTopTokens(n): return first n tokens This module is not yet integrated into the existing token.js — it exists alongside it for now as a data source ready for integration.
This commit is contained in:
2588
src/shared/tokenList.js
Normal file
2588
src/shared/tokenList.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user