mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-08-17 07:40:38 +03:00
76 lines
4.0 KiB
Plaintext
76 lines
4.0 KiB
Plaintext
# LND directory to read TLS cert and macaroon
|
|
LND_DIR='/lnd/'
|
|
MACAROON_PATH='data/chain/bitcoin/testnet/admin.macaroon'
|
|
|
|
# LND directory can not be specified, instead cert and macaroon can be provided as base64 strings
|
|
# base64 ~/.lnd/tls.cert | tr -d '\n'
|
|
LND_CERT_BASE64='LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLVENDQWRDZ0F3SUJBZ0lRQ0VoeGpPZXY1bGQyVFNPTXhKalFvekFLQmdncWhrak9QUVFEQWpBNE1SOHcKSFFZRFZRUUtFeFpzYm1RZ1lYVjBiMmRsYm1WeVlYUmxaQ0JqWlhKME1SVXdFd1lEVlFRREV3d3dNakJtTVRnMQpZelkwTnpVd0hoY05Nakl3TWpBNE1UWXhOalV3V2hjTk1qTXdOREExTVRZeE5qVXdXakE0TVI4d0hRWURWUVFLCkV4WnNibVFnWVhWMGIyZGxibVZ5WVhSbFpDQmpaWEowTVJVd0V3WURWUVFERXd3d01qQm1NVGcxWXpZME56VXcKV1RBVEJnY3Foa2pPUFFJQkJnZ3Foa2pPUFFNQkJ3TkNBQVNJVWdkcVMrWFZKL3EzY0JZeWd6ZDc2endaanlmdQpLK3BzcWNYVkFyeGZjU2NXQ25jbXliNGRaMy9Lc3lLWlRaamlySDE3aEY0OGtIMlp5clRZSW9hZG80RzdNSUc0Ck1BNEdBMVVkRHdFQi93UUVBd0lDcERBVEJnTlZIU1VFRERBS0JnZ3JCZ0VGQlFjREFUQVBCZ05WSFJNQkFmOEUKQlRBREFRSC9NQjBHQTFVZERnUVdCQlEwWUJjZXdsd1BqYTJPRXFyTGxzZnJscEswUFRCaEJnTlZIUkVFV2pCWQpnZ3d3TWpCbU1UZzFZelkwTnpXQ0NXeHZZMkZzYUc5emRJSUVkVzVwZUlJS2RXNXBlSEJoWTJ0bGRJSUhZblZtClkyOXVib2NFZndBQUFZY1FBQUFBQUFBQUFBQUFBQUFBQUFBQUFZY0V3S2dRQW9jRUFBQUFBREFLQmdncWhrak8KUFFRREFnTkhBREJFQWlBd0dMY05qNXVZSkVwanhYR05OUnNFSzAwWmlSUUh2Qm50NHp6M0htWHBiZ0lnSWtvUQo3cHFvNGdWNGhiczdrSmt1bnk2bkxlNVg0ZzgxYjJQOW52ZnZ2bkk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K'
|
|
# base64 ~/.lnd/data/chain/bitcoin/testnet/admin.macaroon | tr -d '\n'
|
|
LND_MACAROON_BASE64='AgEDbG5kAvgBAwoQsyI+PK+fyb7F2UyTeZ4seRIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgMt90uD6v4truTadWCjlppoeJ4hZrL1SBb09Y+4WOiI0='
|
|
|
|
# Auto unlock LND password. Only used in development docker-compose environment.
|
|
# It will fail starting up the node without it.
|
|
# To disable auto unlock, comment out 'wallet-unlock-password-file=/tmp/pwd' from 'docker/lnd/lnd.conf'
|
|
AUTO_UNLOCK_PWD='1234'
|
|
|
|
REDIS_URL='redis://localhost:6379/1'
|
|
|
|
# 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
|
|
|
|
# Host e.g. robosats.com
|
|
HOST_NAME = ''
|
|
HOST_NAME2 = ''
|
|
LOCAL_ALIAS = 'e.g:my_garbage_server'
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
SECRET_KEY = 'django-insecure-6^&6uw$b5^en%(cu2kc7_o)(mgpazx#j_znwlym0vxfamn2uo-'
|
|
|
|
# e.g. robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion
|
|
ONION_LOCATION = ''
|
|
|
|
# Link to robosats alternative site (shown in frontend in statsfornerds so users can switch mainnet/testnet)
|
|
ALTERNATIVE_SITE = 'RoboSats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion'
|
|
ALTERNATIVE_NAME = 'RoboSats Mainnet'
|
|
|
|
# Lightning node open info, url to amboss and 1ML
|
|
NETWORK = 'testnet'
|
|
NODE_ALIAS = '🤖RoboSats⚡(RoboDevs)'
|
|
NODE_ID = '033b58d7......'
|
|
|
|
# Trade fee in percentage %
|
|
FEE = 0.002
|
|
# Bond size in percentage %
|
|
BOND_SIZE = 0.01
|
|
# Time out penalty for canceling takers in SECONDS
|
|
PENALTY_TIMEOUT = 60
|
|
# Time between routing attempts of buyer invoice in MINUTES
|
|
RETRY_TIME = 5
|
|
|
|
# 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
|
|
ESCROW_EXPIRY = 8
|
|
|
|
# Expiration time for locking collateral in SECONDS
|
|
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
|
|
|
|
# Proportional routing fee limit (fraction of total payout: % / 100)
|
|
PROPORTIONAL_ROUTING_FEE_LIMIT = 0.0002
|
|
# Base flat limit fee for routing in Sats (used only when proportional is lower than this)
|
|
MIN_FLAT_ROUTING_FEE_LIMIT = 10
|
|
|
|
# Username for HTLCs escrows
|
|
ESCROW_USERNAME = 'admin'
|