From 78f66280dee65c639f0b1d24e17ada13fdf97825 Mon Sep 17 00:00:00 2001 From: dapplion Date: Sun, 29 Nov 2020 12:21:31 +0000 Subject: [PATCH] Add note in README to install blst --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b069428..2905abc 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,12 @@ Javascript library for BLS (Boneh-Lynn-Shacham) signatures and signature aggrega 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 ```ts