I think we need a standard balance display element. I was just looking at Daniel's code for the token page and noticed he implemented a small balance element. I implemented one into the RAM, REX, Staking, and PowerUp screens. There's one on the transfer page.
The balance element should also have some kind of on:action hook that we can trigger when the balance is clicked. That can be used to autofill forms/etc.
I think we need a standard balance display element. I was just looking at Daniel's code for the token page and noticed he implemented a small balance element. I implemented one into the RAM, REX, Staking, and PowerUp screens. There's one on the transfer page.
Tokens Page: https://github.com/greymass/wallet/pull/49/files#diff-80b3e9dd9350572cabd98b2128625164094870ce1e04ab76509552e71d20674bR56-R65
Resource pages: https://github.com/greymass/wallet/blob/dev/src/pages/resources/components/forms/ram.svelte#L56
Transfer Page: https://github.com/greymass/wallet/blob/dev/src/pages/transfer/balance.svelte
We should try to unify those into a common component that always displays token + optional fiat value (or maybe always the fiat value if it exists).