Skip to content

feat: serve coin and token logos from login.blockchain.com (FC-2303) - #554

Draft
lparkesneptune-bc wants to merge 1 commit into
FC-2303-store-coin-definitions-icons-without-githubfrom
FC-2303-serve-coin-and-token-logos-from-cdn
Draft

feat: serve coin and token logos from login.blockchain.com (FC-2303)#554
lparkesneptune-bc wants to merge 1 commit into
FC-2303-store-coin-definitions-icons-without-githubfrom
FC-2303-serve-coin-and-token-logos-from-cdn

Conversation

@lparkesneptune-bc

@lparkesneptune-bc lparkesneptune-bc commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Points the remaining 8,138 logo URLs — 74 coins and 8,064 tokens — at login.blockchain.com/static, so no list holds a third-party or GitHub-hosted logo URL any more.

coin/<chain key>.png
token/<chain>/<contract address>.png

build_currency_logo and build_token_logo now derive the URL from the asset's identity rather than from where the bytes live, and the generated lists are rewritten to match, so the next build is a no-op for these fields. ./check.sh passes.

Draft: do not merge until the images are deployed to the static assets host, or every coin and token logo 404s. Stacked on #553.

Two things left alone deliberately: the 34 assets whose upstream image already 404s are repointed like the rest, and newly discovered tokens still get a CoinGecko URL from coin_gecko.py — changing that means a new token also needs its image published first, which is a workflow decision.

Repoints the remaining 8,138 logo URLs - 74 coins and 8,064 tokens - at our own
CDN, so this repo no longer publishes image URLs of its own and no longer
hotlinks third-party hosts.

    coin/<chain key>.png
    token/<chain>/<contract address>.png

build_currency_logo and build_token_logo now derive the URL from the asset's
identity instead of from where the bytes happen to live. build_token_logo loses
its local-file check entirely; build_currency_logo keeps one, because the local
files still decide *whether* a coin has a logo at all, just not what its URL is.

The generated lists are rewritten with the same rule and verified to match what
the build now produces, so the next build is a no-op for these fields. No
third-party logo URL remains in any list. ./check.sh passes.

The 34 assets whose upstream source 404s are repointed like the rest. Their
logos are broken today and stay broken, at a different URL, until the images are
dropped or replaced - tracked separately.

Two extension override inputs under extensions/blockchains/ still carry
third-party logo fields. They are build inputs rather than published URLs, and
one of them the build never reads.

Do not merge until the matching images are deployed to the static assets host.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@lparkesneptune-bc
lparkesneptune-bc force-pushed the FC-2303-serve-coin-and-token-logos-from-cdn branch from 0036b81 to e5b2f73 Compare August 28, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant