This plugin enables on-chain payments in BTCPay Server when BTCPay is already configured to use phoenixd as its Lightning implementation.
phoenixd is the server equivalent of the popular phoenix wallet for mobile.
If .NET is not yet installed:
winget install --id Microsoft.DotNet.SDK.8 --source winget
To build the plugin:
git clone --recurse-submodules https://github.com/ACINQ/phoenixd-btcpayserver-plugin.git
cd ./phoenixd-btcpayserver-plugin/plugin/
dotnet build --configuration Release -p:DebugType=None -p:DebugSymbols=false -p:DefineConstants="RAZOR_COMPILE_ON_BUILD"
dotnet run --project ../btcpayserver/BTCPayServer.PluginPacker/BTCPayServer.PluginPacker.csproj -- ./bin/Release/net8.0/ BTCPayServer.Plugins.Phoenixd ./output
The Phoenixd plugin should now be located in ./output/BTCPayServer.Plugins.Phoenixd/<VERSION>/
Install the plugin through BTCPay Server web interface Plugins > Manage Plugins > Upload Plugin (locate your BTCPayServer.Plugins.Phoenixd.btcpay
) and restart.
Once the Phoenixd plugin is successfully loaded, no further configuration is required. You should now be able to send on-chain payments using your Phoenixd balance in BTCPay Server. 🚀
Q: How do I send an on-chain payment from my Lightning balance?
A: Go to Plugins > Phoenixd Bitcoin Payment to send an on-chain payment.