Page MenuHomePhabricator

[Cashtab] [BCH deprecation] Pt 1/2 - Implement local generateGenesisOpReturn function
ClosedPublic

Authored by emack on Nov 1 2022, 10:42.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

T2730

This diff adds in-app logic to generate the genesis OP_RETURN script.

Relies on the SLP Metadata Maker library (slp-mdm)

Test Plan

npm install or npm i slp-mdm
npm test and ensure unit test passes
npm start
create a new token and ensure console displays the 'Output matches between BCH.SLP.TokenType1.generateGenesisOpReturn() and in-app generateGenesisOpReturn()' statement

Diff Detail

Repository
rABC Bitcoin ABC
Branch
generateGenesisOpReturn2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20785
Build 41232: Build Diffcashtab-tests
Build 41231: arc lint + arc unit