LightningPay
Bitcoin Lightning Network Payment library
Install / Use
/learn @using-system/LightningPayREADME
LightningPay
Bitcoin Lightning Network Payment .NET library
Features
- [x] Get balance (Documentation)
- [x] Create an invoice (Documentation)
- [x] Check payment (Documentation)
- [x] Pay an invoice (Documentation)
Packages
LightningPay.Abstractions: Interfaces and model used by
LightningPayLightningPay: Core library with all Lightning clients
LightningPay.DependencyInjection: Extension methods for .NET DI
See Which package to use ? for more details.
Integration
Connect to your lightning nodes :
- [x] LND (Documentation)
- [x] C-Lightning (Documentation)
- [x] Eclair (Documentation)
- [ ] Charge (Not supported yet)
Or with custodial solution for lightning (without having a node of your own) :
- [x] LNDHub / BlueWallet (Documentation)
- [x] LNBits (Documentation)
Extensible
With LightningPay, you can easly extend your client by add extension methods to the ILightningClient interface.
See the full documentation here.
Samples
Need for code samples ? Go here : Lightning samples
Documentation
Local test
You can use our docker-compose file to test the LightningPay clients.
Continuous Integration
Contributing
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.
Credits
Many thanks to the BTCPayServer.Lightning project that inspiring us.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
