Skip to content

Commit

Permalink
chore(docs): Add docs/ directory and example service config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Dec 13, 2023
1 parent b5eebce commit 39ed8d1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/example-service-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[common.indexer]
indexer_address = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
operator_mnemonic = "foo bar baz ruux zorp quux quuz corge grault garply waldo fred"

[common.graph_node]
status_url = "http://localhost:8030/graphql"
query_base_url = "http://localhost:8000"

[common.database]
postgres_url = "postgresql://indexer@localhost:5432/indexer"

[common.network_subgraph]
query_url = "http://localhost:8000/subgraphs/id/QmXSS5oeWPxHGtsVNWsXSz3p67zoaaao9FtkxcCMg3A8RL"
syncing_interval = 60
# optional, default = false:
serve_subgraph = true
serve_auth_token = "i-need-network-subgraph-data"

[common.escrow_subgraph]
query_url = "http://localhost:8000/subgraphs/id/QmW2mc83Wi6PnxA5X4rzdnBY3sTZH8FVVJiwMYL9Y6Z4UY"
syncing_interval = 60
# optional, default = false:
serve_subgraph = false

[common.graph_network]
id = 1
chain_id = 1

[common.server]
url_prefix = "/"
host_and_port = "0.0.0.0:7600"
metrics_host_and_port = "0.0.0.0:7601"
# optional:
free_query_auth_token = "i-am-authorized-right?"

[common.scalar]
chain_id = 1
receipts_verifier_address = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"

0 comments on commit 39ed8d1

Please sign in to comment.