Add `sindri.json` and `.sindriignore` to the Circom templates.

pull/4512/head
Evan Sangaline 10 months ago committed by Aniket
parent 245b1aa634
commit 23b7f99e59
  1. 4
      libs/remix-ws-templates/src/templates/hashchecker/.sindriignore
  2. 6
      libs/remix-ws-templates/src/templates/hashchecker/index.ts
  3. 9
      libs/remix-ws-templates/src/templates/hashchecker/sindri.json
  4. 4
      libs/remix-ws-templates/src/templates/rln/.sindriignore
  5. 6
      libs/remix-ws-templates/src/templates/rln/index.ts
  6. 9
      libs/remix-ws-templates/src/templates/rln/sindri.json
  7. 4
      libs/remix-ws-templates/src/templates/semaphore/.sindriignore
  8. 6
      libs/remix-ws-templates/src/templates/semaphore/index.ts
  9. 9
      libs/remix-ws-templates/src/templates/semaphore/sindri.json

@ -0,0 +1,4 @@
# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax).
/.deps/
/scripts/
/templates/

@ -9,6 +9,10 @@ export default async () => {
// @ts-ignore
'templates/groth16_verifier.sol.ejs': (await import('!!raw-loader!./templates/groth16_verifier.sol.ejs')).default,
// @ts-ignore
'README.md': (await import('raw-loader!./README.md')).default
'README.md': (await import('raw-loader!./README.md')).default,
// @ts-ignore
'.sindriignore': (await import('raw-loader!./.sindriignore')).default,
// @ts-ignore
'sindri.json': (await import('./sindri.json.raw!=!raw-loader!./sindri.json')).default,
}
}

@ -0,0 +1,9 @@
{
"$schema": "https://sindri.app/api/v1/sindri-manifest-schema.json",
"name": "circom-circuit",
"circuitPath": "./circuits/calculate_hash.circom",
"circuitType": "circom",
"curve": "bn254",
"provingScheme": "groth16",
"witnessCompiler": "wasm"
}

@ -0,0 +1,4 @@
# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax).
/.deps/
/scripts/
/templates/

@ -17,6 +17,10 @@ export default async () => {
// @ts-ignore
'LICENSE-MIT': (await import('!!raw-loader!./LICENSE-MIT')).default,
// @ts-ignore
'README.md': (await import('raw-loader!./README.md')).default
'README.md': (await import('raw-loader!./README.md')).default,
// @ts-ignore
'.sindriignore': (await import('raw-loader!./.sindriignore')).default,
// @ts-ignore
'sindri.json': (await import('./sindri.json.raw!=!raw-loader!./sindri.json')).default,
}
}

@ -0,0 +1,9 @@
{
"$schema": "https://sindri.app/api/v1/sindri-manifest-schema.json",
"name": "circom-circuit",
"circuitPath": "./circuits/rln.circom",
"circuitType": "circom",
"curve": "bn254",
"provingScheme": "groth16",
"witnessCompiler": "wasm"
}

@ -0,0 +1,4 @@
# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax).
/.deps/
/scripts/
/templates/

@ -13,6 +13,10 @@ export default async () => {
// @ts-ignore
'templates/groth16_verifier.sol.ejs': (await import('!!raw-loader!./templates/groth16_verifier.sol.ejs')).default,
// @ts-ignore
'README.md': (await import('raw-loader!./README.md')).default
'README.md': (await import('raw-loader!./README.md')).default,
// @ts-ignore
'.sindriignore': (await import('raw-loader!./.sindriignore')).default,
// @ts-ignore
'sindri.json': (await import('./sindri.json.raw!=!raw-loader!./sindri.json')).default,
}
}

@ -0,0 +1,9 @@
{
"$schema": "https://sindri.app/api/v1/sindri-manifest-schema.json",
"name": "circom-circuit",
"circuitPath": "./circuits/semaphore.circom",
"circuitType": "circom",
"curve": "bn254",
"provingScheme": "groth16",
"witnessCompiler": "wasm"
}
Loading…
Cancel
Save