robosats/.env-sample

47 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-01-10 23:27:48 +00:00
# base64 ~/.lnd/tls.cert | tr -d '\n'
LND_CERT_BASE64=''
# base64 ~/.lnd/data/chain/bitcoin/testnet/admin.macaroon | tr -d '\n'
LND_MACAROON_BASE64=''
LND_GRPC_HOST='127.0.0.1:10009'
REDIS_URL=''
# List of market price public APIs. If the currency is available in more than 1 API, will use median price.
MARKET_PRICE_APIS = https://blockchain.info/ticker, https://api.yadio.io/exrates/BTC
2022-01-06 16:54:37 +00:00
# Host e.g. robosats.com
2022-01-12 21:22:16 +00:00
HOST_NAME = ''
# e.g. robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion
ONION_LOCATION = ''
2022-01-06 16:54:37 +00:00
# Trade fee in percentage %
FEE = 0.002
# Bond size in percentage %
BOND_SIZE = 0.01
2022-01-10 23:27:48 +00:00
# Time out penalty for canceling takers in SECONDS
PENALTY_TIMEOUT = 60
# Time between routing attempts of buyer invoice in MINUTES
RETRY_TIME = 5
2022-01-06 16:54:37 +00:00
# Trade limits in satoshis
MIN_TRADE = 10000
MAX_TRADE = 500000
# Expiration (CLTV_expiry) time for HODL invoices in HOURS // 7 min/block assumed
BOND_EXPIRY = 14
2022-01-08 00:29:04 +00:00
ESCROW_EXPIRY = 8
# Expiration time for locking collateral in SECONDS
2022-01-08 00:29:04 +00:00
EXP_MAKER_BOND_INVOICE = 300
EXP_TAKER_BOND_INVOICE = 200
# Time a order is public in the book HOURS
PUBLIC_ORDER_DURATION = 6
# Time to provide a valid invoice and the trade escrow MINUTES
INVOICE_AND_ESCROW_DURATION = 30
# Time to confim chat and confirm fiat (time to Fiat Sent confirmation) HOURS
FIAT_EXCHANGE_DURATION = 4
2022-01-06 16:54:37 +00:00
# Username for HTLCs escrows
ESCROW_USERNAME = 'admin'