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