Page MenuHomePhabricator

[Cashtab] Add new helper function to generate to-spec targetOutputs for alias registration txs
ClosedPublic

Authored by bytesofman on Dec 20 2023, 23:59.

Details

Summary

In order to fully deprecate legacy transaction building functions, need to also use the new sendXec function to broadcast alias registrations.

Currently this is done with an ad hoc custom function, registerNewAlias, in src/utils/transactions.js.

Follow existing logic for creating an OP_RETURN output. Implementation to broadcast alias txs will be in a separate diff.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable