mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
a6ec00a103770e60dbef020648144aa8c5037841
Former-commit-id: fb694f502804aca79c0ff856c87b7c1c75cc0488 [formerly 9b7d6b38094d5cbbbb703d3285e3adac3071d30d] [formerly 14a2002b23a0b7bd7e9af54644b616401f24d710 [formerly ccf4acf7ed]]
Former-commit-id: 5e32316578b2af37a379f9620a02f7662fda9eda [formerly b0d8671c2e3efb1ab26c07512e51c9077071d270]
Former-commit-id: b963490d675b470a3a91c527a7498f64c739cb6c
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 |
|
|
|
🛠 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%