-
Notifications
You must be signed in to change notification settings - Fork 54
/
config.toml.tmpl
50 lines (38 loc) · 1.76 KB
/
config.toml.tmpl
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
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
# The version of the Halo binary that created or
# last modified the config file. Do not modify this.
version = "{{ .Version}}"
# Omni network to participate in: mainnet, testnet, or devnet.
network = "{{ .Network }}"
#######################################################################
### Relayer Options ###
#######################################################################
# Path to the ethereum private key used to sign submission transactions.
private-key = "{{ .PrivateKey }}"
# The URL of the halo node to connect to.
halo-url = "{{ .HaloURL }}"
#######################################################################
### X-Chain ###
#######################################################################
[xchain]
# Cross-chain EVM RPC endpoints to use for relaying. One per supported EVM is required.
[xchain.evm-rpc-endpoints]
{{- if not .RPCEndpoints }}
# ethereum = "http://my-ethreum-node:8545"
# optimism = "https://my-op-node.com"
{{ end -}}
{{- range $key, $value := .RPCEndpoints }}
{{ $key }} = "{{ $value }}"
{{ end }}
#######################################################################
### Logging Options ###
#######################################################################
[log]
# Logging level. Note cometBFT internal logs are configured in config.yaml.
# Options are: debug, info, warn, error.
level = "{{ .Log.Level }}"
# Logging format. Options are: console, json.
format = "{{ .Log.Format }}"
# Logging color if console format is chosen. Options are: auto, force, disable.
color = "{{ .Log.Color }}"