10 releases (6 breaking)

new 0.9.1 Apr 23, 2025
0.9.0 Apr 9, 2025
0.8.1 Mar 25, 2025
0.7.1 Feb 13, 2025
0.3.0 Aug 31, 2024

#119 in Magic Beans

Download history 2/week @ 2025-01-08 140/week @ 2025-02-05 148/week @ 2025-02-12 20/week @ 2025-02-26 158/week @ 2025-03-19 93/week @ 2025-03-26 2/week @ 2025-04-02 138/week @ 2025-04-09 8/week @ 2025-04-16

337 downloads per month
Used in cdk-mintd

MIT license

385KB
8K SLoC

CDK LNbits

crates.io Documentation

The CDK LNbits crate is a component of the Cashu Development Kit that provides integration with LNbits as a Lightning Network backend for Cashu mints.

Overview

This crate implements the MintPayment trait for LNbits, allowing Cashu mints to use LNbits as a payment backend for handling Lightning Network transactions.

Features

  • Create and pay Lightning invoices via LNbits
  • Handle webhook callbacks for payment notifications
  • Manage fee reserves for Lightning transactions
  • Support for invoice descriptions
  • MPP (Multi-Path Payment) support

Usage

Add this to your Cargo.toml:

[dependencies]
cdk-lnbits = "*"

License

This project is licensed under the MIT License.

Dependencies

~25–41MB
~649K SLoC