Skip to content

Add cbXRP token (Chain: 8453); mainnet wETH uses its own logo - #435

Merged
GaspardPeduzzi merged 1 commit into
mainfrom
chore/token-cbXRP-8453-weth-logo
Oct 9, 2026
Merged

GaspardPeduzzi merged 1 commit into
mainfrom
chore/token-cbXRP-8453-weth-logo

Conversation

@GaspardPeduzzi

Copy link
Copy Markdown
Contributor

Why

MetaVaults Earn (spectra-sdk PR #280) found two token-list gaps:

  • cbXRP on Base has no entry. It is the underlying of the XRP Yield MetaVault. The API (spectra-internal resolves logos through this list) returns no logoURI for it. Clients that build tokens.spectra.finance/images/tokens/8453/0xcb58….svg directly (Earn, curator-app) get a 404.
  • Mainnet wETH's logoURI points at Base wETH's image (/images/tokens/8453/0x4200….svg). WETH Optimizer on Ethereum therefore serves a Base asset as its underlying logo.

What changes

  • New src/tokens/8453/0xcb585250f852c6c6bf90434ab21a00f02833a4af/:
    • name, symbol and decimals read on chain from Base: Coinbase Wrapped XRP · cbXRP · 6.
    • Logo: Coinbase's cbXRP mark, from CoinGecko (coinbase-wrapped-xrp), 250×250 PNG.
  • src/tokens/1/0xc02aaa39…/index.json: logoURI → /images/tokens/1/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.svg.
    • That entry already ships its own logo.svg, byte-identical to Base's, and the CDN already serves it with a 200. Nothing changes visually.

Not changed

  • rFLR (Flare 0x26d460c3…, non-transferable reward token) is deliberately not added. A list entry could surface it in token pickers. Earn shows the Flare mark for it locally.
  • Base ETH (0xEeee…) also references mainnet ETH's image. Native ETH is the same asset, so this is left as is.

Verification

  • Both entries validate against src/schema/token.schema.json, the schema the token-validation workflow uses.
  • Every token logoURI in the repo has its logo.<ext> file, which is what build.ts copies.
  • Formatting matches the existing 2-space entries.

🤖 Generated with Claude Code

- cbXRP (Coinbase Wrapped XRP) on Base, 0xcb585250f852c6c6bf90434ab21a00f02833a4af,
  6 decimals (name/symbol/decimals read on chain). It is the underlying of the
  XRP Yield MetaVault; without an entry the API returns no logo and clients
  that build CDN URLs get a 404. Logo: Coinbase's cbXRP mark (CoinGecko, 250px).
- Mainnet wETH's logoURI pointed at Base wETH's image. The mainnet entry ships
  its own (byte-identical) logo.svg, so it now references it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@GaspardPeduzzi
GaspardPeduzzi merged commit 932247c into main Oct 9, 2026
1 check passed
@GaspardPeduzzi
GaspardPeduzzi deleted the chore/token-cbXRP-8453-weth-logo branch October 9, 2026 16:57
@GaspardPeduzzi GaspardPeduzzi self-assigned this Oct 9, 2026
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