mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 03:16:24 +00:00
25 lines
607 B
Plaintext
25 lines
607 B
Plaintext
# 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
|
|
# Time out penalty for canceling takers in MINUTES
|
|
PENALTY_TIMEOUT = 2
|
|
|
|
# Trade limits in satoshis
|
|
MIN_TRADE = 10000
|
|
MAX_TRADE = 500000
|
|
|
|
# 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
|
|
|
|
# Username for HTLCs escrows
|
|
ESCROW_USERNAME = 'admin' |