dl-solarity / circom-lib

Circom circuits library for magnificent ZK applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

Circom Library by Distributed Lab

The library consists of circom circuits that extend the capabilities of solarity/solidity-lib to be used in magnificent ZK applications.

  • Versatile commitment / nullifier circuit.
  • Optimized Sparse Merkle Tree (SMT) data structure.

Powered by hardhat-zkit circom environment.

Overview

Installation

$ npm install @solarity/circom-lib

Tip

No need to install the Circom compiler, the repository leverages hardhat-zkit that does everything for you.

Compile the circuits

You can compile the circuits in the project by executing the following command:

$ npm run zkit-compile

Create verifier contracts for the circuits

Run the following command in order to generate the solidity verifier contracts:

$ npm run zkit-verifiers

License

The library is released under the MIT License.

About

Circom circuits library for magnificent ZK applications

License:MIT License


Languages

Language:TypeScript 53.7%Language:Circom 38.0%Language:Solidity 4.6%Language:Shell 3.6%