Convert an ACIR circuit generated by Noir.
How to use the repo:
- Install the binary using the command below
cargo install --path=.
-
Then enter your Noir project directory
-
Compile a circuit using nargo.
nargo compile test
- Then run the command below
acir-to-bberg-circuit <path_to_nargo_compile_output>
The default path will be ./target/main.json
, and it will change the JSON file directly. It should be noted that it will also overwrite the proving key and verification key to be empty if exist in the original build artifact.