Synopsis
This libary provides primitives for creating and verifying BLS threshold signatures in Webassembly with a JS API. All the hard work is done by herumi/bls. This wraps the bls C++ code which is compiled to Webassembly for easier use.
Installation
npm install bls-lib
Usage
const bls = bls
Examples
API
Dependents
Building
First install the dependencies emscripten and ninja
git clone --recursive https://github.com/dfinity/js-bls-lib.git
cd js-bls-lib/build
ninja