Skip to content

fix: update img urls for sol tokens#1414

Open
limitofzero wants to merge 3 commits intomainfrom
fix/update-imgs-urls-for-some-tokens
Open

fix: update img urls for sol tokens#1414
limitofzero wants to merge 3 commits intomainfrom
fix/update-imgs-urls-for-some-tokens

Conversation

@limitofzero
Copy link
Copy Markdown
Contributor

@limitofzero limitofzero commented Apr 16, 2026

Summary by CodeRabbit

  • Updates
    • Added native SOL token for the Solana chain.
    • Added/provided logos for multiple existing tokens (Wrapped SOL/WSOL, USDT, BTC, USDC, SPX, Melania) to improve visual recognition.

@limitofzero limitofzero requested a review from a team April 16, 2026 20:58
@limitofzero limitofzero self-assigned this Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 05b53adc-2891-4e53-bdea-53b2340bf29f

📥 Commits

Reviewing files that changed from the base of the PR and between eab8104 and 8840644.

📒 Files selected for processing (1)
  • src/public/NearSolana.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/public/NearSolana.json

📝 Walkthrough

Walkthrough

Top-level timestamp updated; added a new SOL token entry for chainId: 1000000001; appended logoURI fields to several existing token entries and set symbol: "WSOL" for wrapped SOL.

Changes

Cohort / File(s) Summary
Token List Configuration
src/public/NearSolana.json
Updated timestamp. Added new token entry: chainId: 1000000001, address: 11111111111111111111111111111111, decimals: 9, name/symbol: SOL, with logoURI. Updated wrapped SOL entry to include symbol: "WSOL" and logoURI. Added logoURI fields to USDT, OKX Wrapped BTC (xBTC), USDC, SPX (Wormhole), and Melania Meme entries.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I nibbled bytes beneath the moon,

New SOL hopped in, a bright new tune,
Logos stitched on tokens neat,
Wallets glowing, paws a-beat,
A little hop for change complete.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating image URLs (logoURI fields) for Solana tokens in the NearSolana.json file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/update-imgs-urls-for-some-tokens

Warning

Review ran into problems

🔥 Problems

Timed out fetching pipeline failures after 30000ms


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/public/NearSolana.json`:
- Around line 18-25: There are two token entries with chainId 1000000001 and
symbol "SOL" (addresses "So11111111111111111111111111111111111111112" wrapped
SOL and "11111111111111111111111111111111" native SOL) causing symbol
collisions; update the wrapped SOL entry by changing its symbol from "SOL" to
"WSOL" (and optionally update its name to "Wrapped SOL") so consumers keyed by
(chainId, symbol) can disambiguate between the native and wrapped token.
- Around line 72-73: Replace fragile external logoURI values with stable
canonical sources: update the three problematic "logoURI" entries in
NearSolana.json to use project-controlled CDN or immutable storage (e.g., GitHub
raw URLs following the existing USDC pattern or Arweave/IPFS immutable CID
gateway URLs like the Arweave example already present). Locate the entries by
searching for the "logoURI" keys that reference coinall.ltd, imgur.com, and the
Pinata gateway and swap them for equivalent immutable URLs
(raw.githubusercontent.com or arweave/ipfs CID-based gateway URLs) so the assets
are hosted under a stable, project-controlled or content-addressed location.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1e49dcd0-c1eb-4322-8089-22bcdd2353fe

📥 Commits

Reviewing files that changed from the base of the PR and between df1fccf and eab8104.

📒 Files selected for processing (1)
  • src/public/NearSolana.json

Comment thread src/public/NearSolana.json
Comment on lines +72 to 73
"logoURI": "https://static.coinall.ltd/cdn/oksupport/common/20250512-095503.72e1f41d9b9a06.png"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only URL health check for newly added logo URIs.
set -euo pipefail

urls=(
  "https://static.coinall.ltd/cdn/oksupport/common/20250512-095503.72e1f41d9b9a06.png"
  "https://i.imgur.com/fLpAyY4.png"
  "https://gateway.pinata.cloud/ipfs/bafkreiduq5c43xdbcbhzx3plcdtz2jwkjpzlm2hwkoxhjgmnmqbl6otyfu"
)

for u in "${urls[@]}"; do
  echo "=== $u"
  curl -sSI --max-time 15 "$u" | sed -n '1,10p'
  echo
done

Repository: cowprotocol/token-lists

Length of output: 1320


🏁 Script executed:

cat -n src/public/NearSolana.json | sed -n '65,130p'

Repository: cowprotocol/token-lists

Length of output: 2715


Logo URIs use non-canonical hosts that may break over time.

The new logoURI values on lines 72, 103, and 119 rely on coinall.ltd, imgur.com, and a Pinata IPFS gateway. These are more fragile than immutable/canonical sources and can cause intermittent broken icons.

Use a stable canonical source (project-controlled repo/CDN or immutable IPFS CID URL) for these logos, consistent with the existing GitHub raw pattern used for USDC (line 80) or Arweave (line 95).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/public/NearSolana.json` around lines 72 - 73, Replace fragile external
logoURI values with stable canonical sources: update the three problematic
"logoURI" entries in NearSolana.json to use project-controlled CDN or immutable
storage (e.g., GitHub raw URLs following the existing USDC pattern or
Arweave/IPFS immutable CID gateway URLs like the Arweave example already
present). Locate the entries by searching for the "logoURI" keys that reference
coinall.ltd, imgur.com, and the Pinata gateway and swap them for equivalent
immutable URLs (raw.githubusercontent.com or arweave/ipfs CID-based gateway
URLs) so the assets are hosted under a stable, project-controlled or
content-addressed location.

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.

2 participants