forked from lnp2pBot/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-sample
37 lines (29 loc) · 890 Bytes
/
.env-sample
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
# base64 ~/.lnd/tls.cert | tr -d '\n'
LND_CERT_BASE64=''
# base64 ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon | tr -d '\n'
LND_MACAROON_BASE64=''
LND_GRPC_HOST='127.0.0.1:10009'
BOT_TOKEN=''
FEE=0
DB_USER='mongodb_user'
DB_PASS='mongodb_passwd'
DB_HOST='localhost'
DB_PORT='27017'
DB_NAME='p2plnbot'
# lightning invoice expiration time in milliseconds
INVOICE_EXPIRATION_WINDOW=3600000
# lightning hold invoice expiration time in seconds
HOLD_INVOICE_EXPIRATION_WINDOW=600
CHANNEL='@p2plnbotchannel'
ADMIN_CHANNEL='-10012345678987654321'
MAX_DISPUTES=4
# Order expiration time in seconds
ORDER_EXPIRATION_WINDOW=7200
# We try to pay again when the buyer invoice failed, in minutes
PENDING_PAYMENT_WINDOW=5
# Fiat currency rate API
FIAT_RATE_NAME=''
FIAT_RATE_EP=''
NODE_ENV='development'
# Expiration time for published order in seconds
ORDER_PUBLISHED_EXPIRATION_WINDOW=82800