Page MenuHomePhabricator

[Cashtab] [BCH deprecation] Pt 1/2 - Implement local HD node toPublicKey logic
AbandonedPublic

Authored by emack on Oct 31 2022, 04:37.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

T2730

As a prerequisite to deprecating BCH.HDNode.toPublicKey this diff implements this locally within Cashtab

Test Plan

npm test
npm start
create a new wallet and observe 3 x 'BCH-JS publicKey output matches localPublicKey' console log messages relfecting the active wallet's Path245, Path145 and Path1899 derivations

Diff Detail

Repository
rABC Bitcoin ABC
Branch
hdnodeToPublicKey
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20770
Build 41203: Build Diffcashtab-tests
Build 41202: arc lint + arc unit

Event Timeline

emack requested review of this revision.Oct 31 2022, 04:37

masterHDNode is still coming from BCH before deriveAccount is called; this is what needs to be corrected before propagating downstream

This revision now requires changes to proceed.Oct 31 2022, 16:47