-
Notifications
You must be signed in to change notification settings - Fork 16
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
WIP: Convert min stake and max stake values in zwalletcli to ZCN ,mZCN and other formats #10
Comments
All ZCN related information need to change in the CLI input/output |
So the default unit for ZCN will be 1 sas, which is equal to 10^-9 ZCN, right? If so, it means that an account with a balance of 1000,000,000 will have 1 ZCN. |
Yes it makes sense to manage the common logic for calculation and presentation organized at one place. |
It's 10^-10 |
I don't think this is in the realm of CLI output which should remain in Saswata (10^-10) (smallest units). Only for GUI and formatted commands should currency formatting be used, certainly not in JSON output |
PLEASE UPDATE THIS COMMENT IF YOU FIND SOME CLI OUTPUT THAT DOESN'T FORMAT TOKEN (except JSON). List of commands ZCN is used for CLI output: Zwalletcli:
Zboxcli:
|
Please can we offer a standardized option for all commands to return results, (especially those returning ZCN currency balance) as json via --json option as per :- https://github.com/0chain/zwalletcli/blob/staging/cmd/getbalance.go |
Hello @vudn95 here is a sample output for
./zwallet mn-info
command.The text was updated successfully, but these errors were encountered: