HomePhabricator

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

Description

[ecash-lib] Add signRecoverable and recoverSig to Ecc

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

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D17667

Details

Provenance
tobias_ruckAuthored on Sat, Feb 15, 19:02
tobias_ruckPushed on Sun, Feb 16, 14:13
Reviewer
Restricted Project
Differential Revision
D17667: [ecash-lib] Add `signRecoverable` and `recoverSig` to `Ecc`
Parents
rABC0372571b7f77: [chronik] implement electrum RPC method blockchain.scripthash.get_history
Branches
Unknown
Tags
Unknown