Open m0bi5 opened 3 years ago
It seems .json is not supported now, .r1cs is more popular. Snarkjs can recognize .r1cs and export json format.
for time being, you can use the following:
circom nand.circom -r nand.r1cs to generate r1cs format then snarkjs r1cs export json nand.r1cs nand.r1cs.json to generate a json
I am following the README and trying compile the NAND() circuit. However, when I run
circom mycircuit.circom -o circom.json
, thecircom.json
file does not get created. I can verify that circom is installed and commands likecircom --help
works. Please let me know what I am missing.Platform: Mac OSX, M1 chip Installed
npm
usingbrew install node
Followed bynpm install -g circom
to install circom