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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: coingecko top 500 #765

wants to merge 11 commits into from

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
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

Successfully merging this pull request may close these issues.

1 participant