Page MenuHomePhabricator

[Cashtab] [Chronik] [Tx Gen] generateTokenTxOutput - part 2 send token tx
ClosedPublic

Authored by emack on Oct 14 2022, 13:51.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Depends on D12111

See T2503 for the pseudocode behind the generateTokenTxOutput function and how it'll be used by overarching token functions.

Part 2 adds the additional logic for send token's OP_RETURN script and additional token outputs.

The next diff will cover the BURN tx logic.

Test Plan

npm test and ensure the send unit test passes

Diff Detail

Repository
rABC Bitcoin ABC
Branch
generateTokenTxOutputs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20517
Build 40706: Build Diffcashtab-tests
Build 40705: arc lint + arc unit