-
Hi, I am getting the error below when trying to use the EdDSA and Num2Bits modules.
```bash
$ snarkjs calculatewitness
Error: Constraint doesn't match: 1 != 0
...
```
input.json
```json
{…
-
In the ed25519 test example, the private string sk is used to generate the public key (see https://github.com/barryWhiteHat/baby_jubjub_ecc/blob/master/tests/ed25519.py#L172 )and also the signature bu…
-
in /sha256/main.js
~include "sha256_2.jaz";~
include "sha256_2.circom";
~component sha256_2 = SHA256_2();~
component sha256_2 = Sha256_2();
And when I run
$> node cli.js circuits/sha256/m…
-
Following your example at: https://iden3.io/blog/circom-and-snarkjs-tutorial.html
Version: circom@0.0.17
Nodejs: v8.12.0
Machine: ubuntu 18.04
```
$ cat multiplier.circom
template Multiplie…
-
With circom 0.0.12, this circuit works fine:
```
template Test() {
signal input in;
signal output out;
var t = 0;
for (var i=0; i
-
Testing http://iden3.io/blog/circom-and-snarkjs-tutorial.html
With:
```
template Multiplier() {
signal private input a;
signal private input b;
signal output c;
c /usr/lib/node_modul…
5chdn updated
5 years ago
-
I am experimenting with Snarks.js, I tried using it **https://github.com/iden3/circom**
I use the code as so
const zkSnark = require("snarkjs");
const fs=require("fs")
const circuitDef = JSON.p…
-
Using circom version 0.0.15:
```
git clone git@github.com:iden3/circom.git
cd circom/test/circuits/
circom sha256_2_test.circom -o sha256_2_test.json
```
After several minutes:
```
…
-
```
$ circom
path.js:39
throw new ERR_INVALID_ARG_TYPE('path', 'string', path);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
…
-
I really appreciate your work on the `Sha256_2` circuit implementation. It's very useful, especially because it enables useful ZKPs, such as those which use commit-reveal schemes.
I was wondering h…