@solarity/circom-lib

0.1.3 • Public • Published

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.

Package Sidebar

Install

npm i @solarity/circom-lib

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

11.8 kB

Total Files

4

Last publish

Collaborators

  • hrom_h
  • arvolear