Galoy / Blink / BTCPay Server \ Remote \ @pretyflaco 6 Dec 2023
Description
Implement the Blink API as an option to use as a Lightning backend for BTCPay Server allowing Blink accounts to leverage the full suite of BTCPayserver applications without having to run a Lightning Node.
Background
BTCPay Server is a self-hosted, open-source bitcoin payment processor with a vast suite of merchant applications. Currently, it requires users to either run a Lightning Node themselves or trust a hobbyist custodian to leverage Lightning payments for BTCPay apps. An option to add a user’s Blink account as a Lightning backend would allow non-technical users to leverage Lightning payments with BTCPay apps in a quick and easy manner without having to worry about the intricacies of bootstrapping a Lightning Node and managing liquidity. In addition, the Stablesats functionality of Blink will provide users the option to keep their revenue in Dollars, allowing them to manage exchange rate volatility without having to go through an exchange manually.
Task
Submit a PR to BTCPay Server that will allow Blink users to authenticate through the Blink API and use their Blink Account as the Lightning backend for BTCPay Server applications. The option to connect with Blink should appear in the section “Use a custom node”. Depending on the user’s default account selection (Bitcoin or Stablesats), funds received through BTCPay Server applications should either go to the user’s Bitcoin account or Stablesats account.
Useful Links
Definition of Done
PR gets merged to main.
Bounty
5M Sats (0.05 BTC)
Bounty Patrons Galoy
Below screenshot shows the page in BTCPay where the Lightning connection is configured. The option to connect and authenticate via Blink API should be added here.