Skip to content

feat: add trending creator keys leaderboard - #789

Merged
Chucks1093 merged 4 commits into
accesslayerorg:devfrom
Stanley-Owoh:add-trending-creator-keys-leaderboard-779
Aug 27, 2026
Merged

feat: add trending creator keys leaderboard#789
Chucks1093 merged 4 commits into
accesslayerorg:devfrom
Stanley-Owoh:add-trending-creator-keys-leaderboard-779

Conversation

@Stanley-Owoh

Copy link
Copy Markdown
Contributor

Add trending leaderboard section on homepage

New users landing on the homepage had no signal of which creator keys are popular. This PR adds a leaderboard section fetching from GET /leaderboard/volume and rendering the top 20 keys with rank, name, volume, and 24h price change.

Changes

New files:

  • src/services/leaderboard.service.ts — API service for GET /leaderboard/volume
  • src/hooks/useLeaderboardVolume.ts — React Query hook with 5-minute stale time
  • src/components/home/TrendingLeaderboard.tsx — Homepage leaderboard section with skeleton loader
  • src/pages/LeaderboardPage.tsx — Dedicated leaderboard page

Modified files:

  • src/lib/queryKeys.ts — Added leaderboard.volume() query key
  • src/routes.tsx — Added /leaderboard route
  • src/pages/HomePage.tsx — Integrated <TrendingLeaderboard /> between Spotlight and TrendingCreators

Acceptance Criteria

  • 20 rows rendered with correct rank, name, volume, and price change
  • Positive price change displayed in green, negative in red
  • Skeleton shown during initial load
  • Data refreshes automatically after 5 minutes
  • 'View all' link navigates to leaderboard page

Closes #779

@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@Stanley-Owoh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit a0479c9 into accesslayerorg:dev Aug 27, 2026
1 check 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.

Add a trending leaderboard section on the homepage showing top 20 creator keys by trading volume

2 participants