jmrossy / celo-web-wallet

Othello: A lightweight, self-sovereign wallet for the Celo network. Runs on the web and on desktop.
https://celowallet.app
MIT License
45 stars 28 forks source link

Support ERC20 tokens with non-standard decimals #53

Closed jmrossy closed 2 years ago

jmrossy commented 3 years ago

Feature Description

Currently only the typical value of 18 (same as Ether) are supported. cSHIBA (0x22401536505dd5d85f7d57f8b37172feda8f499d) uses 9 decimals. Supporting this requires updating all places where wei<->int conversions are done.