mirror of
https://github.com/vacp2p/rln-interep-contract.git
synced 2025-02-28 06:00:43 +00:00
chore: clean up
This commit is contained in:
parent
edd33f10d4
commit
348263cbed
@ -1,7 +1,12 @@
|
|||||||
async function main() {
|
async function main() {
|
||||||
const { getProof } = await import("./utils");
|
const { getProof } = await import("./utils");
|
||||||
const proof = await getProof();
|
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));
|
console.log("SOLIDITY PROOF: ", JSON.stringify(proof.solidityProof));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
"fmt": "prettier --write \"**/*.{js,ts}\"",
|
"fmt": "prettier --write \"**/*.{js,ts}\"",
|
||||||
"lint": "prettier --check \"**/*.{js,ts}\"",
|
"lint": "prettier --check \"**/*.{js,ts}\"",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"ui": "yarn --cwd ui start"
|
"ui": "yarn --cwd ui start",
|
||||||
|
"proof": "yarn ts-node e2e/get-proof"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@interep/contracts": "0.6.0",
|
"@interep/contracts": "0.6.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user