You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/3_guides/0_submitting_proofs.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ Make sure you have Aligned installed as specified [here](../1_introduction/1_try
4
4
5
5
If you run the examples below, make sure you are in Aligned's repository root.
6
6
7
+
You can check your submitted proofs on [Mainnet Explorer](https://explorer.alignedlayer.com) and [Holesky Explorer](https://holesky.explorer.alignedlayer.com).
8
+
7
9
## Supported Verifiers
8
10
9
11
The following is the list of the verifiers currently supported by Aligned:
@@ -77,7 +79,7 @@ aligned deposit-to-batcher \
77
79
This command allows the usage of the following flags:
78
80
79
81
- `--rpc_url` to specify the rpc url to be used.
80
-
- `--network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
82
+
- `--network` to specify the network to be used. Can be `devnet`, `holesky` or `mainnet`.
81
83
- `--keystore_path` the path to the keystore.
82
84
- `--amount` the number of ethers to transfer to the Batcher.
83
85
- Note: `--amount` flag parameter must be with the shown format, `XX.XXether`.
@@ -94,21 +96,24 @@ aligned get-user-balance \
94
96
These commands allow the usage of the following flags:
95
97
96
98
- `--rpc_url` to specify the rpc url to be used.
97
-
- `--network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
99
+
- `--network` to specify the network to be used. Can be `devnet`, `holesky` or `mainnet`.
98
100
- `--user_addr` the address of the user that funded the Batcher.
99
101
100
102
## 3. Submit your proof to the batcher
101
103
102
-
This guide will focus on how to submit proofs using the Aligned CLI. To integrate the proof submission process into your application, check the [First Aligned Application tutorial](../3_guides/2_build_your_first_aligned_application.md#app) where we explain how to generate and submit a proof using the Aligned SDK.
104
+
This guide will focus on how to submit proofs using the Aligned CLI. To integrate the proof submission process into your application, check the [First Aligned Application tutorial](../3_guides/2_build_your_first_aligned_application.md) where we explain how to generate and submit a proof using the Aligned SDK.
103
105
104
106
Proof submission is done via the `submit`command of the Aligned CLI. The arguments for the submit command are:
105
107
106
108
*`proving_system`: The proving system corresponding to the proof you want to submit.
107
109
*`proof`: The path of the proof associated to the computation to be verified.
108
110
*`vm_program`: When the proving system involves the execution of a program in a zkVM, this argument is associated with the compiled program or some other identifier of the program.
109
111
*`pub_input`: The path to the file with the public input associated with the proof.
110
-
*`batcher_url`: The batcher websocket URL.
111
-
*`network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
112
+
*`batcher_url`: The batcher websocket URL. Can be:
*`network` to specify the network to be used. Can be `devnet`, `holesky` or `mainnet`.
112
117
*`rpc_url`: The RPC Ethereum node URL.
113
118
*`proof_generator_addr`: An optional parameter that can be used in some applications to avoid front-running.
114
119
*`batch_inclusion_data_directory_path`: An optional parameter indicating the directory where to store the batcher response data. If not provided, the folder with the responses will be created in the current directory.
0 commit comments