HomePhabricator

[alias-server] [p2] Add chronik function to get txhistory for last 25 txs

Description

[alias-server] [p2] Add chronik function to get txhistory for last 25 txs

Summary:
T2922

Depends on D13007

Add chronik-client module and a simple function to get the tx history of the alias registration address

Note: This is a test alias registration address, the same one currently being used in the Cashtab implementation stack

Test Plan:

npm i
cp config.js.sample config.js
node index.js

Verify the last 25 txs at the address are printed to the console

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Jan 19 2023, 14:40
bytesofmanPushed on Feb 28 2023, 22:45
Reviewer
Restricted Project
Differential Revision
D13008: [alias-server] [p2] Add chronik function to get txhistory for last 25 txs
Parents
rABC09356d60e7ca: [alias-server] [p1] Template node app
Branches
Unknown
Tags
Unknown