arnaucube
arnaucube/circomlibPublic Self-hosted repository
circomlib/src/poseidon_printconstants.js
src/poseidon_printconstants.jsRaw
 1
 2
 3const Poseidon = require("./poseidon.js");
 4
 5const C = Poseidon.getConstants();
 6
 7let S = "[\n";
 8
 9for (let i=0; i<C.length; i++) {
10    S = S + "    " + C[i].toString();
11    if (i<C.length-1) S = S + ",";
12    S = S + "\n";
13}
14S=S+ "]\n";
15
16console.log(S);