feat: fix token logos, and wire up price feeds for all supported tokens#3
Merged
Merged
Conversation
Adds 6 new chains (BOB, Bitlayer, B² Network, Rootstock, Core, Merlin), completes BTC-variant token coverage across all chains, fixes token logo rendering, and wires up CoinGecko price feeds for all 16 active tokens. ## Chains - New: BOB (60808), Bitlayer (200901), B² Network (223), Rootstock (30), Core (1116), Merlin (4200) - Chain display order updated: Ethereum → Base → BOB → BNB Chain → Monad → Polygon → Bitlayer → B² Network → Rootstock → Core → Merlin ## Tokens **B² Network**: added WBTC (0x4200...0006); removed USDC/USDT; BTC logo corrected to btc.png **BOB**: replaced ETH/WBTC/USDC.e with UNIBTC (0x236f...3894) + WBTC (0x0555...2b9c); added uniBTC logo **BNB Chain**: added WBTC (0x0555...2b9c); reordered BNB → WBTC → BTCB → USDC → USDT **Polygon**: reordered POL → WBTC → USDC → USDT **Rootstock**: renamed WBTC entry to WRBTC / "Wrapped RBTC"; RBTC and WRBTC now use dedicated rbtc.png logo ## Logos - Added: rbtc.png, unibtc.png, core.png, merl.png (btc.png already present) - Replaced stale SVGs for b2-network, bitlayer, bob, core, merlin, rootstock chain logos with correct PNGs/JPEG - Fixed .hf-dropdown-item img missing object-fit: cover — non-square logos now clip to a perfect circle in the token selector modal ## Prices Added CoinGecko ID mappings for all previously missing tokens: BTC → bitcoin, MERL → merlin-chain, CORE → coredaoorg, RBTC/WRBTC → rootstock, UNIBTC → universal-btc All 16 active tokens now resolve live USD prices (verified). ## Docs - Both READMEs updated: 11-chain table, 7 providers (added Symbiosis + Meson), Alchemy coverage note expanded to name all public-RPC chains - Deleted frontend/docs/API-KEYS.md (backend key docs, no longer relevant) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Feat/btc l2 chain expansion
|
@99promitsaha is attempting to deploy a commit to the Amrith Narayan's projects Team on Vercel. A member of the Team first needs to authorize it. |
ChipKlutzy
approved these changes
May 4, 2026
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ChipKlutzy
added a commit
that referenced
this pull request
May 8, 2026
Resolutions:
frontend/src/lib/chains.ts — kept HEAD's stripped form (Phase B
intentionally moves catalog to backend;
file now only re-exports types and the
NATIVE_TOKEN_ADDRESS constant)
frontend/src/components/SwapView.tsx — kept HEAD's <SafeAssetsToggle/> insertion
frontend/src/services/balanceService — took main's buildRpcCandidates extraction
(refactor of same logic, cleaner)
frontend/public/chains/bitlayer.svg — kept HEAD; main migrated to .png but the
backend seed still references .svg, so
deleting it would 404 the icon in prod
frontend/public/chains/{b2,bob,core}.png — kept HEAD's icon-only variants
Note for reviewer: main's PR #3 expanded chains.ts to include native tokens
(ETH, BNB, POL, MON, MERL, CORE, RBTC) and several BTC variants (uniBTC,
M-USDC, M-USDT) that the backend seed in PR #13 doesn't yet include. The
backend's /api/v1/catalog will return the v0.3.4 seed (~30 tokens), so
post-merge users won't see those new tokens until PR #13 is updated to
expand the seed. Flagging in the PR description.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8 tasks
ChipKlutzy
added a commit
that referenced
this pull request
May 10, 2026
Adds `npm run sync:fallback` (scripts/sync-fallback-catalog.mjs) which fetches /api/v1/catalog from prod (or CATALOG_URL env override for staging/local) and rewrites src/lib/catalog.fallback.ts mechanically. Why: the bundled fallback was hand-maintained, which let it drift from the backend's seed — hitting the team in #5/#13 review when PR #3 added native tokens that the backend seed didn't. The fallback's whole point is graceful degradation when /catalog is unreachable; if it diverges from prod, that promise is broken. New flow when adding/removing/editing a token: 1. Edit bridgekitty-backend/prisma/data/catalog.ts (single source of truth) 2. From backend repo: `npm run db:seed` (apply to Postgres) 3. From frontend repo: `npm run sync:fallback` (regenerate fallback) 4. Commit both repos. The generated catalog.fallback.ts now has a banner pointing readers at the upstream catalog file in the backend repo, so anyone who tries to edit it by hand sees that they're in the wrong place. This commit also includes the regenerated fallback off the live prod catalog (11 chains, 34 tokens), bringing it in sync with the now- deployed backend seed. Notable additions: ETH/BNB/POL/MON/CORE natives, BTC-on-BTC-L2 logos corrected to /token-icons/btc.png, MERL+WBTC on Merlin, UNIBTC on BOB, Rootstock WBTC renamed to WRBTC. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.