ZK-Kit is a set of libraries (algorithms or utility functions) that can be reused in different projects and zero-knowledge protocols, making it easier for developers to access user-friendly, tested, and documented code for common tasks. ZK-Kit provides different repositories for each language - this one contains Rust code only. |
---|
- JavaScript: zk-kit
- Rust: zk-kit.rust
- Solidity: zk-kit.solidity
- Circom: zk-kit.circom
- Noir: zk-kit.noir
Package | Version | Downloads | Audited |
---|---|---|---|
example | ❌ |
- 🔧 Work on open issues
- 📦 Suggest new crates
- 🚀 Share ideas for new features
- 🐛 Create a report if you find any bugs in the code
git clone https://github.com/privacy-scaling-explorations/zk-kit.rust.git && make setup
This will clone this repository and install the required development dependencies locally.
You can view the available tasks with:
make
You can proof your code for consistency with our formatting rules:
make check
or automatically format the code (performed automatically in a pre-commit
hook):
make fmt
To lint and analyze the code for potential bugs:
make lint
or automatically apply lint fix suggestions:
make fix
ZK-Kit uses conventional commits.
Compliance with these rules is enforced with a commit-msg
git hook, which was set up when you ran make setup
.
To test the code:
make test
To build crates:
make build