Skip to content

Cryptocurrency icons (BTC/ETH/tokens) #596

Description

@NikolayMetchev

Goal

Display cryptocurrency icons (BTC, ETH, tokens, etc.) once crypto support lands.

Legal context

Much easier than bank logos — crypto icons are mostly open-source / community-licensed (often CC0 / public domain). Low risk.

Asset sources

Source What License
cryptocurrency-icons (recommended bundle) https://github.com/spothq/cryptocurrency-icons ~450 coins, SVG + PNG, color & mono CC0
cryptofonts https://cryptofonts.com Large set, icon font + SVG Free
CoinGecko API Per-coin logo URLs Free tier; attribution
CoinMarketCap API Coin logos Free tier
Token Lists https://tokenlists.org ERC-20 token logos w/ contract address Open

Recommendation

  • Bundle cryptocurrency-icons (CC0) for the top ~100 coins → offline, instant, no attribution required.
  • Fall back to CoinGecko logo URL (cached) for the long tail / new tokens.
  • For ERC-20 / chain tokens, resolve via Token Lists by contract address.

Proposed resolution logic

getCryptoIcon(symbol):
  1. bundled cryptocurrency-icons (CC0) for top coins   # offline, instant
  2. else CoinGecko logo URL, cached                    # long tail
  3. else generic Lucide "coins"

Tasks

  • Add cryptocurrency-icons bundle for top coins.
  • Implement getCryptoIcon with CoinGecko fallback + cache.
  • Token Lists resolution for ERC-20 tokens (by contract).
  • Generic coins fallback (see generic-icons issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions