This commit is contained in:
Kukks
2023-01-17 14:29:22 +01:00
parent ac9e07429e
commit 8906073e92
20 changed files with 32 additions and 100 deletions

View File

@@ -7,17 +7,10 @@ namespace BTCPayServer.Plugins.FixedFloat
{
public class FixedFloatPlugin : BaseBTCPayServerPlugin
{
public override string Identifier => "BTCPayServer.Plugins.FixedFloat";
public override string Name => "FixedFloat";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.0.0" }
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
};
public override string Description =>
"Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.";
public override void Execute(IServiceCollection applicationBuilder)
{
applicationBuilder.AddSingleton<FixedFloatService>();