Ejemplo n.º 1
0
 public LightningLikePaymentHandler(
     LightningClientFactory lightningClientFactory,
     NBXplorerDashboard dashboard)
 {
     _LightningClientFactory = lightningClientFactory;
     _Dashboard = dashboard;
 }
Ejemplo n.º 2
0
 public LightningListener(EventAggregator aggregator,
                          InvoiceRepository invoiceRepository,
                          LightningClientFactory lightningClientFactory,
                          BTCPayNetworkProvider networkProvider)
 {
     _Aggregator             = aggregator;
     _InvoiceRepository      = invoiceRepository;
     _NetworkProvider        = networkProvider;
     _LightningClientFactory = lightningClientFactory;
 }
Ejemplo n.º 3
0
 public ILightningClient CreateClient(BTCPayNetwork network)
 {
     return(LightningClientFactory.CreateClient(this.GetLightningUrl(), network.NBitcoinNetwork));
 }