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

TOP MINTS Data Calculation and Display #538

Open
reinamora137 opened this issue Dec 18, 2024 · 0 comments
Open

TOP MINTS Data Calculation and Display #538

reinamora137 opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@reinamora137
Copy link
Contributor

telegram-cloud-photo-size-1-5122997142418468434-x

in /islands/src20/cards/SRC20TokenMintingCard.tsx and /islands/src20/cards/SRC20TokenOutmintedCard.tsx

we have a TOP MINTS value.

These pages are populated via islands/src20/SRC20Section.tsx API calls - one of which is fetchTrendingTokens which defaults to the last 1000 src-20 transactions to get the latest trending trx within that # of transactions. For the top mints we can calculate the % value within the total data set. so if there is tokenX 500 times in the last 1000 transactions then it represents 50% of the 'top mints'

when calling the fetchSrc20DetailsWithHolders function we may want to limit this calculation to only tokens which are not 100% fully minted.

@reinamora137 reinamora137 self-assigned this Dec 18, 2024
@reinamora137 reinamora137 added the enhancement New feature or request label Dec 18, 2024
@reinamora137 reinamora137 added this to the v1 milestone Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant