Skip to content
0xVePublic
forked from DefiLlama/icons

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

icons v2

A simple icon server based on express and sharp. It uses ioredis to cache the icon binaries. An S3 compatible service is used to store the icons which are fetched on-demand from external sources.

Exchange icons live in assets/exchanges and are addressed by canonical exchange slug:

/icons/exchanges/binance?w=48&h=48

Crypto card icons live in assets/crypto-cards and are addressed by card id:

/icons/crypto-cards/coinbase-one?w=48&h=48

Token catalog

Token icons read tokenlist/coingecko-catalog-v2.json through SDK cache. The schema 2 catalog provides names, logo URLs, and contract/platform mappings keyed by CoinGecko ID. Without R2 credentials the SDK reads the public dataset URL; configure R2 credentials before startup for direct reads. No logos.json or all.json fallback is used. Local icons and existing image caches retain their current precedence.

Verify catalog mappings with node --test tests/token-catalog.test.cjs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages