ntheile / btcpayserver-plugin-galoy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BTCPay Server Plugin for Galoy

Learn more in plugin documentation.

To Build and Run

  1. Build your plugin
dotnet build BTCPayServer.Plugins.Galoy
  1. Open btcpayserver in a new vscode instance (need a new instance for debugging later on)
code btcpayserver
  1. Add settings
touch BTCPayServer/appsettings.dev.json

File

{
  "DEBUG_PLUGINS": "/full/path/to/btcpayserver-plugin-galoy/BTCPayServer.Plugins.Galoy/bin/Debug/net6.0/BTCPayServer.Plugins.Galoy.dll"
}
  1. Build btcpayserver
dotnet build btcpayserver
  1. Add ref to your plugin (if you have not already done this)
dotnet sln add ../BTCPayServer.Plugins.Galoy -s Plugins
  1. Debug
  • Click the debug button in vscode
  • Click "Play" button (.NET Core launch (web))
  1. Enable plugin in web. This will open the web browser. Add the Galoy plugin

Todo

  • [] make galoy instance configurable (mainnet, staging, bitcoin jungle, custom endpoint etc...)
  • [] tighter integration with BTCPay data, like BTCPay invoices id's

About

License:MIT License


Languages

Language:CSS 73.7%Language:C# 12.6%Language:JavaScript 10.9%Language:HTML 2.8%