centrifuge/axis

ERC20 Token Widgets

lucasvo opened this issue · 0 comments

We need a set common widgets to use in our UIs that represent ERC20 balances and amount both to modify and read values. It's important that they don't round any inputs and have arbitrary precision (that goes beyond javascript's standard 64bit numbers). You should be able to specify a number of digits to display with a property on the react component.

It might be worthwhile to look into how gnosis safe implemented some of their widgets: https://github.com/gnosis/safe-react

The bold text is the widget description and not part of the wireframe of the widget:

erc20_amount_widget.pdf