Crate strike_rs

Source
Expand description

Strike API SDK Rust SDK for https://strike.me/

§Rust SDK for Strike API

§Status

§Receive

  • Create invoice
  • Get Invoice
  • Find Invoice

§Pay

  • Get LN payment quote
  • Execute LN Payment Quote

§Webhook

  • Subscribe to invoice updated webhook

§Minimum Supported Rust Version (MSRV)

The strike-rs 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

Re-exports§

pub use invoice::*;
pub use pay_ln::*;

Modules§

invoice
Handle invoice creation
pay_ln
Pay Ln
webhooks
Strike Webhooks

Structs§

Amount
Amount with unit
ConversionRate
Conversion rate for quote
Strike
Strike

Enums§

Currency
Currency unit
Error
Strike rs error
InvoiceState
Invoice state