Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace API with index SQL #358

Open
okwme opened this issue Sep 27, 2024 · 0 comments
Open

Replace API with index SQL #358

okwme opened this issue Sep 27, 2024 · 0 comments

Comments

@okwme
Copy link
Member

okwme commented Sep 27, 2024

first query to index API is implemented in store/sql.js. Can follow suit and replace the entire API.

subscriptions queries

  • todays leaderboard (confirm whether it's better to subscribe to multiple queries or make one big query)
    • fastest query
    • slowest query
    • streak? (maybe could be as needed since it changes so seldomly)
    • today's levels
  • current address balance (?)

as needed queries

  • previous leaderboard
  • leaders who claimed their free mint (done)
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

No branches or pull requests

1 participant