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

Support tokens with decimals different than 8 #248

Open
lmuntaner opened this issue Oct 8, 2024 · 0 comments
Open

Support tokens with decimals different than 8 #248

lmuntaner opened this issue Oct 8, 2024 · 0 comments

Comments

@lmuntaner
Copy link

lmuntaner commented Oct 8, 2024

The display of tokens in a user-friendly way assumes that the token uses 8 decimals. However, there are a number of tokens that use a different number.

We'd like to hard-code the list of tokens that should be displayed in a user-friendly way:

  • If a token isn't in the list, it should be displayed as the raw integer and not formatted.
  • If a token is in the list, use the decimals to display the amount.

List of supported tokens:

tokens.json.txt

🔗 zboto Link

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

No branches or pull requests

1 participant