Skip to content

distributed-lab/circom-wasm

 
 

Repository files navigation

npm License: GPLv3

Circom 2.0 WASM

This project is a version of Circom 2.0 compiled to WASM with AST serialization support.

Installation

The package is distributed under Distributed Lab npm organization. Run the following commanad to install the compiler:

npm install --global @distributedlab/circom2

Warning

This is an experimental software. You may encounter nasty bugs.

Usage

You can use the compiler in the following way:

circom2 <cli_arguments>

Or through using CircomRunner class directly. Check out cli.ts file to learn how it is done.

Disclaimer

GLHF!

Languages

  • WebAssembly 37.2%
  • Rust 34.7%
  • Assembly 24.8%
  • C++ 2.6%
  • JavaScript 0.5%
  • Circom 0.2%