{"id":25420221,"url":"https://github.com/dl-solarity/circom-lib","last_synced_at":"2025-07-29T01:08:48.608Z","repository":{"id":224636410,"uuid":"761393577","full_name":"dl-solarity/circom-lib","owner":"dl-solarity","description":"Circom circuits library for magnificent ZK applications","archived":false,"fork":false,"pushed_at":"2025-06-04T11:31:10.000Z","size":63916,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-11T10:14:45.488Z","etag":null,"topics":["circom","solarity","solidity","zero-knowledge","zkp"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@solarity/circom-lib","language":"Circom","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dl-solarity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-21T19:36:05.000Z","updated_at":"2025-06-04T11:31:10.000Z","dependencies_parsed_at":"2024-03-11T13:40:06.742Z","dependency_job_id":"b7b35df2-5f5a-4863-8970-7886f7382190","html_url":"https://github.com/dl-solarity/circom-lib","commit_stats":null,"previous_names":["dl-solarity/circom-lib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dl-solarity/circom-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-solarity%2Fcircom-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-solarity%2Fcircom-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-solarity%2Fcircom-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-solarity%2Fcircom-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dl-solarity","download_url":"https://codeload.github.com/dl-solarity/circom-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dl-solarity%2Fcircom-lib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267613482,"owners_count":24115633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circom","solarity","solidity","zero-knowledge","zkp"],"created_at":"2025-02-16T19:36:27.300Z","updated_at":"2025-07-29T01:08:48.586Z","avatar_url":"https://github.com/dl-solarity.png","language":"Circom","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@solarity/circom-lib.svg)](https://www.npmjs.com/package/@solarity/circom-lib)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Circom Library by Distributed Lab\n\nThe library consists of circom circuits that extend the capabilities of [solarity/solidity-lib](https://github.com/dl-solarity/solidity-lib) to be used in magnificent ZK applications.\n\n```md\ncircuits\n├── bigInt\n│   ├── bigInt - \"BigInt implementation with chunking\"\n│   ├── bigIntOverflow — \"BigInt implementation with chunk overflow\"\n│   ├── bigIntFunc — \"Additional functions to accommodate BigInt\"\n│   └── karatsuba — \"Karatsuba multiplication for BigInt\"\n├── bitify\n│   ├── bitGates — \"Multiple binary gates\"\n│   ├── bitify — \"Convert numbers to bits and vice versa\"\n│   ├── comparators - \"Compare signals in binary representation\"\n│   └── operations — \"Binary sum of multiple elements\"\n├── blinders\n│   └── Commitment — \"Commit/reveal scheme implementation\"\n├── data-structures    \n│   ├── CartesianMerkleTree — \"CMT Merkle inclusion/exclusion proofs verification\"\n│   ├── IncrementalMerkleTree - \"IMT Merkle inclusion proofs verification\"\n│   └── SparseMerkleTree — \"SMT Merkle inclusion/exclusion proofs verification\"\n├── ec\n│   ├── curve — \"Elliptic curve operations (secp256r1, secp256k1, brainpoolP256r1, brainpoolP384r1, secp384r1)\"\n│   ├── get - \"Generator point getters for supported elliptic curves\"\n│   └── powers — \"Precompute tables for supported elliptic curves\"\n├── hasher  \n│   ├── hash — \"Hash functions (sha1, sha224, sha256, sha384, sha512, poseidon)\"\n│   ├── poseidon - \"Poseidon hash function implementation\"\n│   ├── sha1 — \"SHA1 hash function implementation\"\n│   └── sha2 — \"SHA2 hash functions family implementations\"\n├── int\n│   └── arithmetic - \"Arithmetic operations over integers\" \n├── matrix\n│   └── matrix — \"Common operations for NxM matrices\"\n├── signatures\n│   ├── ecdsa - \"ECDSA verification over supported curves\"\n│   ├── rsa — \"RSA-PKCS#1 v1.5 signature verification\"\n│   ├── rsaPss — \"RSASSA-PSS with MGF1 signature verification\"\n│   └── mask - \"Mask generation functions implementation\"\n├── utils\n│   ├── aliascheck — \"Check the number fits the scalar field size\"\n│   ├── compconstant — \"Compare a number with a template parameter in a binary form\"\n│   └── switcher - \"Select between two options\"\n├── main - \"Main components for testing purposes\"\n└── mock - \"Mocks (logs) for testing purposes\"\n```\n\nPowered by [hardhat-zkit](https://github.com/dl-solarity/hardhat-zkit) circom environment.\n\n## Overview\n\n### Installation\n\n```console\n$ npm install @solarity/circom-lib\n```\n\n\u003e [!TIP]\n\u003e No need to install the Circom compiler, the repository leverages `hardhat-zkit` that does everything for you.\n\n### Compile the circuits\n\nYou can compile the circuits in the project by executing the following command:\n\n```console\n$ npm run zkit-compile\n```\n\n## License\n\nThe library is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-solarity%2Fcircom-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdl-solarity%2Fcircom-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdl-solarity%2Fcircom-lib/lists"}