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(cg): add coingecko routes to token mappings #61

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

james-a-morris
Copy link
Contributor

We reference coinbase throughout the codebase (SDK + FE) - this maps token info values to a coingecko identifier.

@james-a-morris
Copy link
Contributor Author

Needed to conveniently look up historical pricing to accomplish ACX-2307

},
coingeckoId: "across-protocol",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooc, is it not possible to use the contract address for this? We don't need these IDs in the bots. Admittedly, we don't require historical prices, but I think cg also supports historical prices via contract address.

https://docs.coingecko.com/reference/contract-address-market-chart

Copy link
Contributor

@pxrl pxrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to migrate off the coingecko ID (if we confirm it's feasible), but +1 for now since we were hit by this when adding Lisk.

@james-a-morris james-a-morris merged commit bfe8e8e into master Jul 15, 2024
@james-a-morris james-a-morris deleted the james/add-cg-routes branch July 15, 2024 18:37
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.

3 participants