Skip to content

Commit 87585db

Browse files
committed
Initial release
1 parent 5493c7d commit 87585db

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ A guardian submit assertions for node keys that they either own or have been app
1313
Command to run guardian software. This will validate and submit assertions for all node keys that are approved for, or owned by the <guardian-private-key> address.
1414

1515
```sh
16-
./cli/{your-os}/guardian-cli-{your-os} guardian run <guardian-private-key> --loop-interval-ms 3600000
16+
./guardian-cli-{your-os} guardian run <guardian-private-key> --loop-interval-ms 3600000
1717
```
1818
1919
Command to run to claim rewards for a list of node keys. Signer private key can be for any wallet with sufficient native token (TOPIA) to pay for gas required to claim rewards.
2020

2121
```sh
22-
./cli/{your-os}/guardian-cli-{your-os} guardian claim-multiple-rewards <node-key-ids> <signer-private-key>
22+
./guardian-cli-{your-os} guardian claim-multiple-rewards <node-key-ids> <signer-private-key>
2323
```
2424

2525
Please note, the address associated with the <guardian-private-key> must maintain a $TOPIA balance on HYCHAIN in order to properly submit assertions or claims.
@@ -29,7 +29,7 @@ Please note, the address associated with the <guardian-private-key> must maintai
2929
1. A challenge is produced every time a batch from the Rollup is submitted to Ethereum. This is done by a challenger service hosted by Caldera
3030
2. Each Node Key will submit assertions to a subset of challenges with an average of 1 assertion per day per node key. Whether a node key is eligible to submit an assertion to a challenge is determined on chain.
3131
3. Each challenge will have an expiry period of 1 day. This means a guardian will need to run the guardian software successfully at least once a day, or keep the guardian node running constantly with `--loop-interval-ms`
32-
4. Once a challenge expires, the challenger service will verify all assertions made and revoke any node keys who submitted invalid assertions.
32+
4. Once a challenge expires, the challenger service will verify all assertions made and revoke any node keys who submitted invalid assertions. So please be certain to run your node with the `--loop-interval-ms` flag, or have a scheduled submission of your one-shot assertions.
3333

3434
## Expanded Usage Details
3535

@@ -38,21 +38,21 @@ For the main workflow of submitting assertions for user node keys:
3838
IMPORTANT: Make sure to execute the binary from the directory it is contained in.
3939

4040
```sh
41-
./cli/{your-os}/guardian-cli-{your-os} guardian run <guardian-private-key>
41+
./guardian-cli-{your-os} guardian run <guardian-private-key>
4242
```
4343

4444
This will start the guardian and submit assertions for all node keys owned / approved for the private key address for currently open challenges. It will then end and exit the program. Additionally the --node-key-allowlist <node-key-ids> can be used to only submit assertions for a list of keys and --loop-interval-ms <loop-interval-ms> can be used to keep the guardian running forever (with a time delay between checking). If this option is used, we reccomend an interval of an hour since new challenges are made on average once an hour.
4545

4646
To claim rewards:
4747

4848
```sh
49-
./cli/{your-os}/guardian-cli-{your-os} guardian claim-rewards --owned-keys --approved-keys
49+
./guardian-cli-{your-os} guardian claim-rewards --owned-keys --approved-keys
5050
```
5151

5252
For other usage, refer to the cli help manual
5353

5454
```sh
55-
$ ./cli help guardian
55+
$ ./guardian-cli-{your-os} help guardian
5656

5757
Usage: guardian-cli guardian [options] [command]
5858

@@ -74,7 +74,7 @@ Commands:
7474
Can run help <command> for more details on each command. Example:
7575

7676
```sh
77-
$ ./cli/linux/guardian-cli-linux guardian help reward-to-claim
77+
$ ./guardian-cli-linux guardian help reward-to-claim
7878

7979
Usage: guardian-cli guardian reward-to-claim [options] <node-key-ids>
8080

0 commit comments

Comments
 (0)