2 unstable releases

0.2.0 Sep 1, 2024
0.1.0 Aug 28, 2024

#1326 in #api-client

Download history 1005/week @ 2024-08-28 1609/week @ 2024-09-04 774/week @ 2024-09-11

3,388 downloads per month
Used in 2 crates (via cdk-lnbits)

MIT license

18KB
357 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

~8–20MB
~311K SLoC