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: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,13 @@ A guardian submit assertions for node keys that they either own or have been app
13
13
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.
14
14
15
15
```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
17
17
```
18
18
19
19
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.
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
29
29
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
30
30
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.
31
31
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.
33
33
34
34
## Expanded Usage Details
35
35
@@ -38,21 +38,21 @@ For the main workflow of submitting assertions for user node keys:
38
38
IMPORTANT: Make sure to execute the binary from the directory it is contained in.
39
39
40
40
```sh
41
-
./cli/{your-os}/guardian-cli-{your-os} guardian run <guardian-private-key>
41
+
./guardian-cli-{your-os} guardian run <guardian-private-key>
42
42
```
43
43
44
44
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.
0 commit comments