3️⃣Deploy Client
LN-STX Bridge Client App
There are a few methods to install the client app as documented in the lnstxbridge-client repository readme. Choose your preferred method based on your environment and technical expertise.
Install with Script
Copy and Paste the below command into your umbrel/raspiblitz/mynode and follow the instructions.
bash <(curl -s https://cdn.jsdelivr.net/gh/pseudozach/lnstxbridge-client@main/install.sh)This script will collect required environment variables from you and populate the docker-compose.yml before starting the docker lnstxbridge-client and lnstxbridge-dashboard docker containers.
Install with Docker Compose
git clone https://github.com/pseudozach/lnstxbridge-client
cd lnstxbridge-client/docker-compose/lnstx-clientCopy your LND certificate and admin macaroon to lnstx-client folder. Copy your bitcoin cookie file to lnstx-client folder.
cp ~/.lnd/tls.cert docker-compose/lnstx-client/lnd-tls.cert
cp ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon docker-compose/lnstx-client/admin.macaroon
cp ~/.bitcoin/.cookie docker-compose/lnstx-client/.cookieNote that by copying these files into lnstxbridge-client docker container folder you are giving lnstxbridge-client admin access to your Bitcoin & LND node and allow it to generate/pay invoices, send/receive bitcoin on your behalf.
Modify the docker-compose.yml file and populate it with all of the required environment variables.
Configuration
Modify the boltz.conf file as per your requirements and environment.
Data in this file is mostly personal choice and depend on operator's environment. Feel free to join #developers channel in our discord and ask if anything is unclear.
Install from Source
If you're running directly on linux/MacOS your data folder will be ~/.lnstx-client
Copy boltz.conf there and populate it as explained in configuration section above.
It's suggested to use process managers like pm2 because there can be many reasons your server might crash, restart and you should always try to ensure high uptime for your bridge.
You can also use an online monitoring tool like cronitor or uptime-kuma to receive alerts if your instance goes down.
Last updated