Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Add docs/ directory and example service config file #106

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"