Page MenuHomePhabricator

[ecash-lib] Add `signRecoverable` and `recoverSig` to `Ecc`
ClosedPublic

Authored by tobias_ruck on Sat, Feb 15, 19:02.

Details

Summary

Now that the HD wallet is also in ecash-lib, if we can get msg signing, then CashTab could lose bitgo/utxo-lib and bitcoinjs-message as deps.

We use our secp256k1, using Pieter Wuille's blessed code, which is much more rigorously vetted than bitcoinjs-message.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

please update the ecash-lib change-log per usual version bump (link to this diff, brief description)

This revision is now accepted and ready to land.Sat, Feb 15, 21:35