-
Notifications
You must be signed in to change notification settings - Fork 66
/
README.md.gotmpl
60 lines (44 loc) · 1.66 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}
{{ template "chart.description" . }}
{{ template "chart.homepageLine" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
# Examples
## Setting the configuration file
```toml
config.toml:
# How often to reload data from the nodes
reload_interval = "10s"
# If specified, a http server will serve static content here
server_address = "0.0.0.0:8080"
# Shown in the document title, if specified
chain_name="<NETWORK_NAME>"
# Third party providers
infura_key = "<INFURA_API_KEY>"
infura_endpoint = "https://mainnet.infura.io/v3/"
alchemy_key = "<ALCHEMY_API_KEY>"
alchemy_endpoint = "https://eth-mainnet.g.alchemy.com/v2/"
etherscan_key = "<ETHERSCAN_API_KEY>"
etherscan_endpoint = "https://api.etherscan.io/api"
[Metrics]
enabled = true
endpoint = "<INFLUX_ENDPOINT>"
username = "<INFLUX_USERNAME>"
database = "<INFLUX_DB_NAME>"
password = "<INFLUX_PASSWORD>"
# Local or non third party connection require rpc kind
[[clients]]
name = "<execution-client-name>"
kind ="rpc"
url = "http://<execution-client>:<execution-client-port>"
# Third party client configuration doesn't require url
# Kind can vary between infura, alchemy or etherscan
# Recommended to enable rate limit for third party services
[[clients]]
name = infura|alchemy|etcherscan
kind = infura|alchemy|etherscan
rate_limit = 5
```