# required if you want to enable sponsored transactions
# Backend supports sending messages to Discord after successful and failed
# Swaps and if the wallet or channel balance is underneath a configurable threshold
# 1. create a bot at https://discord.com/developers/applications
# 2. add the bot to any private channel in your discord server
# 3. give bot sendmessage access and copy/paste token here
channel = "secret-lnswapbot-channel"
# Interval in minutes at which the wallet and channel balances should be checked
# Some Discord commands (like withdraw) require a TOTP token
# This is the path to the secret of that TOTP token
otpsecretpath = "/home/workspace/.lnstx/otpSecret.dat"
# Backend supports balancing account funds via centralized exchange (currently OKCoin)
# Both automated and on-demand balancing is supported
apiUri = "https://www.okcoin.com"
# if you do not want to serve USDA sip10 token swaps, you can delete this pair
network = "bitcoinRegtest"
minWalletBalance = 10_000_000
minChannelBalance = 10_000_000
maxSwapAmount = 4_294_967
maxZeroConfAmount = 10_000_000
cookie = "docker/regtest/data/core/cookies/.bitcoin-cookie"
certpath = "docker/regtest/data/lnd/certificates/tls.cert"
macaroonpath = "docker/regtest/data/lnd/macaroons/admin.macaroon"
providerEndpoint = "http://localhost:3999"
# you need to replace these contract addresses
# with the ones you have deployed in the previous step.
stxSwapAddress = "ST30VXWG00R13WK8RDXBSTHXNWGNKCAQTRYEMA9FK.stxswap_v8"
sip10SwapAddress = "ST30VXWG00R13WK8RDXBSTHXNWGNKCAQTRYEMA9FK.sip10swap_v1"
maxSwapAmount = 1_294_967000
# if you are serving another SIP10 token you can replace/add below lines
maxSwapAmount = 1_294_967000
contractAddress = "SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.usda-token"