Skip to content

Add a market overview section on the homepage showing total protocol volume, active keys, and total holders #843

Description

@Chucks1093

Summary

The homepage has no macro-level stats showing the scale of the protocol. A market overview section displaying total trading volume, number of active creator keys, and total unique holders would give new users an immediate sense of activity.

Scope

  • Fetch protocol stats from GET /protocol/stats on homepage load
  • Display totalVolume (XLM), activeKeys, totalHolders, and trades24h as stat cards
  • Show a 24h change indicator (green up arrow / red down arrow) on totalVolume and trades24h
  • Cache the data in React Query with a 5-minute stale time
  • Show loading skeletons for each stat card while fetching

Acceptance Criteria

  • All four stat cards rendered with correct values
  • 24h change indicators shown with correct direction and colour
  • Loading skeletons shown during fetch
  • Data refreshes automatically after 5 minutes
  • Stats section visible without authentication

ETA: 12 hours


Coordinate on Telegram

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions