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

Allow for specifying a unit of the value being transferred. #372

Open
deuszx opened this issue Oct 26, 2022 · 0 comments
Open

Allow for specifying a unit of the value being transferred. #372

deuszx opened this issue Oct 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@deuszx
Copy link

deuszx commented Oct 26, 2022

Is your feature request related to a problem? Please describe.

Currently, when calling contract's endpoint that is payable, the Value field unit is fixed to the main unit of the chain (think ETH, DOT, etc.) while when working on a contract we're usually working with the basic unit of the chain's currency. polkadtojs.app allows for choosing the unit (milli, micro, Kilo, etc.), it would be good to provide this feature-parity (pun not intended).

Describe the solution you'd like
A dropdown menu where basic units are available.

Describe alternatives you've considered
n/a

Additional context
Current state of affair in Contract UI:
image

and screenshot from polkadot.js app for comparison
image

@statictype statictype added the enhancement New feature or request label Jan 29, 2023
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
None yet
Development

No branches or pull requests

2 participants