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
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,33 +60,32 @@ This will create the ECDSA keystore file in `~/.aligned_keystore/keystore0`
60
60
61
61
- If you have the EigenLayer CLI installed, the keystore can be generated following [these](https://docs.eigenlayer.xyz/eigenlayer/operator-guides/operator-installation#import-keys) instructions. The key will be stored into `~/.eigenlayer/operator_keys`.
62
62
63
-
## 2. Fund the batcher
63
+
## 2. Send funds to Aligned
64
64
65
-
To be able to send proofs to Aligned using the Batcher, the user must fund its transactions. For this, there is a simple Batcher Payment System.
65
+
To send proofs to Aligned using the Batcher, the user must first deposit some funds in Aligned to pay for the verification of his proofs.
66
66
67
67
To use it, you can use the `aligned` CLI, as shown with the following example:
These commands allow the usage of the following flags:
77
+
This command allows the usage of the following flags:
78
78
79
-
- `--payment_service_addr` to specify the address of the Batcher Payment Service smart contract.
80
79
- `--rpc_url` to specify the rpc url to be used.
81
-
- `--network` to specify the chain id to be used. Could be holesky or devnet.
80
+
- `--network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
82
81
- `--keystore_path` the path to the keystore.
83
82
- `--amount` the number of ethers to transfer to the Batcher.
84
-
- Note: `--amount` flag parameter must be with the shown format. The amount followed by the `ether` keyword to specify how many ethers you wish to deposit to the Batcher.
83
+
- Note: `--amount` flag parameter must be with the shown format, `XX.XXether`.
85
84
86
85
After depositing funds, you can verify the Service has correctly received them by executing the following command:
These commands allow the usage of the following flags:
96
95
97
96
- `--rpc_url` to specify the rpc url to be used.
98
-
- `--network` to specify the chain id to be used. Could be holesky or devnet.
97
+
- `--network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
99
98
- `--user_addr` the address of the user that funded the Batcher.
100
99
101
100
## 3. Submit your proof to the batcher
@@ -109,9 +108,8 @@ Proof submission is done via the `submit` command of the Aligned CLI. The argume
109
108
*`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.
110
109
*`pub_input`: The path to the file with the public input associated with the proof.
111
110
*`batcher_url`: The batcher websocket URL.
112
-
*`chain` to specify the chain id to be used. Could be holesky or devnet.
111
+
*`network` to specify the netowrk to be used. Can be `devnet`, `holesky-stage` or `holesky`.
113
112
*`rpc_url`: The RPC Ethereum node URL.
114
-
*`payment_service_addr`: The Ethereum address of the Batcher Payments System contract.
115
113
*`proof_generator_addr`: An optional parameter that can be used in some applications to avoid front-running.
116
114
*`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.
**NOTE**: As said above, Aligned currently supports Risc0 proofs from `risc0-zkvm` version `v1.0.1`. For generating proofs using `cargo risc-zero` please ensure you are using `v1.0.1` or your proof will not be verified.
> You must be [whitelisted](https://docs.google.com/forms/d/e/1FAIpQLSdH9sgfTz4v33lAvwj6BvYJGAeIshQia3FXz36PFfF-WQAWEQ/viewform) to become an Aligned operator.
@@ -26,7 +26,7 @@ Minimum hardware requirements:
26
26
To start with, clone the Aligned repository and move inside it
0 commit comments