diff --git a/exercises/ex1/.gitignore b/exercises/ex1/.gitignore index 85198aa..ca8dc5a 100644 --- a/exercises/ex1/.gitignore +++ b/exercises/ex1/.gitignore @@ -12,3 +12,138 @@ docs/ # Dotenv file .env + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +#Computer files +.DS_Store + diff --git a/circuits/README.md b/exercises/ex1/circuits/README.md similarity index 100% rename from circuits/README.md rename to exercises/ex1/circuits/README.md diff --git a/circuits/input.json b/exercises/ex1/circuits/input.json similarity index 100% rename from circuits/input.json rename to exercises/ex1/circuits/input.json diff --git a/circuits/multiplier2.circom b/exercises/ex1/circuits/multiplier2.circom similarity index 100% rename from circuits/multiplier2.circom rename to exercises/ex1/circuits/multiplier2.circom diff --git a/circuits/multiplier2.r1cs b/exercises/ex1/circuits/multiplier2.r1cs similarity index 100% rename from circuits/multiplier2.r1cs rename to exercises/ex1/circuits/multiplier2.r1cs diff --git a/circuits/multiplier2_0000.zkey b/exercises/ex1/circuits/multiplier2_0000.zkey similarity index 100% rename from circuits/multiplier2_0000.zkey rename to exercises/ex1/circuits/multiplier2_0000.zkey diff --git a/circuits/multiplier2_0001.zkey b/exercises/ex1/circuits/multiplier2_0001.zkey similarity index 100% rename from circuits/multiplier2_0001.zkey rename to exercises/ex1/circuits/multiplier2_0001.zkey diff --git a/circuits/multiplier2_js/generate_witness.js b/exercises/ex1/circuits/multiplier2_js/generate_witness.js similarity index 100% rename from circuits/multiplier2_js/generate_witness.js rename to exercises/ex1/circuits/multiplier2_js/generate_witness.js diff --git a/circuits/multiplier2_js/multiplier2.wasm b/exercises/ex1/circuits/multiplier2_js/multiplier2.wasm similarity index 100% rename from circuits/multiplier2_js/multiplier2.wasm rename to exercises/ex1/circuits/multiplier2_js/multiplier2.wasm diff --git a/circuits/multiplier2_js/witness_calculator.js b/exercises/ex1/circuits/multiplier2_js/witness_calculator.js similarity index 100% rename from circuits/multiplier2_js/witness_calculator.js rename to exercises/ex1/circuits/multiplier2_js/witness_calculator.js diff --git a/circuits/proof.json b/exercises/ex1/circuits/proof.json similarity index 100% rename from circuits/proof.json rename to exercises/ex1/circuits/proof.json diff --git a/circuits/public.json b/exercises/ex1/circuits/public.json similarity index 100% rename from circuits/public.json rename to exercises/ex1/circuits/public.json diff --git a/circuits/verification_key.json b/exercises/ex1/circuits/verification_key.json similarity index 100% rename from circuits/verification_key.json rename to exercises/ex1/circuits/verification_key.json diff --git a/circuits/witness.wtns b/exercises/ex1/circuits/witness.wtns similarity index 100% rename from circuits/witness.wtns rename to exercises/ex1/circuits/witness.wtns