UNPKG
@voctest/circomlibjs
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.8
Javascript library to work with circomlib
github.com/iden3/circomlibjs
iden3/circomlibjs
@voctest/circomlibjs
/
src
/
mimc7_print_iv.js
18 lines
(12 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import
buildMimc7
from
"./mimc7.js"
;
async
function
run
(
) {
const
mimc7 =
await
buildMimc7
();
console
.
log
(
"IV: "
+mimc7.
getIV
().
toString
()); }
run
().
then
(
()=>
{ process.
exit
(
0
); },
(
err
) =>
{
console
.
log
(err.
stack
);
console
.
log
(err.
message
); process.
exit
(
1
); });