Update README.md (#2)

* Update README.md

* fix tests running example

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
This commit is contained in:
Mikerah 2023-02-21 18:06:09 -05:00 committed by GitHub
parent a0ba322cfd
commit d3487bfb5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -18,13 +18,22 @@ or
at your option. These files may not be copied, modified, or distributed except according to those terms. at your option. These files may not be copied, modified, or distributed except according to those terms.
## Usage ## Usage
First
```
git clone git@github.com:status-im/codex-storage-proofs.git
cd codex-storage-proofs
npm i
cd circuits
```
Preparing test key material (only suitable for testing) Preparing test key material (only suitable for testing)
``` ```
../scripts/circuit_prep.sh storer 13 ../scripts/circuit_prep.sh storer 13
``` ```
Running part of the code Running the tests:
`npm test`
``` ```
npm test test/merkletree.js npm test test/merkletree.js
``` ```