Page MenuHomePhabricator

[token-lib] and [ecash-script] Initialize a new lib for building token txs on eCash
DraftPublic

Authored by bytesofman on Apr 1 2024, 00:07.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T3504

Initialize a new library to build token txs on eCash. Existing lib, slp-mdm, only supports token type 1 and has not been updated in 5 years. We will need to expand to support new token types.

Add a pushdata method based on the one existing in slp-mdm to ecash-script, as it is needed to support token script creation.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
etoken-lib-init
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28242
Build 56029: Build Diffecash-script-tests
Build 56028: arc lint + arc unit