@lightprotocol/zk.js
TypeScript icon, indicating that this package has built-in type declarations

0.3.2-alpha.16 • Public • Published

Usage in the browser

Copying the circuits (.wasm and .zkey files)

This library includes a file that need to be served from your project's public directory. We provide a shell script to automate this step.

To run this script, execute the following command in your project's root directory:

bash ./node_modules/@lightprotocol/zk.js/copy-circuits.sh

This will copy all necessary .wasm and .zkey files to ./public/build-circuits/*.wasm in your project.

This assumes that static files are served from /public/ such as in nextjs projects.

Readme

Keywords

Package Sidebar

Install

npm i @lightprotocol/zk.js

Weekly Downloads

12

Version

0.3.2-alpha.16

License

GPL-3.0

Unpacked Size

83.7 MB

Total Files

176

Last publish

Collaborators

  • vadorovsky
  • ananas-block
  • 0xlight