Mikerah afcaf4a600 Completed benchmarking
Basic benchmarking script

Added benchmarks for groth16

base of benches.rs

Update README.md (#2)

* Update README.md

* fix tests running example

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>

adding CI build (#4)

adding initial CI build for circuits

rework with poseidon (#3)

* rework with poseidon

* adding main template

* adding todo

* remove mimc

Ark circom and rust ffi (#5)

* wip rust ffi

* proper test component instantiation

* adding quick&dirty poseidon implementation

* update gitignode

* gitignore

* adding rust circuit tests

* gitignore

* rename

* add storer tests

* move utils under circuit_tests

* fix storage proofs

* wip: ffi

* instantiate storer

* enable ark-serialize

* delete js tests

* update CI to run cargo tests

* keep the artifacts dir

* update .gitignore

* build circuits

* remove package json

* place built circuits in correct dirs

* update gitignore

* remove node

* fix ci

* updating readme

* storageproofs.rs to storage_proofs.rs

* flatten tests chunks by default

* add ffi

* fix digest

* minor fixes for ffi

* fix storer test

* use random data for chunks

* debug optimizations to speed witness generation

* clippy & other lint stuff

* add back missing unsafe blocks

* release mode disables constraint checks

* fix ffi

* fix hashes serialization

* make naming more consistent

* add missing pragma

* use correct circuits

* add todo

* add clarification to readme

* silence unused warning

* include constants file into exec

* remove unused imports

extract poseidon to it's own package (#8)

* extract poseidon to it's own package

* move license to the bottom
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-06-13 15:43:51 -04:00
2023-02-09 10:40:23 -06:00
2023-02-09 10:40:23 -06:00
2023-06-13 15:43:51 -04:00

codex-zk

License: Apache License: MIT

WIP Zero Knowledge tooling for the Codex project

Usage

First, clone the repo and install the circom components:

git clone git@github.com:status-im/codex-storage-proofs.git
cd codex-storage-proofs
npm i
cd circuits

Nex, compile circuits:

../scripts/circuit_prep.sh

Running the tests:

cargo test # don't run in release more as it dissables circuit assets

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.

Description
testing zk tooling
Readme
Languages
Rust 74%
JavaScript 12.9%
Nim 11.8%
Shell 1.3%