Skip to content

Commit c9fedd0

Browse files
committed
docs: add circom verifier
1 parent 0761b8b commit c9fedd0

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

docs/2_architecture/0_supported_verifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following is the list of the verifiers currently supported by Aligned:
88
- :white_check_mark: gnark - Plonk (with BN254 and BLS12-381) [(v0.12.0)](https://github.com/Consensys/gnark/releases/tag/v0.12.0)
99
- :white_check_mark: SP1 [(v5.0.0)](https://github.com/succinctlabs/sp1/releases/tag/v5.0.0)
1010
- :white_check_mark: Risc0 [(v2.0.0)](https://github.com/risc0/risc0/releases/tag/v2.0.0)
11-
- 🏗️ Circom
11+
- :white_check_mark: Circom [(v2.2.2)](https://github.com/iden3/circom/releases/tag/v2.2.2)
1212
- 🏗️ Lambdaworks
1313
- 🏗️ Kimchi
1414

docs/3_guides/0_submitting_proofs.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The following is the list of the verifiers currently supported by Aligned:
1414
- :white_check_mark: gnark - Plonk (with BN254 and BLS12-381) [(v0.12.0)](https://github.com/Consensys/gnark/releases/tag/v0.12.0)
1515
- :white_check_mark: SP1 [(v5.0.0)](https://github.com/succinctlabs/sp1/releases/tag/v5.0.0)
1616
- :white_check_mark: Risc0 [(v2.0.0)](https://github.com/risc0/risc0/releases/tag/v2.0.0)
17+
- :white_check_mark: Circom [(v2.2.2)](https://github.com/iden3/circom/releases/tag/v2.2.2)
1718

1819
Learn more about future verifiers [here](../2_architecture/0_supported_verifiers.md).
1920

@@ -254,3 +255,34 @@ aligned submit \
254255
--network holesky \
255256
--rpc_url https://ethereum-holesky-rpc.publicnode.com
256257
```
258+
259+
### CircomGroth16Bn128
260+
261+
The CircomGroth16Bn128 proof needs the proof file, the public input file and the verification key file.
262+
263+
```bash
264+
rm -rf ./aligned_verification_data/ &&
265+
aligned submit \
266+
--proving_system CircomGroth16Bn128 \
267+
--proof <proof_file> \
268+
--public_input <public_input_file> \
269+
--vk <verification_key_file> \
270+
--proof_generator_addr [proof_generator_addr] \
271+
--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
272+
--keystore_path <path_to_ecdsa_keystore> \
273+
--network holesky \
274+
--rpc_url https://ethereum-holesky-rpc.publicnode.com
275+
```
276+
**Example**
277+
278+
```bash
279+
rm -rf ./aligned_verification_data/ &&
280+
aligned submit \
281+
--proving_system CircomGroth16Bn128 \
282+
--proof ./scripts/test_files/circom_groth16_bn128_script/proof.json \
283+
--public_input ./scripts/test_files/circom_groth16_bn128_script/public.json \
284+
--vk ./scripts/test_files/circom_groth16_bn128_script/verification_key.json \
285+
--keystore_path ~/.aligned_keystore/keystore0 \
286+
--network holesky \
287+
--rpc_url https://ethereum-holesky-rpc.publicnode.com
288+
```

docs/3_guides/9_aligned_cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Submit a proof to the Aligned Layer batcher.
5858
- Holesky: `https://ethereum-holesky-rpc.publicnode.com`
5959
- Also, you can use your own Ethereum RPC providers.
6060
- `--proving_system <proving_system>`: Proof system of the submitted proof
61-
- Possible values: `GnarkPlonkBls12_381`, `GnarkPlonkBn254`, `Groth16Bn254`, `SP1`, `Risc0`
61+
- Possible values: `GnarkPlonkBls12_381`, `GnarkPlonkBn254`, `Groth16Bn254`, `SP1`, `Risc0`, `CircomGroth16Bn128`
6262
- `--proof <proof_file_path>`: Path to the proof file.
6363
- `--public_input <public_input_file_path>`: Path to the public input file.
6464
- `--vk <verification_key_file_path>`: Path to the verification key file (required for specific proof systems).

0 commit comments

Comments
 (0)