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 39.2%
  • Rust 32.5%
  • Assembly 23.4%
  • C++ 4.3%
  • JavaScript 0.4%
  • Circom 0.2%