The secp interface of the bitcoinjs-lib/bip32 module expects a pointAddScalarto 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.
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.