Add note in README to install blst

This commit is contained in:
dapplion 2020-11-29 12:21:31 +00:00
parent d9c83feb10
commit 78f66280de
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ Javascript library for BLS (Boneh-Lynn-Shacham) signatures and signature aggrega
yarn add @chainsafe/bls yarn add @chainsafe/bls
``` ```
To use native bindings you must install peer dependency `@chainsafe/blst`
```bash
yarn add @chainsafe/bls @chainsafe/blst
```
You must initialize the library once in your application before using it. The result is cached and use across all your imports You must initialize the library once in your application before using it. The result is cached and use across all your imports
```ts ```ts