diff --git a/src/guide/lnurl_pay.md b/src/guide/lnurl_pay.md index 8b85c0a4..cffa95bc 100644 --- a/src/guide/lnurl_pay.md +++ b/src/guide/lnurl_pay.md @@ -68,6 +68,12 @@ +## Trampoline payments + +In the above example, the `use_trampoline` flag can be set to `true` to enable +trampoline payments. See +[Trampoline payments](send_payment.md#trampoline-payments) for more details. + ## Supported Specs - [LUD-01](https://github.com/lnurl/luds/blob/luds/01.md) LNURL bech32 encoding - [LUD-06](https://github.com/lnurl/luds/blob/luds/06.md) `payRequest` spec diff --git a/src/guide/send_payment.md b/src/guide/send_payment.md index 78d7b150..3535b0b3 100644 --- a/src/guide/send_payment.md +++ b/src/guide/send_payment.md @@ -67,3 +67,19 @@ Once you have outbound liquidity you can start sending payments too. ``` + +## Trampoline payments + +In the above example, the `use_trampoline` flag can be set to `true` to enable +trampoline payments. With trampoline, pathfinding through the lightning network +is outsourced to the LSP. + +This has several benefits: +- The payment is more reliable and faster as the LSP has a better view of the + network topology and can find good routes faster. +- There is less interaction between the user's app and the user's node in the + cloud, improving payment speed. + +The trade-offs are: +- The payment can be more expensive as the LSP will take a fee for its services. +- The payment is less private as the LSP will learn the payment destination.