HomePhabricator

[ecash-herald] Label addresses with emoji based on balance

Description

[ecash-herald] Label addresses with emoji based on balance

Summary:
T2972

Add logic to the app to get balance information of addresses before msg is generated. This allows tagging addresses with creature emojis depending on their wealth.

Requires a good deal of support and helper functions to get to this feature.

  • mocked chronik had to be upgraded to support chronik.script.utxos()
  • Need to save the responses from chronik.script.utxos() to mocks to be able to do unit tests with these mocks
  • Add emojis and balance thresholds to config

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Jun 21 2023, 22:15
bytesofmanPushed on Jun 28 2023, 17:13
Reviewer
Restricted Project
Differential Revision
D14099: [ecash-herald] Label addresses with emoji based on balance
Parents
rABCf26c663cb2e0: [alias-server] Add endpoint to get alias info and availability from alias
Branches
Unknown
Tags
Unknown