Page MenuHomePhabricator

[Cashtab] add support for additional fiat currencies
ClosedPublic

Authored by bytesofman on Aug 5 2021, 17:09.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCb1388bab869b: [Cashtab] add support for additional fiat currencies
Summary

After seeing a request for Vietnamese dong support, figured might as well add a few more based on traffic source for Cashtab users. I removed the order-of-magnitude sanity check on price as this was broken by Vietnamese Dong and also CoinGecko is keeping the BCHA api separate from the XEC one, so there is no longer the risk of a sudden switch.

Test Plan

Review new currencies to make sure no typos. Cycle through a few and try to break the app. There is a known issue where the UI does not fully lock on currency change, so if you quickly switch to another currency it may display improperly. A task is open for this and it will be addressed in another diff.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested changes to this revision.Aug 5 2021, 19:26
majcosta added a subscriber: majcosta.

if you could also please split this diff in two, that's better; adding new fiat currencies isn't related to reverting the precaution in D9718.

web/cashtab/src/hooks/useWallet.js
1344–1349 ↗(On Diff #29336)

this should be changed too, no? at least according to D9718

This revision now requires changes to proceed.Aug 5 2021, 19:26
This revision is now accepted and ready to land.Aug 6 2021, 18:01