UNPKG
circomlibjs
Version:
latest (0.1.7)
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Javascript library to work with circomlib
github.com/iden3/circomlibjs
iden3/circomlibjs
circomlibjs
/
src
/
mimc7_printcontract.js
14 lines
(9 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{createCode}
from
"./mimc7_gencontract.js"
;
const
SEED
=
"mimc"
;
let
nRounds;
if
(
typeof
process.
argv
[
2
] !=
"undefined"
) { nRounds =
parseInt
(process.
argv
[
2
]); }
else
{ nRounds =
91
; }
console
.
log
(
createCode
(
SEED
, nRounds));