thesimplekid 7b4951041e Rust docs (#681) 4 هفته پیش
..
src 7b4951041e Rust docs (#681) 4 هفته پیش
Cargo.toml 7b4951041e Rust docs (#681) 4 هفته پیش
README.md 7b4951041e Rust docs (#681) 4 هفته پیش

README.md

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.