From 5b88ea7f7302b36864daab19a0bc51c25cb93216 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Wed, 13 Dec 2023 15:52:23 +0100 Subject: [PATCH] chore(docs): Add docs/ directory and example service config file --- docs/example-service-config.toml | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/example-service-config.toml diff --git a/docs/example-service-config.toml b/docs/example-service-config.toml new file mode 100644 index 00000000..5ab1fd50 --- /dev/null +++ b/docs/example-service-config.toml @@ -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"