2020-07-22 21:38:42 -04:00
# Lightning Terminal (LiT)
2020-04-06 15:36:33 -04:00
2020-07-22 21:38:42 -04:00

2020-04-14 19:17:49 -04:00
2025-11-26 16:38:45 +00:00
Lightning Terminal (LiT) is a browser-based interface for managing channel
liquidity.
2020-07-31 09:30:05 -04:00
2020-10-13 09:49:20 -10:00

2020-07-29 02:13:57 -04:00
2020-10-13 09:49:20 -10:00
## Features
2025-11-26 16:38:45 +00:00
2020-10-13 09:49:20 -10:00
- Visualize your channels and balances
2025-11-26 16:38:45 +00:00
- Perform submarine swaps via
the [Lightning Loop ](https://lightning.engineering/loop ) service
2020-10-13 09:49:20 -10:00
- Classify channels according to your node's operating mode
2025-11-26 16:38:45 +00:00
- Run a single binary that integrates
[`loopd` ](https://github.com/lightninglabs/loop ),
2020-11-02 13:15:22 +01:00
[`poold` ](https://github.com/lightninglabs/pool ) and
[`faraday` ](https://github.com/lightninglabs/faraday ) daemons all in one
2021-03-10 18:53:28 -10:00
- Access a preview release of the Pool UI
- Use Pool to earn sats by opening channels to those needing inbound liquidity
2020-07-29 02:13:57 -04:00
2020-06-03 22:23:25 -04:00
## Installation
2021-05-04 13:08:26 +02:00
2025-11-26 16:38:45 +00:00
Download the latest binaries from the [releases ](https://github.com/lightninglabs/lightning-terminal/releases )
page.
Additionally, you can find detailed instructions on the [docs.lightning.engineering ](https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/get-lit )
page.
2020-06-03 22:23:25 -04:00
2020-10-13 09:49:20 -10:00
## Execution
2025-11-26 16:38:45 +00:00
2020-10-13 09:49:20 -10:00
Run Lightning Terminal with a local `lnd` instance:
2020-06-03 22:23:25 -04:00
2021-01-18 15:38:46 +01:00
```shell
⛰ ./litd --uipassword=UP48lm4Vjqxy< change_this_or_you_will_get_robbed >
2020-06-03 22:23:25 -04:00
```
2020-10-13 09:49:20 -10:00
Visit https://localhost:8443 to access Terminal.
2020-09-09 10:32:35 -04:00
2025-11-26 16:38:45 +00:00
Note that a password with a minimum of 8 characters is required to run Lightning
Terminal. In a production environment, it's recommended that you store this
password as an environment variable to avoid it being recorded in the command
history.
2020-09-09 10:32:35 -04:00
2025-11-26 16:38:45 +00:00
To use LiT with a remote `lnd` instance
please [follow these instructions ](./docs/config-lnd-remote.md ). If you would
like to replace your existing LND instance with the one integrated within LiT
please see [configuring Terminal ](./docs/config-lnd-integrated.md ).
2020-09-09 10:32:35 -04:00
2020-10-13 09:49:20 -10:00
## LND
2025-11-26 16:38:45 +00:00
Note that LiT requires `lnd` to be built with **all of its subservers** and
requires running at least v0.11.0. Download the
latest [official release binary ](https://github.com/lightningnetwork/lnd/releases/latest )
or build `lnd` from source by following
the [installation instructions ](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md ).
If you choose to build `lnd` from source, use the following command to enable
all the relevant subservers:
2020-09-09 10:32:35 -04:00
2021-01-18 15:38:46 +01:00
```shell
⛰ make install tags="signrpc walletrpc chainrpc invoicesrpc"
2020-09-09 10:32:35 -04:00
```
2020-06-03 22:23:25 -04:00
2020-10-13 09:49:20 -10:00
## Interaction
2025-11-26 16:38:45 +00:00
If you plan to run LiT on a remote machine but access the web-interface from
your computer you may not want to deal with self-signed certificate browser
warnings. To avoid these warnings configure the HTTP server to use a certificate
from [Let's Encrypt ](https://letsencrypt.org/ ). View the
[Let's Encrypt Configuration ](./docs/letsencrypt.md ) doc for instructions on how
to configure this.
2020-06-13 00:39:59 -04:00
2020-10-13 09:49:20 -10:00
## Upgrading
2020-06-13 00:39:59 -04:00
2025-11-26 16:38:45 +00:00
If you used command line arguments with previous versions then you don't need to
change anything when upgrading.
To upgrade from v0.1.1-alpha or earlier simply create a `lit.conf` file in your
LiT directory. The default location LiT uses depends on your operating system:
2020-10-13 09:49:20 -10:00
- MacOS: `~/Library/Application Support/Lit/lit.conf`
- Linux: `~/.lit/lit.conf`
- Windows: `~/AppData/Roaming/Lit/lit.conf`
2020-06-03 22:23:25 -04:00
2025-11-26 16:38:45 +00:00
Move all the configuration settings specific to LiT from `lnd.conf` to
`lit.conf` and remove any previous LiT-specific customizations from the
configuration settings in `lnd.conf` . Note that any section headers (
`[ Example ]` ) in `lit.conf` should be removed or changed to comments (
`# Example` ).
2020-06-03 22:23:25 -04:00
2020-10-13 09:49:20 -10:00
## Usage
2025-11-26 16:38:45 +00:00
Read the [walkthrough ](docs/WALKTHROUGH.md ) document to learn more about how to
use LiT.
2020-06-03 22:23:25 -04:00
2020-10-13 09:49:20 -10:00
## Troubleshooting
2025-11-26 16:38:45 +00:00
If you encounter any issues please see
our [troubleshooting guide ](./docs/troubleshooting.md ).
2020-06-03 22:23:25 -04:00
2020-10-13 09:49:20 -10:00
## Build from source
2025-11-26 16:38:45 +00:00
If you’ d prefer to compile from source code please
follow [these instructions ](./docs/compile.md ).
2020-06-03 22:23:25 -04:00
2026-05-05 11:33:00 +05:30
**Note for FreeBSD users:** the `Makefile` requires GNU Make. Install it with
`pkg install gmake` and use `gmake` in place of `make` (for example,
`gmake install` ).
2025-11-26 16:29:03 +00:00
## Component Compatibility
This section describes version and mode compatibility across Lightning Terminal
(LiT) and its component daemons.
### LND Version Compatibility
LiT can operate in two modes: [integrated ](docs/config-lnd-integrated.md ) and
[remote ](docs/config-lnd-remote.md ). Version compatibility between LiT and `lnd`
matters only when running in remote mode. The lnd version bundled in
integrated mode is always compatible.
Each LiT release should specify the minimum compatible `lnd` version in its
[GitHub release
notes](https://github.com/lightninglabs/lightning-terminal/releases). If a
release does not document compatibility, the required information is available
in the archived compatibility table in
[docs/compatibility.md ](./docs/compatibility.md ).
### Compatibility With Additional Daemons
LiT also bundles several additional daemons: Faraday, Loop, Pool and Taproot
Assets. Each can be configured as integrated, remote or disabled. This creates
many possible configurations, and not all combinations are supported due to
technical constraints.
The following table lists supported combinations:
2022-02-08 16:09:47 +01:00
| | `lnd-mode=integrated` | `lnd-mode=remote` |
|----------------------------------------|-----------------------|-------------------|
| `faraday-mode=integrated` | X | X |
| `loop-mode=integrated` | X | X |
| `pool-mode=integrated` | X | X |
2025-11-26 16:17:36 +00:00
| `taproot-assets-mode=integrated` | X | X |
2022-02-08 16:09:47 +01:00
| `faraday-mode=remote` | | X |
| `loop-mode=remote` | | X |
| `pool-mode=remote` | | X |
2025-11-26 16:17:36 +00:00
| `taproot-assets-mode=remote` | | X |
2023-05-05 09:30:11 +02:00
| `faraday-mode=disable` | X | X |
| `loop-mode=disable` | X | X |
| `pool-mode=disable` | X | X |
2025-11-26 16:17:36 +00:00
| `taproot-assets-mode=disable` | X | X |
2022-02-08 16:09:47 +01:00
| `lnd` running in "stateless init" mode | X | |
2024-10-21 16:02:53 +02:00
NOTE: Taproot Assets **Channel** functionality is only available when both `lnd`
and `tapd` are running in the same process (by setting both
`lnd-mode=integrated` and `taproot-assets-mode=integrated` ). Remote mode support
will be added in the future.