-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.json
70 lines (70 loc) · 1.67 KB
/
config.json
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
{
"RPCHost": "localhost:10009",
"InvoiceMacaroonPath": "/home/alice/.lnd/data/chain/bitcoin/mainnet/invoices.macaroon",
"TLSCertPath": "/home/alice/.lnd/tls.cert",
"WorkingDir": "/home/alice/.go-host-lnaddr",
"ExternalURL": "https://allmysats.com",
"ListAllURLs": true,
"LightningAddresses": [
],
"MinSendableMsat": 1000,
"MaxSendableMsat": 100000000,
"MaxCommentLength": 150,
"Tag": "payRequest",
"Metadata": [
[
"text/plain",
"Welcome to allmysats.com"
],
[
"text/identifier",
]
],
"Thumbnail": "/path/to/thumbnail.[jpeg|png]",
"SuccessMessage": "Thank you!",
"InvoiceCallback": "https://allmysats.com/invoice/",
"AddressServerPort": 9990,
"Nostr": {
"names": {
"myNostrUsername": "npub1h....."
},
"relays": {
"b9b.....": [
"wss://my.relay.com"
]
}
},
"Notificators": [
{
"Type": "mail",
"MinAmount": 1000,
"Params": {
"From": "[email protected]",
"Target": "[email protected]",
"SmtpServer": "smtp.allmysats.com:587",
"Login": "[email protected]",
"Password": "somerandompassword"
}
},
{
"Type": "telegram",
"MinAmount": 1000,
"Params": {
"ChatId": "1234567890",
"Token": "TelegramToken"
}
},
{
"Type": "http",
"MinAmount": 1000,
"Params": {
"Target": "https://example.com/notify?amount={{.Amount}}",
"Method": "POST",
"Encoding": "application/x-www-form-urlencoded",
"BodyTemplate": "message={{.Message}}&title=New+payment+received"
}
}
]
}