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

Show rank in token holders and compare with rank from week/month/year ago #230

Open
modersohn opened this issue Jul 28, 2022 · 0 comments
Open

Comments

@modersohn
Copy link
Collaborator

To actually compare the rank change within a time frame we would need to switch the query to always only query for fixed set of holders (100 maybe?). We would then need to switch to the built-in pager, but this would require some effort if we still want the page number as a page param for browser history.

Then one could do a second query of top holders with a block-height that corresponds to the desired time-frame (chosen from a drop down). This would need to be a parameter of the page, separate cache etc.

Then getting the rank as index in the list and the previous rank by finding the account in the second list.

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