mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-04 21:45:24 +01:00
Rename wait_any_incoming_payment to wait_payment_event and change return type from WaitPaymentResponse stream to Event stream. This introduces a new Event enum that wraps payment responses, making the system more extensible for future event types. - Add Event enum with PaymentReceived variant - Update MintPayment trait method signature - Refactor all payment backend implementations (LND, CLN, LNBits, fake wallet) - Update mint and payment processor to handle new event stream forma
CDK LND
ALPHA This library is in early development, the API will change and should be used with caution.
LND (Lightning Network Daemon) backend implementation for the Cashu Development Kit (CDK).
Installation
Add this to your Cargo.toml:
[dependencies]
cdk-lnd = "*"
Minimum Supported Rust Version (MSRV)
This crate supports Rust version 1.75.0 or higher.
License
This project is licensed under the MIT License.