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

Use Ankr to generate token lists #86

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

nvonpentz
Copy link
Member

Resolves #82
Resolves #84

Remaining work and other issues

I was going to cache is_erc20 values similar to how we are caching coingecko IDs (since Ankr does not include this information), but I couldn't find a way to look up whether a given token is an ERC20 (previously thought this would be possible via an on-chain supportsInterface contract call, but ERC20s don't seem to support ERC165...). So that's still TBD.

We need to add native tokens which are not included in the Ankr response.

We need to download and compress images in for the tokens similar to how we are doing already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant