mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-01-22 04:24:12 +00:00
G
4dc600d353
refactor(RLN:) Remove dependencies and add new APIs (#45)
* refactor(rln): removing unused crates/dependencies * cargo fmt * refactor(rln): removed more dependencies; curve/fields as parameters * refactor(rln): use poseidon-rs hash instead of semaphore-rs poseidon * chore(rln): remove deps * refactor(rln): use exclusively arkworks Fr * refactor(rln): integrate poseidon-rs implementation to work with arkworks arithmetic * fix(rln): remove previous poseidon-rs wrapper * feat(rln): add features to select MT; remove prints if not in debug mode * fix(rln): collect test parameters in a vector * feat(RLN): add `new_with_params` (#36) Allows passing the wasm, zkey and verification key data as buffers, instead of using a path to a folder * chore(rln): simplify read wasm * fix(rln): remove unused dependencies * cargo fmt * fix(rln): update dependencies, fix commit * refactor(rln): restore ark-circom original dep Co-authored-by: Richard Ramos <info@richardramos.me>
Zerokit
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Initial scope
Focus on RLN and being able to use Circom based version through ark-circom, as opposed to the native one that currently exists in Rust.
Acknowledgements
-
Uses ark-circom, Rust wrapper around Circom.
-
Inspired by Applied ZKP group work, e.g. zk-kit.
-
RLN library written in Rust based on Bellman.
-
semaphore-rs written in Rust based on ark-circom.
Description
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Languages
Rust
98.6%
JavaScript
1.3%
Makefile
0.1%