-
Notifications
You must be signed in to change notification settings - Fork 30
/
config.toml
87 lines (74 loc) · 3.15 KB
/
config.toml
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
# Teller configuration
# Defaults are shown, commented out
# Some values have no defaults and must be filled in
debug = true
# logfile = "./teller.log" # logfile can be an absolute path or relative to the working directory
# dbfile = "teller.db" # dbfile is saved inside ~/.teller-skycoin, do not include a path
# pidfile = "" # optional pidfile path
btc_addresses = "example_btc_addresses.json" # REQUIRED: path to btc addresses file
eth_addresses = "example_eth_addresses.json" # REQUIRED: path to eth addresses file
sky_addresses = "example_sky_addresses.json" # REQUIRED: path to sky addresses file
[teller]
# max_bound_addrs = 5 # 0 means unlimited
# bind_enabled = true # Disable this to prevent binding of new addresses
[sky_rpc]
# address = "127.0.0.1:6430"
[btc_rpc]
# server = "127.0.0.1:8334"
user = "" # REQUIRED if btc_scanner enabled
pass = "" # REQUIRED if btc_scanner enabled
cert = "" # REQUIRED if btc_scanner enabled
[eth_rpc]
# enabled = false
# server = "" # REQUIRED if eth_scanner enabled
# port = "" # REQUIRED if eth_scanner enabled
[btc_scanner]
# enabled = true
# scan_period = "20s"
# initial_scan_height = 492478
# confirmations_required = 1
[eth_scanner]
# enabled = false
# scan_period = "5s"
# initial_scan_height = 4654259
# confirmations_required = 1
[sky_scanner]
# enabled = false
# scan_period = "5s"
# initial_scan_height = 17000
# confirmations_required = 0
[sky_exchanger]
sky_btc_exchange_rate = "500" # REQUIRED: SKY/BTC exchange rate as a string, can be an int, float or a rational fraction
sky_eth_exchange_rate = "100" # REQUIRED: SKY/ETH exchange rate as a string, can be an int, float or a rational fraction
sky_sky_exchange_rate = "1" # REQUIRED: SKY/ETH exchange rate as a string, can be an int, float or a rational fraction
wallet = "example.wlt" # REQUIRED: path to local hot wallet file
# max_decimals = 3 # Number of decimal places to truncate SKY to
# tx_confirmation_check_wait = "5s"
# send_enabled = true # Disable this to disable sending of coins (all other processing functions normally)
# buy_method = "direct" # Options are "direct" or "passthrough"
[sky_exchanger.c2cx]
key = "" # REQUIRED if buy_method = "passthrough"
secret = "" # REQUIRED if buy_method = "passthrough"
# request_failure_wait = "10s" # how long to wait after receiving a c2cx request error
# ratelimit_wait = "30s" # how long to wait after being ratelimited by the c2cx API
# check_order_wait = "2s" # how long to wait between requests to check order status on c2cx
# btc_minimum_volume = "0.005"
[web]
# behind_proxy = false # This must be set to true when behind a proxy for ratelimiting to work
http_addr = "127.0.0.1:7071"
# static_dir = "./web/build"
# throttle_max = 60
# throttle_duration = "60s"
https_addr = "" # OPTIONAL: Serve on HTTPS
auto_tls_host = "" # OPTIONAL: Hostname to use for automatic TLS certs. Used when tls_cert, tls_key unset
tls_cert = ""
tls_key = ""
# cors_allowed = [] # Array of domains to allow in CORS requests
[admin_panel]
# host = "127.0.0.1:7711"
[dummy]
# fake sender and scanner with admin interface adding fake deposits,
# and viewing and confirmed skycoin transactions
sender = true
scanner = true
# http_addr = "127.0.0.1:4121"