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