mirror of
https://github.com/socathie/circomlib-ml.git
synced 2026-01-10 06:28:08 -05:00
14 lines
264 B
JavaScript
14 lines
264 B
JavaScript
const mimcGenContract = require("./mimc_gencontract");
|
|
|
|
const SEED = "mimc";
|
|
|
|
let nRounds;
|
|
if (typeof process.argv[2] != "undefined") {
|
|
nRounds = parseInt(process.argv[2]);
|
|
} else {
|
|
nRounds = 91;
|
|
}
|
|
|
|
console.log(mimcGenContract.createCode(SEED, nRounds));
|
|
|