mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
14 lines
405 B
C#
14 lines
405 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace BTCPayServer.Payments.PayJoin
|
|
{
|
|
public static class PayJoinExtensions
|
|
{
|
|
public static void AddPayJoinServices(this IServiceCollection serviceCollection)
|
|
{
|
|
serviceCollection.AddSingleton<PayJoinStateProvider>();
|
|
serviceCollection.AddHostedService<PayJoinTransactionBroadcaster>();
|
|
}
|
|
}
|
|
}
|