WIP
library to integrate lighting into rust projects
- ✔️ CLNrpc
- 🚧 Greenlight
- 🚧 ldk-node
Node Functions | CLN RPC | Greenlight | LDK |
---|---|---|---|
Wait for invoice any invoice payment | ✔️ | ✔️ | 🚧 |
Get new invoice | ✔️ | ✔️ | ✔️ |
Pay invoice | ✔️ | ✔️ | ✔️ |
Check status of invoice | ✔️ | ✔️ | ✔️ |
Node Functions | CLN RPC | Greenlight | LDK |
---|---|---|---|
Get new on-chain address | ✔️ | ✔️ | ✔️ |
Pay on chain | ✔️ | ✔️ | ✔️ |
Open a new channel | ✔️ | ✔️ | ✔️ |
Close channel | ✔️ | ✔️ | ✔️ |
List channels | ✔️ | ✔️ | ✔️ |
Get node balance | ✔️ | ✔️ | ✔️ |
Connect to peer | ✔️ | ✔️ | ✔️ |
List connected peers | ✔️ | ✔️ | ✔️ |
Get new invoice | ✔️ | ✔️ | ✔️ |
Pay invoice | ✔️ | ✔️ | ✔️ |
Code is under the BSD 3-Clause License
All contributions welcome.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.
I can be contacted for comments or questions on nostr at _@thesimplekid.com (npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) or via email tsk@thesimplekid.com.