diff --git a/libs/remix-ws-templates/src/templates/hashchecker/.sindriignore b/libs/remix-ws-templates/src/templates/hashchecker/.sindriignore new file mode 100644 index 0000000000..382e53dfd3 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/hashchecker/.sindriignore @@ -0,0 +1,4 @@ +# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax). +/.deps/ +/scripts/ +/templates/ diff --git a/libs/remix-ws-templates/src/templates/hashchecker/index.ts b/libs/remix-ws-templates/src/templates/hashchecker/index.ts index b119c6d251..223ea39df4 100644 --- a/libs/remix-ws-templates/src/templates/hashchecker/index.ts +++ b/libs/remix-ws-templates/src/templates/hashchecker/index.ts @@ -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, } } \ No newline at end of file diff --git a/libs/remix-ws-templates/src/templates/hashchecker/sindri.json b/libs/remix-ws-templates/src/templates/hashchecker/sindri.json new file mode 100644 index 0000000000..80715a6e92 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/hashchecker/sindri.json @@ -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" +} diff --git a/libs/remix-ws-templates/src/templates/rln/.sindriignore b/libs/remix-ws-templates/src/templates/rln/.sindriignore new file mode 100644 index 0000000000..382e53dfd3 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/rln/.sindriignore @@ -0,0 +1,4 @@ +# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax). +/.deps/ +/scripts/ +/templates/ diff --git a/libs/remix-ws-templates/src/templates/rln/index.ts b/libs/remix-ws-templates/src/templates/rln/index.ts index 92e290ccc3..a56c2844c0 100644 --- a/libs/remix-ws-templates/src/templates/rln/index.ts +++ b/libs/remix-ws-templates/src/templates/rln/index.ts @@ -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, } } \ No newline at end of file diff --git a/libs/remix-ws-templates/src/templates/rln/sindri.json b/libs/remix-ws-templates/src/templates/rln/sindri.json new file mode 100644 index 0000000000..60673ffdc6 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/rln/sindri.json @@ -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" +} diff --git a/libs/remix-ws-templates/src/templates/semaphore/.sindriignore b/libs/remix-ws-templates/src/templates/semaphore/.sindriignore new file mode 100644 index 0000000000..382e53dfd3 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/semaphore/.sindriignore @@ -0,0 +1,4 @@ +# Files to exclude from Sindri circuit uploads (uses `.gitignore` syntax). +/.deps/ +/scripts/ +/templates/ diff --git a/libs/remix-ws-templates/src/templates/semaphore/index.ts b/libs/remix-ws-templates/src/templates/semaphore/index.ts index 3c63bc8327..adabb9e65c 100644 --- a/libs/remix-ws-templates/src/templates/semaphore/index.ts +++ b/libs/remix-ws-templates/src/templates/semaphore/index.ts @@ -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, } } \ No newline at end of file diff --git a/libs/remix-ws-templates/src/templates/semaphore/sindri.json b/libs/remix-ws-templates/src/templates/semaphore/sindri.json new file mode 100644 index 0000000000..0372f6b6c6 --- /dev/null +++ b/libs/remix-ws-templates/src/templates/semaphore/sindri.json @@ -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" +}