Summary
The leaderboard endpoint should return creators ordered by holder count descending. An integration test should seed creators with different holder counts and confirm the sort order is correct and stable when two creators share the same count.
Scope
- Seed three creators with holder counts 50, 20, and 50
- Call the leaderboard endpoint
- Assert the two creators with 50 holders appear before the creator with 20
- Assert the tie between the two creators with 50 holders is broken by creator address alphabetically
- Assert the response includes
rank, creator, holder_count, and current_price fields
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The leaderboard endpoint should return creators ordered by holder count descending. An integration test should seed creators with different holder counts and confirm the sort order is correct and stable when two creators share the same count.
Scope
rank,creator,holder_count, andcurrent_pricefieldsAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram