HomePhabricator

[Cashtab] Introduce nanosat to xec conversion functions

Description

[Cashtab] Introduce nanosat to xec conversion functions

Summary:
Because agora partial offers support pricing in nanosat per token sat, we need these functions to support user input in XEC (or fiat).

Write functions and unit tests. Functions are not implemented.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D16926

Details

Provenance
bytesofmanAuthored on Oct 18 2024, 10:50
bytesofmanPushed on Oct 18 2024, 12:47
Reviewer
Restricted Project
Differential Revision
D16926: [Cashtab] Introduce nanosat to xec conversion functions
Parents
rABC0ee2b31accd9: [Cashtab] Improve slider components
Branches
Unknown
Tags
Unknown