Skip to content

feat(chains): Avalanche C/P-Chain display names - #55

Merged
nimrod-teich merged 1 commit into
mainfrom
feat/chains-avalanche-cp-display-names
Jun 28, 2026
Merged

nimrod-teich merged 1 commit into
mainfrom
feat/chains-avalanche-cp-display-names

Conversation

@nimrod-teich

Copy link
Copy Markdown
Contributor

Summary

Adds friendly display-name overrides for the Avalanche C-Chain and P-Chain specs (paired with the gateway/ansible additions that bring them online).

Spec index Display name
AVALANCHEC Avalanche C-Chain Mainnet
AVALANCHECT Avalanche C-Chain Testnet
AVALANCHEP Avalanche P-Chain Mainnet
AVALANCHEPT Avalanche P-Chain Testnet

Details

  • info's chain list is dynamic — chains appear automatically once they're live on the Lava spec registry (/lavanet/lava/spec/show_all_chains). No chain-list edit is needed.
  • Icons are already wired: chain-icons.ts aliases avalanchec/avalanchect/avalanchep/avalanchept → avalanche.svg, so no new asset is required.
  • This change only improves the display name so the UI shows "Avalanche C-Chain Mainnet" instead of a title-cased raw spec name.

Test plan

  • pnpm --filter @info/shared typecheck passes.

AVALANCHEC/AVALANCHECT and AVALANCHEP/AVALANCHEPT now show friendly
names instead of title-cased raw spec names. Icons already alias to
avalanche.svg; the chains appear automatically once live on-chain.
@nimrod-teich
nimrod-teich merged commit 6e1b756 into main Jun 28, 2026
2 checks passed
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