Page MenuHomePhabricator

[Cashtab] Use ecash-lib for HDNode
ClosedPublic

Authored by bytesofman on Thu, Mar 13, 23:15.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC72d6eb29573c: [Cashtab] Use ecash-lib for HDNode
Summary

Now that we use ecash-lib for singing and verifying msgs, this is the last place we are still using utxo-lib.

Use ecash-lib instead. Remove the utxo-lib dependency.

bundle size goes from 858.92kB -> 559.61 kB with this diff; about 35% less

Test Plan

npm test

this diff is deployed at https://cashtab-local-dev.netlify.app/

Diff Detail

Repository
rABC Bitcoin ABC
Branch
no-utxo-lib
Lint
Lint Errors
SeverityLocationCodeMessage
Errorcashtab/src/wallet/__tests__/index.test.js:30ESLINT@typescript-eslint/no-unused-vars
Unit
No Test Coverage
Build Status
Buildable 32720
Build 64928: Build Diffcashtab-tests
Build 64927: arc lint + arc unit