We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
generateProof
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Wrote simple test code, for generating proof off-chain, after generating proof code won't exit and stop
To Reproduce My Code:
const cljs = require("circomlibjs"); const { Identity } = require("@semaphore-protocol/identity"); const { Group } = require("@semaphore-protocol/group"); const { generateProof, verifyProof, calculateNullifierHash, } = require("@semaphore-protocol/proof"); async function main() { const identity = new Identity("secret"); const groupId = 1; const externalNullifier = 1212; const signal = 1; const group = new Group(groupId, 17); group.addMember(identity.commitment); const fullProof = await generateProof( identity, group, externalNullifier, signal, { zkeyFilePath: "./semaphore.zkey", wasmFilePath: "./semaphore.wasm", } ); console.log(fullProof); } main();
Expected behavior Logging fullProof and exit.
fullProof
Screenshots
Technologies (please complete the following information):
The text was updated successfully, but these errors were encountered:
Hey @pooryamoh!
Here is more context about the issue you have: #318
A temporal solution could be to do something like this:
main().finally(() => process.exit());
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Wrote simple test code, for generating proof off-chain, after generating proof code won't exit and stop
To Reproduce
My Code:
Expected behavior
Logging
fullProof
and exit.Screenshots

Technologies (please complete the following information):
The text was updated successfully, but these errors were encountered: