Manage Your Node with Lightning Terminal (LIT)

4. Lightning Terminal (LIT)

With the LND node initialized and services accessible through NPM, in this chapter we explore Lightning Terminal, the node management interface. We will review its main features and how to connect remotely to the node via Lightning Node Connect.

Lightning Terminal is a graphical interface and management tool designed for the Bitcoin Lightning Network. Developed by Lightning Labs, it allows node operators to manage payment channels more efficiently thanks to advanced functions like Pool (liquidity marketplace), Loop (on-chain/off-chain swap), and Faraday (risk and performance analysis). With this tool, we can buy and sell inbound liquidity, optimize channel management, and receive recommendations to maximize node profitability. It is the ideal option for those who want to actively participate in the Lightning Network without needing to use complex terminal commands.

4.1 Key Lightning Terminal Features

We begin by accessing the Lightning Terminal interface (from now on LIT) via the following address: https://lit.cashu4community.xyz.

Note: The access address for the LIT service was configured in the Nginx Proxy Manager chapter.

Image 1: LIT login page.

Login LIT
  1. We enter the password generated in the First Steps chapter, which is located in the app-data/lit/lit.conf file, parameter uipassword.
  2. We click the Submit button to access.

Home

Image 2: Home Page.

Home Page
  1. Node Bitcoin On-chain / Lightning balance.
  2. Quick access to the Lightning Terminal Service.
  3. Access to the Lightning Labs YouTube channel.

Settings

Image 3: Settings Page.

Settings Page
  1. Select Bitcoin unit (BTC, Bits, Sats).
  2. Channel optimization mechanisms (Receiving, Sending, or Routing).
  3. Block explorers.
  4. Public key and node URI, useful for opening channels or buying liquidity.
  5. Node alias.

Lightning Loop

Loop is a non-custodial service offered by Lightning Labs that acts as a bidirectional bridge (on/off-ramp) between the Lightning Network and the Bitcoin blockchain. Its main function is to allow users to move funds from one side to the other without needing to open or close channels, thus solving liquidity problems in the network.

Image 4: Lightning Loop.

Lightning Loop
  1. Inbound / Outbound Capacity.
  2. Access to the Loop service.
  3. Active channels on the node.

The following images show the flow to perform a Loop In operation, meaning adding liquidity from the node wallet's on-chain balance.

Image 5: Lightning Loop In.

Loop In

Image 6: Selecting the on-chain amount to add to the selected channel.

Loop In Fixed Fund

Image 7: Confirm Loop In operation after calculating the fee.

Loop In Confirm
  • Loop In (to receive more inbound liquidity on a channel): we need a balance in the on-chain wallet.
  • Loop Out (to send funds from Lightning to the on-chain network): we need available balance within a payment channel.

We can watch Loop in action in this video.

Lightning Node Connect

The Lightning Node Connect (LNC) function in Lightning Terminal is a mechanism that allows connecting to the Lightning node remotely, securely, and privately through a web browser or mobile application, without needing to configure port forwarding or use Tor.

We can think of it as "remote access" designed specifically for Lightning nodes, solving connectivity problems like NAT (Network Address Translation) or firewalls that usually block incoming connections.

Image 8: Lightning Node Connect Page.

Lightning Node Connect
  1. We click to create a session to the Lightning Terminal Service.

Image 9: Creating a new Lightning Terminal Service session.

New LTS Session
  1. We set the session name.
  2. We select the Admin privileges from the available options (Admin, Read-only, and Custom).
  3. We click Submit to create the session.

Image 10: New Lightning Terminal Service session options.

LTS Session Options
  1. If we click here, it redirects us to the Lightning Terminal Services website to enter the 12-word phrase that establishes the connection to the node.
  2. If we click here, we copy the 12 words.
  3. Shows a QR useful if we want to connect to the node from Zeus or Alby Hub.

We can watch the following video about LIT here.

4.2 Accessing Lightning Terminal Service

At this point we can access this service from step 18 above, or by going directly to terminal.lightning.engineering.

Image 11: Lightning Terminal Services Main Page.

Lightning Terminal Services Home
  1. We click on Connect to my node.

Image 12: Connecting to the node via 12 words generated by LIT.

Pairing Phrase
  1. We paste the 12-word phrase obtained in LIT when creating the new session.
  2. We click Connect.

Image 13: Setting the connection password.

Set Password
  1. We enter a password for the session (this is not the same password used for LIT; they are different services).
  2. We click Next.

Image 14: Confirming the session password.

Confirm Password
  1. We confirm the session password.
  2. We click the Ready button.

Image 15: Lightning Terminal Services Main Dashboard.

LTS Dashboard
  1. Navigation menu: allows navigating between the Lightning network explorer, Autopilot (function that automates on-demand tasks on the node), Loop (the same functions we saw in LIT but with an improved interface), and Asset (for those who want to issue tokens on the Lightning network).
  2. Action buttons: allows sending and receiving both on Lightning and on-chain, plus opening channels.
  3. Node statistics area: shows node statistics over a time period, such as earnings and losses from routing, among other things.
  4. Routing and channel information: we can interact with routings and channels; in the latter we can obtain information, change fees, close, and force close if a channel has been offline for a long time.
  5. Node information menu: shows Lightning and on-chain balance, node version, operation history, and other options.

If we want to learn more about these tools, we can visit the following link.