mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
92d26408bfdff989807bf51a7f6a00513e2f0d23
Former-commit-id: 8b9437866cbc64100114b34b6defc64ad4ecde99 [formerly 7447096cadce68cedd88076ff21632b065e06d0b] [formerly 29a0f6eaf53f6dc6ddfbaef389dda17bed402903 [formerly b1327f328b]]
Former-commit-id: 6a5d1408faf866af38f49d95a98b18b6c170eefc [formerly 2d7a2466849c693526baa7d065f34239a24d4ec9]
Former-commit-id: e68cd845fd83ddd77134d57fabf0740ed78b6427
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.
📦 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%