You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lightning-liquidity/README.md
+8-3
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,18 @@
2
2
3
3
The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP with an LDK-based node. To this end, this crate provides client-side as well as service-side logic to implement the [LSP specifications].
4
4
5
+
**Note**: Service-side support is currently considered "beta", i.e., not fully
6
+
ready for production use.
7
+
5
8
Currently the following specifications are supported:
6
9
-[LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
7
10
-[LSPS1] allows to order Lightning channels from an LSP. This is useful when the client needs
8
11
inbound Lightning liquidity for which they are willing and able to pay in bitcoin.
9
-
-[LSPS2] allows to generate a special invoice for which, when paid, an LSP will open a "just-in-time".
10
-
This is useful for the initial on-boarding of clients as the channel opening fees are deducted
11
-
from the incoming payment, i.e., no funds are required client-side to initiate this flow.
12
+
-[LSPS2] allows to generate a special invoice for which, when paid, an LSP
13
+
will open a "just-in-time" channel. This is useful for the initial
14
+
on-boarding of clients as the channel opening fees are deducted from the
15
+
incoming payment, i.e., no funds are required client-side to initiate this
16
+
flow.
12
17
13
18
To get started, you'll want to setup a `LiquidityManager` and configure it to be the `CustomMessageHandler` of your LDK node. You can then call `LiquidityManager::lsps1_client_handler` / `LiquidityManager::lsps2_client_handler`, or `LiquidityManager::lsps2_service_handler`, to access the respective client-side or service-side handlers.
Copy file name to clipboardExpand all lines: lightning-liquidity/src/lib.rs
+7-3
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,17 @@
10
10
11
11
//! The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP with an LDK-based node. To this end, this crate provides client-side as well as service-side logic to implement the [LSP specifications].
12
12
//!
13
+
//! **Note**: Service-side support is currently considered "beta", i.e., not fully ready for
14
+
//! production use.
15
+
//!
13
16
//! Currently the following specifications are supported:
14
17
//! - [LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
15
18
//! - [LSPS1] allows to order Lightning channels from an LSP. This is useful when the client needs
16
19
//! inbound Lightning liquidity for which they are willing and able to pay in bitcoin.
17
-
//! - [LSPS2] allows to generate a special invoice for which, when paid, an LSP will open a "just-in-time".
18
-
//! This is useful for the initial on-boarding of clients as the channel opening fees are deducted
19
-
//! from the incoming payment, i.e., no funds are required client-side to initiate this flow.
20
+
//! - [LSPS2] allows to generate a special invoice for which, when paid, an LSP will open a
21
+
//! "just-in-time" channel. This is useful for the initial on-boarding of clients as the channel
22
+
//! opening fees are deducted from the incoming payment, i.e., no funds are required client-side to
23
+
//! initiate this flow.
20
24
//!
21
25
//! To get started, you'll want to setup a [`LiquidityManager`] and configure it to be the
22
26
//! [`CustomMessageHandler`] of your LDK node. You can then for example call
0 commit comments