Skip to content

Conversation

zkfriendly
Copy link
Collaborator

add build and setup scripts

@zkfriendly zkfriendly requested a review from shreyas-londhe May 27, 2025 07:41
"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