Bitcoin Lightning Network Payment .NET library
- Get balance (Documentation)
- Create an invoice (Documentation)
- Check payment (Documentation)
- Pay an invoice (Documentation)
LightningPay.Abstractions
: Interfaces and model used byLightningPay
LightningPay
: Core library with all Lightning clientsLightningPay.DependencyInjection
: Extension methods for .NET DI
See Which package to use ? for more details.
Connect to your lightning nodes :
- LND (Documentation)
- C-Lightning (Documentation)
- Eclair (Documentation)
- Charge (Not supported yet)
Or with custodial solution for lightning (without having a node of your own) :
- LNDHub / BlueWallet (Documentation)
- LNBits (Documentation)
With LightningPay
, you can easly extend your client by add extension methods to the ILightningClient
interface.
See the full documentation here.
Need for code samples ? Go here : Lightning samples
You can use our docker-compose file to test the LightningPay
clients.
We appreciate new contributions.
- Non developer : You found a bug or have an suggestion for a new feature ? Don't hesitate to create an issue
- Developer : develop branch is the principal branch for development. This branch is protected. You must create a pull request and target this branch for code validation.
Many thanks to the BTCPayServer.Lightning project that inspiring us.