Skip to content

Add missing chains, update misleading spot counter.#219

Merged
johnnymatthews merged 5 commits into
mainfrom
fix/missing-chains-misleading-spot-counter
May 21, 2026
Merged

Add missing chains, update misleading spot counter.#219
johnnymatthews merged 5 commits into
mainfrom
fix/missing-chains-misleading-spot-counter

Conversation

@johnnymatthews
Copy link
Copy Markdown
Contributor

Pull Request

Description

Added new chains to/chains page (22 to 55 total) based on top-100-by-TVL rankings, with placeholder SVG icons and correct spotsLimit values (0 for L2s with centralized sequencers, 100 for L1s). Hid the spot counter and progress bar on both the listing cards and detail pages when there are zero claims, so the page no longer shows "0/100" across every unsupported chain.

Changes

  • apps/website/data/networks.ts: expanded from 22 to 55 chains, fixed spotsLimit for L2s.
  • apps/website/app/(frontend)/chains/[slug]/page.tsx: hid Claimed row, progress bar, and IndexerSpots when 0 claims.
  • apps/website/app/(frontend)/chains/page.tsx: bumped query limit from 60 to 200.
  • apps/website/components/network-card/network-card.tsx: hid "Spots claimed" text when 0 claims.
  • apps/website/public/network-images/*.svg: 32 new placeholder icons for the added chains.

Related Issue

Closes #218

Steps to Test

  1. Clone branch, obvs.
  2. Install deps pnpm install
  3. Seed chains from D1 database pnpm --filter shinzo-website seed:chains
  4. Start Next.js dev server npx next dev --port 3000

Checklist

  • Code compiles / runs
  • Tests added / updated
  • Documentation updated if needed
  • PR is self-contained and focused
  • Code does not break any existing features
  • Code passes personal internal testing

Notes

Urgent request. Be good to get this merged today.

Expanded chain seed data from 22 to 55 networks, sourced from the top
100 chains by TVL (DeFiLlama/CoinGecko). Sets spotsLimit to 0 for L2s
and centralized-sequencer chains (Base, Arbitrum, Optimism, Scroll,
Mantle, Starknet, Linea, zkSync Era, Blast, Mode, Manta Pacific, Ink,
MegaETH, Merlin, Aurora). Adds missing token symbols for existing
entries (Polkadot, Gnosis, Tron).
@johnnymatthews johnnymatthews changed the title Fix/missing chains misleading spot counter Add missing chains, update misleading spot counter. May 21, 2026
@johnnymatthews
Copy link
Copy Markdown
Contributor Author

Probably easier to see what's going on with a couple of screenshots:

Current page Proposed page
current proposed

@johnnymatthews johnnymatthews requested a review from VanishMax May 21, 2026 09:39
@johnnymatthews johnnymatthews marked this pull request as ready for review May 21, 2026 09:39
@johnnymatthews
Copy link
Copy Markdown
Contributor Author

The vast majority of the files changed in this PR are images. You can take a look at them, but they're not particularly complex - just initials of each project for now. If/when this PR is merged, can make a new issue requiring proper images/logos for each chain.

Copy link
Copy Markdown
Collaborator

@VanishMax VanishMax left a comment

Choose a reason for hiding this comment

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

Nice one! I'm not sure if seed scripts will run on deployment, but let's try and maybe then add it manually from the admin page.

@johnnymatthews johnnymatthews merged commit 34468fc into main May 21, 2026
1 check passed
@johnnymatthews johnnymatthews deleted the fix/missing-chains-misleading-spot-counter branch May 21, 2026 09:59
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.

/chains page show too few chains and a misleading spot counter.

2 participants