chore: clean up

This commit is contained in:
rymnc 2022-12-07 18:57:49 +05:30
parent edd33f10d4
commit 348263cbed
No known key found for this signature in database
GPG Key ID: C740033EE3F41EBD
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,12 @@
async function main() {
const { getProof } = await import("./utils");
const proof = await getProof();
console.log(proof);
console.log({
groupId: proof.groupId,
signal: proof.signal,
nullifierHash: proof.publicSignals.nullifierHash,
externalNullifier: proof.publicSignals.externalNullifier,
});
console.log("SOLIDITY PROOF: ", JSON.stringify(proof.solidityProof));
}

View File

@ -15,7 +15,8 @@
"fmt": "prettier --write \"**/*.{js,ts}\"",
"lint": "prettier --check \"**/*.{js,ts}\"",
"prepare": "husky install",
"ui": "yarn --cwd ui start"
"ui": "yarn --cwd ui start",
"proof": "yarn ts-node e2e/get-proof"
},
"devDependencies": {
"@interep/contracts": "0.6.0",