circomlibjs/src/mimcsponge_printcontract.js

14 lines
256 B
JavaScript
Raw Normal View History

2021-10-30 13:57:29 +02:00
import {createCode} from "./mimcsponge_gencontract.js";
2021-10-06 11:28:14 +02:00
const SEED = "mimcsponge";
let nRounds;
if (typeof process.argv[2] != "undefined") {
nRounds = parseInt(process.argv[2]);
} else {
nRounds = 220;
}
2021-10-30 13:57:29 +02:00
console.log(createCode(SEED, nRounds));
2021-10-06 11:28:14 +02:00