We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parseUnits
formatUnits
Cast
cast --from-wei <wei> is equivalent to parseEther cast --to-wei <ether> is equivalent to formatEther
cast --from-wei <wei>
parseEther
cast --to-wei <ether>
formatEther
However, cast --to-unit is not equivalents of the more generic parseUnits. It only supports parsing to wei, gwei, ether, not to arbitrary decimals.
cast --to-unit
wei, gwei, ether
I couldn't find a cast --from-unit altogether.
cast --from-unit
This feature request is to add functionality to parse and format numbers to arbitrary decimals.
No response
The text was updated successfully, but these errors were encountered:
hello, i would like to work on this
Sorry, something went wrong.
@kien6034 thanks! assigned
thank you
cast
kien6034
Successfully merging a pull request may close this issue.
Component
Cast
Describe the feature you would like
cast --from-wei <wei>
is equivalent toparseEther
cast --to-wei <ether>
is equivalent toformatEther
However,
cast --to-unit
is not equivalents of the more genericparseUnits
. It only supports parsing towei, gwei, ether
, not to arbitrary decimals.I couldn't find a
cast --from-unit
altogether.This feature request is to add functionality to parse and format numbers to arbitrary decimals.
Additional context
No response
The text was updated successfully, but these errors were encountered: