@@ -65,10 +65,9 @@ To be able to send proofs to Aligned using the Batcher, the user must fund its t
6565To use it, you can use the ` aligned` CLI, as shown with the following example:
6666
6767` ` ` bash
68- aligned deposit-to-batcher \
69- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003 \
68+ aligned deposit-to-batcher \
7069--rpc_url https://ethereum-holesky-rpc.publicnode.com \
71- --chain holesky \
70+ --network holesky \
7271--keystore_path < keystore_path> \
7372--amount 0.1ether
7473` ` `
@@ -77,16 +76,15 @@ These commands allow the usage of the following flags:
7776
7877- ` --payment_service_addr` to specify the address of the Batcher Payment Service smart contract.
7978- ` --rpc_url` to specify the rpc url to be used.
80- - ` --chain ` to specify the chain id to be used. Could be holesky or devnet.
79+ - ` --network ` to specify the chain id to be used. Could be holesky or devnet.
8180- ` --keystore_path` the path to the keystore.
8281- ` --amount` the number of ethers to transfer to the Batcher.
8382- 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.
8483
8584After depositing funds, you can verify the Service has correctly received them by executing the following command:
8685
8786` ` ` bash
88- aligned get-user-balance \
89- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003 \
87+ aligned get-user-balance \
9088--rpc_url https://ethereum-holesky-rpc.publicnode.com \
9189--user_addr < user_addr>
9290` ` `
@@ -130,9 +128,8 @@ aligned submit \
130128--proof_generator_addr [proof_generator_addr] \
131129--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
132130--keystore_path < path_to_ecdsa_keystore> \
133- --chain holesky \
134- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
135- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
131+ --network holesky \
132+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
136133` ` `
137134
138135** Example**
@@ -145,9 +142,8 @@ aligned submit \
145142--vm_program ./scripts/test_files/sp1/sp1_fibonacci.elf \
146143--batcher_url wss://batcher.alignedlayer.com \
147144--keystore_path ~ /.aligned_keystore/keystore0 \
148- --chain holesky \
149- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
150- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
145+ --network holesky \
146+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
151147` ` `
152148
153149# ## Risc0 proof
@@ -167,9 +163,8 @@ aligned submit \
167163--proof_generator_addr [proof_generator_addr] \
168164--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
169165--keystore_path < path_to_ecdsa_keystore> \
170- --chain holesky \
171- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
172- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
166+ --network holesky \
167+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
173168` ` `
174169
175170** Example**
@@ -184,9 +179,8 @@ aligned submit \
184179--batcher_url wss://batcher.alignedlayer.com \
185180--aligned_verification_data_path ~ /.aligned/aligned_verification_data \
186181--keystore_path ~ /.aligned_keystore/keystore0 \
187- --chain holesky \
188- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
189- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
182+ --network holesky \
183+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
190184` ` `
191185
192186# ## GnarkPlonkBn254, GnarkPlonkBls12_381 and Groth16Bn254
@@ -204,9 +198,8 @@ aligned submit \
204198--proof_generator_addr [proof_generator_addr] \
205199--batch_inclusion_data_directory_path [batch_inclusion_data_directory_path] \
206200--keystore_path < path_to_ecdsa_keystore> \
207- --chain holesky \
208- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
209- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
201+ --network holesky \
202+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
210203` ` `
211204
212205** Examples** :
@@ -220,9 +213,8 @@ aligned submit \
220213--vk ./scripts/test_files/gnark_plonk_bn254_script/plonk.vk \
221214--batcher_url wss://batcher.alignedlayer.com \
222215--keystore_path ~ /.aligned_keystore/keystore0 \
223- --chain holesky \
224- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
225- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
216+ --network holesky \
217+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
226218` ` `
227219
228220` ` ` bash
@@ -234,9 +226,8 @@ aligned submit \
234226--vk ./scripts/test_files/gnark_plonk_bls12_381_script/plonk.vk \
235227--batcher_url wss://batcher.alignedlayer.com \
236228--keystore_path ~ /.aligned_keystore/keystore0 \
237- --chain holesky \
238- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
239- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
229+ --network holesky \
230+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
240231` ` `
241232
242233` ` ` bash
@@ -248,9 +239,8 @@ aligned submit \
248239--vk ./scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_1_groth16.vk \
249240--batcher_url wss://batcher.alignedlayer.com \
250241--keystore_path ~ /.aligned_keystore/keystore0 \
251- --chain holesky \
252- --rpc_url https://ethereum-holesky-rpc.publicnode.com \
253- --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
242+ --network holesky \
243+ --rpc_url https://ethereum-holesky-rpc.publicnode.com
254244` ` `
255245
256246# ## Halo2 KZG and Halo2 IPA
@@ -269,7 +259,7 @@ aligned submit \
269259 --batcher_url wss://batcher.alignedlayer.com \
270260 --keystore_path < path_to_ecdsa_keystore> \
271261 --proof_generator_addr < proof_generator_addr> \
272- --chain holesky \
262+ --network holesky \
273263 --rpc_url https://ethereum-holesky-rpc.publicnode.com \
274264 --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003 \
275265` ` `
@@ -286,7 +276,7 @@ aligned submit \
286276 --batcher_url wss://batcher.alignedlayer.com \
287277 --keystore_path < path_to_ecdsa_keystore> \
288278 --proof_generator_addr < proof_generator_addr> \
289- --chain holesky \
279+ --network holesky \
290280 --rpc_url https://ethereum-holesky-rpc.publicnode.com \
291281 --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
292282` ` `
@@ -303,7 +293,7 @@ aligned submit \
303293 --batcher_url wss://batcher.alignedlayer.com \
304294 --keystore_path ~ /.aligned_keystore/keystore0 \
305295 --proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
306- --chain holesky \
296+ --network holesky \
307297 --rpc_url https://ethereum-holesky-rpc.publicnode.com \
308298 --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
309299` ` `
@@ -318,7 +308,7 @@ aligned submit \
318308 --batcher_url wss://batcher.alignedlayer.com \
319309 --keystore_path ~ /.aligned_keystore/keystore0 \
320310 --proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
321- --chain holesky \
311+ --network holesky \
322312 --rpc_url https://ethereum-holesky-rpc.publicnode.com \
323313 --payment_service_addr 0x815aeCA64a974297942D2Bbf034ABEe22a38A003
324314` ` `
0 commit comments