-
Notifications
You must be signed in to change notification settings - Fork 47
/
example.config.toml
75 lines (63 loc) · 1.73 KB
/
example.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
[info]
url = "https://mint.thesimplekid.dev/"
listen_host = "127.0.0.1"
listen_port = 8085
mnemonic = ""
# input_fee_ppk = 0
# enable_swagger_ui = false
[info.http_cache]
# memory or redis
backend = "memory"
ttl = 60
tti = 60
# `key_prefix` and `connection_string` required for redis
# key_prefix = "mintd"
# connection_string = "redis://localhost"
[mint_info]
# name = "cdk-mintd mutiney net mint"
# Hex pubkey of mint
# pubkey = ""
# description = "These are not real sats for testing only"
# description_long = "A longer mint for testing"
# motd = "Hello world"
# icon_url = "https://this-is-a-mint-icon-url.com/icon.png"
# contact_email = "hello@cashu.me"
# Nostr pubkey of mint (Hex)
# contact_nostr_public_key = ""
[database]
# Database engine (sqlite/redb) defaults to sqlite
# engine = "sqlite"
[ln]
# Required ln backend `cln`, `lnd`, `strike`, `fakewallet`, 'lnbits', 'phoenixd'
ln_backend = "cln"
# For 'phoenixd' backend, also specify fee_percent (% fee of the ln payment that mint will put in the melt quote) and reserve_fee_min (absolute amount-higher of fee_percent or reserve_fee_min is the fee reserve).
# fee_percent=0.04
# reserve_fee_min=4
[cln]
#Required if using cln backend path to rpc
cln_path = ""
rpc_path = ""
fee_percent = 0.02
reserve_fee_min = 1
# [strike]
# For the Webhook subscription, the url under [info] must be a valid, absolute, non-local, https url
# api_key=""
# Optional default sats
# supported_units=[""]
# [lnbits]
# admin_api_key = ""
# invoice_api_key = ""
# lnbits_api = ""
# [phoenixd]
# api_password = ""
# api_url = ""
# [lnd]
# address = ""
# macaroon_file = ""
# cert_file = ""
# [fake_wallet]
# supported_units = ["sat"]
# fee_percent = 0.02
# reserve_fee_min = 1
# min_delay_time = 1
# max_delay_time = 3