Page MenuHomePhabricator

[tg bot] Add parsing function for converting satoshis to formatted XEC strings for telegram
AbandonedPublic

Authored by bytesofman on Mar 23 2023, 15:39.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T2972

Depends on D13438

Format XEC amounts and include emojis for whale-ish amounts

Test Plan

Review new function + unit tests
npm test
npm run msgs and review msgs. edge case where can get 1,000.0k for rounding a tx, deemed acceptable.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
new-tg-bot-stack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22622
Build 44864: Build Diff
Build 44863: arc lint + arc unit