vulpemventures / secp256k1-zkp

JavaScript bindings of libsecp256k1-zkp with support for pedersen commitments and range proofs.
MIT License
15 stars 10 forks source link

Export `pointAddScalar` #40

Closed altafan closed 1 year ago

altafan commented 1 year ago

The secp interface of the bitcoinjs-lib/bip32 module expects a pointAddScalar to be defined.

Since the method is not exported by the lib, this can't be used by the Bip32Factory, which is extensively used for HD keypairs derivation. Let's define and export this new method.