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

feat: coingecko top 500 #765

Merged
merged 11 commits into from
Dec 17, 2024
Merged

feat: coingecko top 500 #765

merged 11 commits into from
Dec 17, 2024

Conversation

alfetopito
Copy link
Collaborator

@alfetopito alfetopito commented Dec 10, 2024

Summary

Supersedes #764

Generates coingecko top (up to) 500 for all chains.

Uses coingecko coin markets endpoint to fetch up to 250 tokens at a time for all tokens in the respective coingecko token list per chain.
Then, sorts them by volume, and picks up to 500 (Gnosis chain only has ~80).

Testing

  1. Get the coingecko API key and run locally: COINGECKO_API_KEY=... yarn coingeckoTop500
  • Should update all 4 lists and bump their major version and timestamp

@alfetopito alfetopito self-assigned this Dec 10, 2024
@alfetopito alfetopito requested a review from a team December 10, 2024 17:43
@alfetopito
Copy link
Collaborator Author

Merging as is, post merge review please

@alfetopito alfetopito merged commit f7736e2 into main Dec 17, 2024
9 checks passed
@alfetopito alfetopito deleted the feat/coingecko-top-500 branch December 17, 2024 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant