Skip to content

feat: LightLink token detail page fallback via subgraph#18

Open
artoo-claw wants to merge 1 commit intofix/token-selector-fallbackfrom
feat/lightlink-token-details-fallback
Open

feat: LightLink token detail page fallback via subgraph#18
artoo-claw wants to merge 1 commit intofix/token-selector-fallbackfrom
feat/lightlink-token-details-fallback

Conversation

@artoo-claw
Copy link
Collaborator

Summary

Fixes the token detail page (/explore/tokens/lightlink/<address>) showing "This token doesn't exist on LightLink" by adding a subgraph-based fallback.

Changes

  • New hook useLightLinkTokenQuery — fetches token data (name, symbol, decimals, volume, TVL, price) from the LightLink v3 subgraph when the chain is LightLink
  • Wired into useCreateTDPContext — skips the Uniswap GraphQL backend for LightLink and uses subgraph data instead
  • Token logo map for known LightLink tokens (WETH, USDC)
  • Stats section works with volume/TVL from subgraph; market cap/FDV gracefully absent
  • No changes to other chains

- Add useLightLinkTokenQuery hook that fetches token data from LightLink v3 subgraph
- Wire fallback into useCreateTDPContext for LightLink chain (skips Uniswap GraphQL)
- Include token logo map for known LightLink tokens (WETH, USDC)
- Subgraph provides volume, TVL, and price data; market cap/FDV gracefully absent
@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
uniswap-interface-web Ready Ready Preview, Comment Feb 17, 2026 4:25am

Request Review

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