Author: Olaoluwa Osuntokun 2023-07-16 11:32:08+00:00
Published on: 2023-07-16T11:32:08+00:00
To pay invoices generated by lnd, you can use the API mentioned here: https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2. This API allows you to set the `allow_self_payment` field. Although it creates a circular route through the network, it is commonly used for circular rebalancing. Alternatively, you can set up another node and fund bi-lateral "trusted channels" to enable invoice payments without involving the actual network route. These channels will never confirm on the blockchain. This method does not require any external software and provides the usual payment and invoice records. Another option is to use the `"allow-circular-route` flag, which enables double-backing on the same channel for the route.
Updated on: 2023-08-11T15:49:54.325909+00:00