2022-11-17 12:49:02 +00:00
|
|
|
# codex-zk
|
|
|
|
|
|
|
|
[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
|
|
|
|
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
2023-02-08 14:46:17 +00:00
|
|
|
|
|
|
|
WIP Zero Knowledge tooling for the Codex project
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Licensed and distributed under either of
|
|
|
|
|
|
|
|
* MIT license: [LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
* Apache License, Version 2.0, ([LICENSE-APACHEv2](LICENSE-APACHEv2) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
|
|
|
|
at your option. These files may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
|
|
|
## Usage
|
2023-02-21 23:06:09 +00:00
|
|
|
First
|
|
|
|
```
|
|
|
|
git clone git@github.com:status-im/codex-storage-proofs.git
|
|
|
|
cd codex-storage-proofs
|
|
|
|
npm i
|
|
|
|
cd circuits
|
|
|
|
```
|
2023-02-08 14:46:17 +00:00
|
|
|
|
|
|
|
Preparing test key material (only suitable for testing)
|
|
|
|
```
|
|
|
|
../scripts/circuit_prep.sh storer 13
|
|
|
|
```
|
|
|
|
|
2023-02-21 23:06:09 +00:00
|
|
|
Running the tests:
|
|
|
|
|
|
|
|
`npm test`
|
2023-02-08 14:46:17 +00:00
|
|
|
```
|
|
|
|
npm test test/merkletree.js
|
2023-02-21 23:06:09 +00:00
|
|
|
```
|