2022-01-06 16:54:37 +00:00
|
|
|
# Market price public API
|
|
|
|
MARKET_PRICE_API = 'https://blockchain.info/ticker'
|
|
|
|
|
|
|
|
# Trade fee in percentage %
|
|
|
|
FEE = 0.002
|
|
|
|
# Bond size in percentage %
|
|
|
|
BOND_SIZE = 0.01
|
|
|
|
|
|
|
|
# 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
|
|
|
|
BOND_EXPIRY = 8
|
|
|
|
ESCROW_EXPIRY = 8
|
|
|
|
|
|
|
|
# Expiration time for locking collateral in MINUTES
|
|
|
|
EXP_MAKER_BOND_INVOICE = 300
|
|
|
|
EXP_TAKER_BOND_INVOICE = 200
|
|
|
|
EXP_TRADE_ESCR_INVOICE = 200
|
2022-01-06 16:54:37 +00:00
|
|
|
|
|
|
|
# Username for HTLCs escrows
|
|
|
|
ESCROW_USERNAME = 'admin'
|