mirror of https://github.com/embarklabs/embark.git
536a4029ba
For payable methods inside of the contract interatction section of cockpit, the value input has been updated to pass wei to the API. The input field now accepts value like `100 ether` or 25 szabo`. The value entered is automatically converted to wei and shown to the user in real time. Additionally, the input is validated for a correct value, with an error shown to the user for incorrectly entered values. A tooltip has been added to help the user enter correct values. UI updates can be seen in video here: https://monosnap.com/file/642cHH2HxDeiFLzB2VLqHP9GuqoRfz |
||
---|---|---|
.. | ||
index.js |