mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
3e5ed6c0458c4fb1fec05cbcb4120d3fe154e33e
nary incrementaly merkle tree
Former-commit-id: 4aa1b83552a93e3e4fdb376498bd31ad9f5024a7 [formerly bf5be2d9c1e51e1d07def33cccd426c49175fc47] [formerly f341368a9124b0e279ffadb146dc647144a252e1 [formerly 1e0807718c]]
Former-commit-id: 1bdb19b49a87bb8dc1e107dc697e4017527b5848 [formerly 8f1eb4d1301b4f19136826b2b8143022791b64d5]
Former-commit-id: ff1234ecbfbf1b9f47d19222d9e7bef96f2c170d
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%