3 releases (breaking)

new 0.3.0 Nov 19, 2024
0.2.0 Sep 1, 2024
0.1.0 Aug 28, 2024

#1578 in #api-client


Used in 2 crates (via cdk-lnbits)

MIT license

22KB
464 lines

lnbits-rs

An ergonomic, LNbits API Client for Rust.

Key features

  • Create invoices
  • Webhook for incoming invoices
  • Decode invoices
  • Pay invoices
  • Get wallet details
  • Tor support

Minimum Supported Rust Version (MSRV)

The phoenixd library should always compile with any combination of features on Rust 1.63.0.

To build and test with the MSRV you will need to pin the below dependency versions:

cargo update -p tokio --precise 1.38.1
cargo update -p reqwest --precise 0.12.4

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Dependencies

~9–20MB
~270K SLoC