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

Format balance based on decimals #35

Open
stojanov-igor opened this issue Sep 22, 2022 · 0 comments
Open

Format balance based on decimals #35

stojanov-igor opened this issue Sep 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@stojanov-igor
Copy link
Member

stojanov-igor commented Sep 22, 2022

OnHold for substrate development first

Currently, we are displaying all the decimals in the balance. In substrate, there is a way to properly format the balance.

See the issue below on how to do that.

https://stackoverflow.com/questions/64210673/how-do-you-format-balances-with-the-polkadot-js-api

@slaveatanasov FYI: We are currently pulling the balances from the profile, but we will probably refactor so that you can pull it from based on AccountID as in the issue below. The reason for this is that we don't want to duplicate data.

@stojanov-igor stojanov-igor added the enhancement New feature or request label Sep 22, 2022
@stojanov-igor stojanov-igor added this to the Release 1.0 milestone Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants