Skip to content

Commit 3f839ac

Browse files
authored
docs(zkrust): fix submit proof command (#1179)
1 parent 14a318a commit 3f839ac

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

docs/3_guides/5_using_zkrust.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cd zkRust
3636
and running the installation script:
3737

3838
```sh
39-
make install
39+
./install_aligned.sh
4040
```
4141

4242
### 2. Generate a keystore:
@@ -64,10 +64,10 @@ You can find them in `zkRust/examples`.
6464
For example, to generate a proof of a `fibonacci` program with Risc0 or SP1 and submit it to aligned, run:
6565

6666
```sh
67-
cargo run --release -- prove-risc0 \
68-
--submit-to-aligned-with-keystore \
69-
<PATH_TO_KEYSTORE> \
70-
examples/fibonacci .
67+
zkrust prove-risc0 \
68+
--submit-to-aligned \
69+
--keystore-path <PATH_TO_KEYSTORE> \
70+
examples/fibonacci
7171
```
7272

7373
This command will generate a proof for the fibonacci example program and submit it to Aligned using the keystore
@@ -80,9 +80,10 @@ Aligned.
8080
The same program can be proved using SP1 just changing the zkRust subcommand:
8181

8282
```bash
83-
cargo run --release -- prove-sp1 \
84-
--submit-to-aligned-with-keystore <path_to_keystore> \
85-
examples/fibonacci .
83+
zkrust prove-sp1 \
84+
--submit-to-aligned \
85+
--keystore-path <PATH_TO_KEYSTORE> \
86+
examples/fibonacci
8687
```
8788

8889
## Caveats

0 commit comments

Comments
 (0)