-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
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
feat(iam): test run for generating nullifiers with mishti #3160
base: main
Are you sure you want to change the base?
Conversation
@@ -254,6 +221,7 @@ app.post("/api/v0.0.0/verify", (req: Request, res: Response): void => { | |||
return void errorRes(res, "Unable to verify payload", 401); | |||
}) | |||
.catch((error) => { | |||
console.log("ERROR", error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO remove
await initializeMishti(); | ||
|
||
const nullifier = await generate_oprf( | ||
process.env.MISHTI_CLIENT_PRIVATE_KEY, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this private key used only to compute the signature required for the actual mishti call?
I was looking at this: https://docs.mishti.network/usage-instructions/making-requests-to-mishti-network
fixes #3095