Boltz BTCPay Plugin - Accept Lightning Payments Without Running a Node
For those short on time, here is a rundown of the key features:
- ⚡ “Nodeless” mode: any merchant using BTCPay Server (even on a shared BTCPay instance) can now accept Lightning - powered by Liquid Swaps 🌊
- 🤖 Autoswap to mainchain: when using Liquid Swaps, the BTCPay Plugin allows for triggering swaps back to the mainchain based on a set of preferences
- 👛 Integrated wallet system: create or import Liquid/mainchain wallets
- 🥕 Built on Taproot: fully leveraging the power of Taproot Swaps
- 🙅♂️ Non-custodial: as with all Boltz products, all mentioned features are powered by Boltz Atomic Swaps, allowing merchants to stay in control of their money
🤔 The Problem
Running and managing a Lightning node is no easy feat. Or, as our CTO Michael recently put it: “Channel management is complex and inbound liquidity can be such an alien concept”. As an industry, we have slowly but surely come to accept that the Lightning Network may scale Bitcoin differently than originally anticipated. “Running your own Lightning node” is not a realistic nor a recommended goal for many individuals and even for professionals like merchants alike.
As a consequence, most applications and use cases nowadays revolve around the concept of using someone else’s professionally managed Lightning node to send and receive payments on the Lightning Network. Unfortunately, this all too often means relinquishing custody of funds. For merchants using BTCPay, choices of accepting Lightning payments that do not require operating a Lightning node, are historically limited. Various bugs of custodial solutions in the past showed that custodial risk goes both ways: the custodian can be at risk of losing funds too.
Albeit being great products, today most solutions for merchants remain custodial and require setting up accounts with the service providers, some of which are only available in specific countries.
👇 What is the Boltz BTCPay Plugin?
The Boltz BTCPay Plugin is set to change this by allowing any merchant using BTCPay Server to accept Lightning payments without operating a Lightning node. This is especially powerful for merchants using a shared BTCPay server, as the choice of decent non-custodial options for accepting Lightning payments is very limited.
From a technical perspective, the Boltz BTCPay Plugin acts as an advanced UI to control and monitor Boltz Client, our proven swap client, which it uses under the hood.
After installation, the plugin offers users two modi operandi:
“Rebalance”, the first mode of Boltz BTCPay plugin, is currently still in closed beta (message us if you are interested in participating) and only available to merchants running their own BTCPay instance with their own Lightning node connected to it. It walks you through setting up Boltz Client’s Autoswap in a visual setup flow and finally takes over managing your Lightning node’s liquidity based on your configuration. Next to regular mainchain Submarine Swaps, users have the option to use Liquid Swaps combined with Chain Swaps for increased cost efficiency.
“Rebalance” mode using Autoswap in action
“Nodeless”, the second mode of the plugin and the flagship feature of today’s launch, uses Boltz’s well connected Lightning nodes for processing incoming Lightning payments and swaps the funds to a Liquid wallet controlled by the merchant. It offers great cost planning security as swap fees rarely change and network fees on the Liquid network are reliably low (usually around 40 sats per swap). Finally, it avoids typical Lightning channel management issues like running out of inbound liquidity or unforeseen channel force closes or even potentially catastrophic events like corrupted channel state.
“Nodeless” mode in action, using Autoswap to move from Liquid back to the mainchain
We don’t want to draw any preliminary conclusions today as only time will tell, but we strongly believe that, from a cost-perspective, “nodeless” mode can be very competitive compared to the total costs of operating a Lightning node.
🚧 WIP
We labeled today’s launch “Open Beta”. Even though we tested meticulously and disabled features that were either known to have issues or not well-tested enough, we can’t guarantee absence of bugs. Do not install and run the plugin if you expect things to be perfect. As a cautious approach, we recommend starting off by only enabling the plugin to take over Lightning payments while the behavior can be monitored and only enable it permanently once a certain confidence level is reached. You can find an overview of known limitations here.