Skip to content

Commit 1fad4b4

Browse files
authored
chore: update README with DataEdge configuration parameters (#42)
1 parent bf698b1 commit 1fad4b4

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ FLAGS:
1111
-V, --version Prints version information
1212
1313
OPTIONS:
14+
--data-edge-contract <data-edge-contract>
15+
The address of the DataEdge contract for posting oracle configuration [env: DATA_EDGE_CONTRACT=]
16+
1417
--epoch-block-oracle-subgraph <subgraph>
1518
Graphql endpoint to the epoch block oracle subgraph used for fetching supported networks [env: EPOCH_BLOCK_ORACLE_SUBGRAPH=]
1619
1720
--grace-period <grace-period>
1821
Grace period, in seconds from subgraph creation, for which subgraphs will not be checked [env: ORACLE_GRACE_PERIOD=] [default: 0]
22+
23+
--graph-monitoring-subgraph <graph-monitoring-subgraph>
24+
GraphQL endpoint to the graph-monitoring subgraph for checking current oracle config [env: GRAPH_MONITORING_SUBGRAPH=]
1925
2026
--ipfs <ipfs>
2127
IPFS endpoint with access to the subgraph files [env: ORACLE_IPFS=]
@@ -81,7 +87,9 @@ cargo run -p availability-oracle -- \
8187
--url <url> \
8288
--subgraph-availability-manager-contract <address> \
8389
--oracle-index <index> \
84-
--signing-key <signing-key>
90+
--signing-key <signing-key> \
91+
--data-edge-contract <data-edge-address> \
92+
--graph-monitoring-subgraph <graph-monitoring-subgraph-url>
8593
```
8694

8795
### Example command to run `RewardsManager` configuration:
@@ -93,5 +101,7 @@ cargo run -p availability-oracle -- \
93101
--min-signal 10000 \
94102
--url <url> \
95103
--rewards-manager-contract <address> \
96-
--signing-key <signing-key>
104+
--signing-key <signing-key> \
105+
--data-edge-contract <data-edge-address> \
106+
--graph-monitoring-subgraph <graph-monitoring-subgraph-url>
97107
```

0 commit comments

Comments
 (0)