-
Notifications
You must be signed in to change notification settings - Fork 206
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
Add wallet support for decimal currencies and some examples #1984
Conversation
cc06eb1
to
503c125
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not be sending display-appropriate values to the wallet and parsing there. I think the UI should be responsible to both displaying and reversing the display changes such the wallet only sees nat values for fungible tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems mostly OK, save my one comment about JSON5, which is less a comment about this PR and more flagging that we have a broader issue we should probably establish a policy on.
9481bd1
to
ca7db02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for making those changes!
Closes #1978, closes #1977
We don't actually have a path in front of the issuer, but we pretend by using
'Testnet.$USD'
and'Testnet.$LINK'
.The support for decimals in the wallet is genuine, though.