Package Exports
- @node-lightning/secp256k1
- @node-lightning/secp256k1/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@node-lightning/secp256k1) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@node-lightning/secp256k1
This library is heavily based on the secp256k1. The primary changes to this library are:
- remove dependency on Elliptic.js for in-browser usage
- streamlined build dependencies (see below)
- update reference to libsecp256k1
Install
To improve the security of this module (reduce dependencies and allow audibility), the native build process is performed upon installation.
The build processes uses node-gyp
and its prerequisites must be available for the package to install correctly. Refer to the node-gyp
installation instructions for full details for your target environment.
Note: The libsecp256k1 submodule is packaged in the package bundle (prior versions fetched code) so that git
is no longer an installation requirement.
Local Build
To perform a local build of the module requires initializing the libsecp256k1
submodule:
git submodule update --init
You can then perform a standard npm install
.