-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.toml
More file actions
145 lines (122 loc) · 4.34 KB
/
config.example.toml
File metadata and controls
145 lines (122 loc) · 4.34 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# gRPC server configuration
[grpc]
# The address and port of Bothan's gRPC server.
addr = "0.0.0.0:50051"
# Logging configuration
[log]
# The logging level, which can be "trace", "debug", "info", "warn", or "error".
log_level = "info"
core_log_level = "error"
source_log_level = "error"
# IPFS configuration
[ipfs]
# The endpoint for IPFS connection for Bothan to use.
endpoint = "https://ipfs.io"
# Authentication method for the IPFS endpoint, None or Header.
authentication = "None"
# Example of IPFS authentication header configuration. If this setting is used, remove the line 'authentication = "None"'.
# [ipfs.authentication.Header]
# key = ""
# value = ""
# Store configuration
[store]
# File system path where application data is stored. The default is "$HOME/.bothan".
path = ""
# Monitoring configuration
[monitoring]
# The endpoint for monitoring connection for Bothan to use.
endpoint = "https://bothan-monitoring.bandchain.org"
# File system path where broadcaster info is stored. The default is "$HOME/.bothan/keyring/broadcaster.info".
path = ""
# Enable or disable monitoring.
enabled = false
# Manager configuration for handling crypto data sources
[manager.crypto]
# The threshold in seconds after which data is considered stale.
stale_threshold = 300
# Manager configuration for handling forex data sources
[manager.forex]
# The threshold in seconds after which data is considered stale.
stale_threshold = 7200
# Configuration for the data sources that the manager will use.
# If any of these [manager.crypto.source] sections (e.g., section manager.crypto.source.binance) are removed,
# that specific source will not be used in bothan.
# Configuration for Binance.
[manager.crypto.source.binance]
# WebSocket URL for streaming data from Binance.
url = "wss://stream.binance.com:9443/stream"
# Configuration for Bitfinex.
[manager.crypto.source.bitfinex]
# REST API URL for querying data from Bitfinex.
url = "https://api-pub.bitfinex.com/v2/"
# Update interval for polling data from Bitfinex.
update_interval = "1m"
# Configuration for Bybit.
[manager.crypto.source.bybit]
# WebSocket URL for streaming data from Bybit.
url = "wss://stream.bybit.com/v5/public/spot"
# Configuration for Coinbase.
[manager.crypto.source.coinbase]
# WebSocket URL for streaming data from Coinbase.
url = "wss://ws-feed.exchange.coinbase.com"
# Configuration for Coingecko.
[manager.crypto.source.coingecko]
# REST API URL for querying data from CoinGecko.
url = "https://api.coingecko.com/api/v3/"
# API key for authentication (if required).
api_key = ""
# User agent string for HTTP requests to CoinGecko.
user_agent = "Bothan"
# Update interval for polling data from CoinGecko.
update_interval = "1m"
# Configuration for CoinMarketCap.
[manager.crypto.source.coinmarketcap]
# REST API URL for querying data from CoinMarketCap.
url = "https://pro-api.coinmarketcap.com"
# API key for authentication (required for access).
api_key = ""
# Update interval for pulling data from CoinMarketCap.
update_interval = "1m"
# Configuration for HTX (Huobi).
[manager.crypto.source.htx]
# WebSocket URL for streaming data from HTX.
url = "wss://api.huobi.pro/ws"
# Configuration for Kraken.
[manager.crypto.source.kraken]
# WebSocket URL for streaming data from Kraken.
url = "wss://ws.kraken.com/v2"
# Configuration for OKX.
[manager.crypto.source.okx]
# WebSocket URL for streaming data from OKX.
url = "wss://ws.okx.com:8443/ws/v5/public"
[manager.crypto.source.band_kiwi]
# URL for Band Kiwi source
url = "https://kiwi.bandchain.org"
# Update interval for Band Kiwi source
update_interval = "1m"
[manager.crypto.source.band_macaw]
# URL for Band Macaw source
url = "https://macaw.bandchain.org"
# Update interval for Band Macaw source
update_interval = "1m"
[manager.forex.source.band_owlet]
# URL for Band Owlet source
url = "https://owlet.bandchain.org"
# Update interval for Band Owlet source
update_interval = "1m"
[manager.forex.source.band_fieldfare]
# URL for Band Fieldfare source
url = "https://fieldfare.bandchain.org"
# Update interval for Band Fieldfare source
update_interval = "1m"
[manager.forex.source.band_xenops]
# URL for Band Xenops source
url = "https://xenops.bandchain.org"
# Update interval for Band Xenops source
update_interval = "1m"
# Telemetry configuration
[telemetry]
# Enable or disable telemetry.
enabled = false
# The address and port of Bothan's telemetry endpoint.
addr = "127.0.0.1:4318"