zcash-android-wallet-sdk icon indicating copy to clipboard operation
zcash-android-wallet-sdk copied to clipboard

Refactor CurrencyFormatter from public API to sdk-incubator-lib

Open HonzaR opened this issue 1 year ago • 0 comments

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

Remove CurrencyFormatter.kt from the sdk-lib and refactor it into sdk-incubator-lib. We probably don’t need all the methods for Double and BigDecimal. I think our main conversations are between String (Fiat), String (ZEC) and Zatoshi. So it might imply Zatosh.fromFiat() is a new API we need.

The public API is String (Fiat), String (ZEC) and Zatoshi. Everything is either deleted or an implementation detail.

HonzaR avatar Mar 16 '23 09:03 HonzaR