HomePhabricator

[tg bot] add function returnAddressPreview

Description

[tg bot] add function returnAddressPreview

Summary:
T2972

Depends on D13362

Add helper function to convert an address string to an abbreviated preview for Telegram msgs. Unit tests specified to reflect customizability if settings change.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Mar 16 2023, 22:46
bytesofmanPushed on Mar 20 2023, 17:12
Reviewer
Restricted Project
Differential Revision
D13363: [tg bot] add function returnAddressPreview
Parents
rABC6fdc3aeb369e: [tg bot] port outputScriptToAddress function
Branches
Unknown
Tags
Unknown