Skip to content

feat: add build and dev-setup scripts for email auth reveal circuit #134

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

Draft
wants to merge 3 commits into
base: email-recovery
Choose a base branch
from

Conversation

zkfriendly
Copy link
Collaborator

add build and setup scripts

@zkfriendly zkfriendly requested a review from shreyas-londhe May 27, 2025 07:41
@@ -5,10 +5,12 @@
"scripts": {
"build": "mkdir -p build && circom src/email_auth.circom --r1cs --wasm --sym --c -l ../../node_modules -o ./build",
"build-no-timestamp": "mkdir -p build/no-timestamp && circom src/email_auth_no_timestamp.circom --r1cs --wasm --sym --c -l ../../node_modules -o ./build/no-timestamp",
"build-reveal": "mkdir -p build/reveal && circom src/email_auth_reveal.circom --r1cs --wasm --sym --c -l ../../node_modules -o ./build/reveal",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: This looks okay for now, but if we plan to add more scripts in the future, maybe a good design would be to write a CLI script for all the build and dev setups with arguments instead of adding unique commands. This would be more modular and easy to work with as well.

@zkfriendly zkfriendly requested a review from shreyas-londhe June 2, 2025 10:53
@zkfriendly zkfriendly marked this pull request as draft June 2, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants