Page MenuHomePhabricator

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

Authored by emack on Nov 2 2022, 03:55.

Details

Summary

T2730

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

Test Plan

npm test and ensure unit test passes
npm start
burn an existing and new token and ensure console displays the 'BCH-JS burn script matches the local burn script' statement
burn a full token balance and ensure the same console log is displayed and verify explorer shows no token change in output

Diff Detail

Repository
rABC Bitcoin ABC
Branch
generateBurnOpReturn
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20797
Build 41256: Build Diffcashtab-tests
Build 41255: arc lint + arc unit