[Cashtab] [airdrop chronik for mint address p1] Get minting address with chronik and compare to bch-api result
Summary:
T2730
This is part 1 of a stacked diff to remove a bch-api call from Airdrop.js
In this part, chronik is used to calculate the same information (i.e. the minting address). A console.log statement confirms that both methods get the same result.
The rest of this stack will deprecate the bch-api approach and remove debug logging.
Test Plan:
npm start
Create an aidrop tx and hit the switch for 'Ignore eToken minter address', hit 'Calculate Airdrop' button
Observe the dev console for Chronik and bch-api got the same minting address statement
Confirm you get the same result for a handful of different token ids
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Subscribers: emack
Differential Revision: https://reviews.bitcoinabc.org/D12367