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'
|
|
|
|
|
2022-01-06 16:54:37 +00:00
|
|
|
# Market price public API
|
|
|
|
MARKET_PRICE_API = 'https://blockchain.info/ticker'
|
|
|
|
|
2022-01-12 21:22:16 +00:00
|
|
|
# Host e.g. robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion
|
|
|
|
HOST_NAME = ''
|
|
|
|
|
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
|
2022-01-06 16:54:37 +00:00
|
|
|
|
|
|
|
# Trade limits in satoshis
|
|
|
|
MIN_TRADE = 10000
|
|
|
|
MAX_TRADE = 500000
|
|
|
|
|
2022-01-08 00:29:04 +00:00
|
|
|
# Expiration time for HODL invoices and returning collateral in HOURS
|
2022-01-12 00:02:17 +00:00
|
|
|
BOND_EXPIRY = 14
|
2022-01-08 00:29:04 +00:00
|
|
|
ESCROW_EXPIRY = 8
|
|
|
|
|
2022-01-12 00:02:17 +00:00
|
|
|
# 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
|
2022-01-12 00:02:17 +00:00
|
|
|
|
|
|
|
# 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'
|