Skip to content

Commit 5eaccba

Browse files
docs: use Hoodi instead of Holesky in Aligned CLI section examples (#2140)
Co-authored-by: Julian Arce <[email protected]>
1 parent d63e823 commit 5eaccba

File tree

1 file changed

+27
-29
lines changed

1 file changed

+27
-29
lines changed

docs/3_guides/9_aligned_cli.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ aligned submit \
102102
--repetitions <BURST_SIZE> \
103103
--keystore_path <KEYSTORE_PATH> \
104104
--batcher_url wss://batcher.alignedlayer.com \
105-
--network holesky \
106-
--rpc_url https://ethereum-holesky-rpc.publicnode.com \
105+
--network hoodi \
106+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com \
107107
--max_fee 0.0013ether
108108
```
109109

@@ -141,8 +141,8 @@ Check if a proof was verified by Aligned on Ethereum.
141141
```bash
142142
aligned verify-proof-onchain \
143143
--aligned-verification-data ./aligned_verification_data/<VERIFICATION_DATA_FILE> \
144-
--network holesky \
145-
--rpc_url https://ethereum-holesky-rpc.publicnode.com
144+
--network hoodi \
145+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
146146
```
147147
148148
---
@@ -200,8 +200,8 @@ Deposits Ethereum into the Aligned Layer's `BatcherPaymentService.sol` contract.
200200

201201
```bash
202202
aligned deposit-to-batcher \
203-
--network holesky \
204-
--rpc_url https://ethereum-holesky-rpc.publicnode.com \
203+
--network hoodi \
204+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com \
205205
--amount 0.5ether \
206206
--keystore_path <KEYSTORE_PATH>
207207
```
@@ -242,8 +242,8 @@ Retrieves the user's balance in the Aligned Layer's contract.
242242
```bash
243243
aligned get-user-balance \
244244
--user_addr <WALLET_ADDRESS> \
245-
--network holesky \
246-
--rpc_url https://ethereum-holesky-rpc.publicnode.com
245+
--network hoodi \
246+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
247247
```
248248

249249
---
@@ -275,7 +275,7 @@ Retrieves the user's current nonce from the Batcher.
275275
```bash
276276
aligned get-user-nonce \
277277
--user_addr <USER_ETH_ADDRESS> \
278-
--network holesky
278+
--network hoodi
279279
```
280280

281281
---
@@ -313,8 +313,8 @@ Retrieves the user's current nonce from the Blockhain, in the Batcher Payment Se
313313
```bash
314314
aligned get-user-nonce-from-ethereum \
315315
--user_addr <USER_ETH_ADDRESS> \
316-
--network holesky \
317-
--rpc_url https://ethereum-holesky-rpc.publicnode.com
316+
--network hoodi \
317+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
318318
```
319319
320320
---
@@ -323,7 +323,7 @@ aligned get-user-nonce-from-ethereum \
323323
324324
#### Description:
325325
326-
Retrieves the user's amount of queued proofs in the Batcher.
326+
Retrieves the number of proofs currently queued for a given user in the Batcher.
327327
328328
#### Command:
329329
@@ -332,28 +332,28 @@ Retrieves the user's amount of queued proofs in the Batcher.
332332
#### Options:
333333
334334
- `--user_addr <user_address>`: User's Ethereum address.
335-
- `--network <working_network_name>`: Network name to interact with.
336-
- Default: `devnet`
337-
- Possible values: `devnet`, `holesky`, `mainnet`, `hoodi`
338-
- `--rpc_url <RPC_provider_url>`: User's Ethereum RPC provider connection address.
335+
- Specify which network to interact with, using one of the following options:
336+
- `--network <working_network_name>`: Network name to interact with.
337+
- Default: `devnet`
338+
- Possible values: `devnet`, `holesky`, `mainnet`, `hoodi`
339+
- For a custom network, instead of `--network`, provide the following flags:
340+
- `--aligned_service_manager <aligned_service_manager_contract_address>`: Address of the Aligned Service Manager contract.
341+
- `--batcher_payment_service <batcher_payment_service_contract_address>`: Address of the Batcher Payment Service contract.
342+
- `--batcher_url <batcher_websocket_url>`: WebSocket URL for the Aligned batcher.
343+
- `--rpc_url <rpc_provider_url>`: Ethereum RPC provider URL.
339344
- Default: `http://localhost:8545`
340345
- Mainnet: `https://ethereum-rpc.publicnode.com`
341346
- Holesky: `https://ethereum-holesky-rpc.publicnode.com`
342347
- Hoodi: `https://ethereum-hoodi-rpc.publicnode.com`
343-
- Also, you can use your own Ethereum RPC providers.
344-
- `--batcher_url <batcher_connection_address>`: Websocket URL for the Aligned Layer batcher
345-
- Default: `ws://localhost:8080`
346-
- Mainnet: `wss://mainnet.batcher.alignedlayer.com`
347-
- Holesky: `wss://batcher.alignedlayer.com`
348-
- Hoodi: `wss://hoodi.batcher.alignedlayer.com`
348+
- You can also specify your own RPC provider URL
349349

350350
#### Example:
351351

352352
```bash
353353
aligned get-user-amount-of-queued-proofs \
354354
--user_addr <USER_ETH_ADDRESS> \
355-
--network holesky \
356-
--batcher_url wss://batcher.alignedlayer.com
355+
--network hoodi \
356+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
357357
```
358358

359359

@@ -377,25 +377,23 @@ Verifies if your proof has been verified by the `Aggregation Mode`.
377377
- `--network <working_network_name>`: Network name to interact with.
378378
- Default: `devnet`
379379
- Possible values: `devnet`, `holesky`, `mainnet`, `hoodi`
380-
- `--rpc_url <RPC_provider_url>`: User's Ethereum RPC provider connection address.
380+
- `--rpc_url <RPC_provider_url>`: User's Ethereum RPC provider connection address.
381381
- Default: `http://localhost:8545`
382382
- Mainnet: `https://ethereum-rpc.publicnode.com`
383383
- Holesky: `https://ethereum-holesky-rpc.publicnode.com`
384384
- Hoodi: `https://ethereum-hoodi-rpc.publicnode.com`
385385
- Also, you can use your own Ethereum RPC providers.
386386
- `--beacon_client_url <BEACON_CLIENT_URL>`: User's Ethereum Consensus provider connection address. Public nodes don't support this method.
387387
388-
389-
390388
#### Example:
391389
392390
```bash
393391
aligned verify-agg-proof \
394-
--network holesky \
392+
--network hoodi \
395393
--from-block 3638552 \
396394
--proving_system SP1 \
397395
--public_input ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub \
398396
--vk ./scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
399397
--beacon_url <YOUR_BEACON_CLIENT> \
400-
--rpc_url https://ethereum-holesky-rpc.publicnode.com
398+
--rpc_url https://ethereum-hoodi-rpc.publicnode.com
401399
```

0 commit comments

Comments
 (0)