mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
cdf774ec7d8d5dc3f3841e07f8545dfbb7c20fda
Former-commit-id: 8945d9a4849c10385ec8392d713ed5e70ab306bf [formerly 5ee89312c7b05e6de9ca68e6f39a661a10b2162e] [formerly 5531848b2f1b054e048287bda2a4e0f2c28dbacb [formerly 2f64ce6f79]]
Former-commit-id: e5ba00d370b01f4ed37d24991593852ebd4ed70f [formerly 37c7a8cdd5640db65b5be783c2c888a7f4eb31bb]
Former-commit-id: 9625ac05c0164a9ae1cebb2d450624d039d7139e
ZK-kit
A monorepo of reusable JS libraries for zero-knowledge technologies.
ZK-kit is a set of NPM modules (algorithms or utility functions) that can be reused in different projects and zero-knowledge protocols, making it easier for developers to access ready-to-use and tested libraries for common tasks.
🟢 ZK-kit uses Conventional Commits (npm run commit or yarn commit).
📦 Packages
| Package | Version | Downloads | Size |
|---|---|---|---|
| @zk-kit/identity |
|
|
|
| @zk-kit/protocols |
|
|
|
| @zk-kit/merkle-tree |
|
|
|
| @zk-kit/sparse-merkle-tree |
|
|
|
🛠 Install
Clone this repository and install the dependencies:
$ git clone https://github.com/appliedzkp/zk-kit.git
$ cd zk-kit && npm i
📜 Usage
$ npm run lint # Syntax check with ESLint (npm run lint:fix to fix errors).
$ npm run prettier # Syntax check with Prettier (npm run prettier:fix to fix errors).
$ npm run commit # Interactive Commitizen commit.
$ npm run test # Test all packages (with common coverage).
$ npm run build # Create a JS build for each package.
$ npm run publish:fp # Publish packages on npm.
You can see the other npm scripts in the package.json file.
Languages
TypeScript
95.5%
TeX
4.4%