Skip to content

Commit d4cfc7b

Browse files
docs: mina verifiers (#2275)
1 parent 023d7d4 commit d4cfc7b

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed

docs/2_architecture/0_supported_verifiers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The following is the list of the verifiers currently supported by Aligned:
99
- :white_check_mark: SP1 [(v5.0.0)](https://github.com/succinctlabs/sp1/releases/tag/v5.0.0)
1010
- :white_check_mark: Risc0 [(v3.0.3)](https://github.com/risc0/risc0/releases/tag/v3.0.3). Previous versions are also compatible.
1111
- :white_check_mark: Circom [(v2.2.2)](https://github.com/iden3/circom/releases/tag/v2.2.2)
12+
- :white_check_mark: Mina (Testnet only - Sepolia, Hoodi)
13+
- :white_check_mark: Mina Account (Testnet only - Sepolia, Hoodi)
1214
- 🏗️ Lambdaworks
1315
- 🏗️ Kimchi
1416

docs/3_guides/0_submitting_proofs.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The following is the list of the verifiers currently supported by Aligned:
1515
- :white_check_mark: SP1 [(v5.0.0)](https://github.com/succinctlabs/sp1/releases/tag/v5.0.0)
1616
- :white_check_mark: Risc0 [(v3.0.3)](https://github.com/risc0/risc0/releases/tag/v3.0.3). Previous versions are also compatible.
1717
- :white_check_mark: Circom [(v2.2.2)](https://github.com/iden3/circom/releases/tag/v2.2.2)
18+
- :white_check_mark: Mina (Testnet only - Sepolia, Hoodi)
19+
- :white_check_mark: Mina Account (Testnet only - Sepolia, Hoodi)
1820

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

@@ -288,3 +290,77 @@ aligned submit \
288290
--network hoodi \
289291
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
290292
```
293+
294+
### Mina proof
295+
296+
{% hint style="warning" %}
297+
Mina proofs are only available on testnets (Sepolia, Hoodi). To use this verifier, you need to checkout to the `staging` branch:
298+
```bash
299+
git checkout staging
300+
```
301+
{% endhint %}
302+
303+
The Mina proof needs the proof file and the public input file.
304+
305+
```bash
306+
rm -rf ./aligned_verification_data/ &&
307+
aligned submit \
308+
--proving_system Mina \
309+
--proof <proof_file> \
310+
--public_input <public_input_file> \
311+
--proof_generator_addr [proof_generator_addr] \
312+
--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
313+
--keystore_path <path_to_ecdsa_keystore> \
314+
--network hoodi \
315+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
316+
```
317+
318+
**Example**
319+
320+
```bash
321+
rm -rf ./aligned_verification_data/ &&
322+
aligned submit \
323+
--proving_system Mina \
324+
--proof ./scripts/test_files/mina/devnet_mina_state.proof \
325+
--public_input ./scripts/test_files/mina/devnet_mina_state.pub \
326+
--keystore_path ~/.aligned_keystore/keystore0 \
327+
--network hoodi \
328+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
329+
```
330+
331+
### MinaAccount proof
332+
333+
{% hint style="warning" %}
334+
MinaAccount proofs are only available on testnets (Sepolia, Hoodi). To use this verifier, you need to checkout to the `staging` branch:
335+
```bash
336+
git checkout staging
337+
```
338+
{% endhint %}
339+
340+
The MinaAccount proof needs the proof file and the public input file.
341+
342+
```bash
343+
rm -rf ./aligned_verification_data/ &&
344+
aligned submit \
345+
--proving_system MinaAccount \
346+
--proof <proof_file> \
347+
--public_input <public_input_file> \
348+
--proof_generator_addr [proof_generator_addr] \
349+
--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
350+
--keystore_path <path_to_ecdsa_keystore> \
351+
--network hoodi \
352+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
353+
```
354+
355+
**Example**
356+
357+
```bash
358+
rm -rf ./aligned_verification_data/ &&
359+
aligned submit \
360+
--proving_system MinaAccount \
361+
--proof ./scripts/test_files/mina_account/mina_account.proof \
362+
--public_input ./scripts/test_files/mina_account/mina_account.pub \
363+
--keystore_path ~/.aligned_keystore/keystore0 \
364+
--network hoodi \
365+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
366+
```

0 commit comments

Comments
 (0)