mirror of https://github.com/vacp2p/zerokit.git
33d3732922
usize::from_le_bytes will take an array of length 2, 4 or 8 bytes depending on the target pointer size. Since wasm uses 32b, there was a failure while reading serialized values due to the number of bytes read being incorrect. I also update version rln-wasm to 0.0.9 (npm package needs to be updated to include this fix) |
||
---|---|---|
.github | ||
multiplier | ||
private-settlement | ||
rln | ||
rln-wasm | ||
semaphore | ||
utils | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
Cargo.lock | ||
Cargo.toml | ||
Cross.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
Makefile | ||
Makefile.toml | ||
README.md |
README.md
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.
Build and Test
To install missing dependencies, run the following commands from the root folder
make installdeps
To build and test all crates, run the following commands from the root folder
make build
make test
Release assets
We use cross-rs
to cross-compile and generate release assets for rln.