Discover the Lightning Network from a technical perspective
1. Introduction
-
View your channels and node - The dashboard displays On-Chain balance, Lightning liquidity (local/remote), synchronization status, node alias and more. You can view your channel list, capacity, local/remote distribution and status. RTL offers context-sensitive dashboards to analyze activity from different angles.
-
Lightning channel management - Open/close channels with a few clicks. RTL lets you connect to a peer and open a channel without a command. You can adjust routing fees, view the balance score, or initiate a circular rebalance to rebalance funds between channels.
-
Track and make payments - RTL manages Lightning transactions: send payments via invoices, generate invoices to receive, track transactions (payments, routing) with detailed history. Interface also analyzes routing to see which payments are passing through your node.
-
Wallet On-Chain management and backup - The On-Chain tab lets you generate addresses and send transactions. RTL makes it easy to save channels by exporting the SCB file for LND, with automatic update for each channel modification.
2. Technical operation of RTL
-
With LND, RTL uses LND's REST API (port 8080) to execute Lightning commands. The connection is secured by TLS and requires LND's admin macaroon file for authentication.
-
With Core Lightning (CLN), RTL uses either the REST API provided by c-lightning-REST, or an access rune via the
commandoplugin. Solutions such as Umbrel automatically configure these elements. -
With Eclair, RTL connects to the Eclair REST API using the configured authentication password.
RTL-Config.json) where you define the web port, access password, and connection information to your node. The Interface web is protected by a login/password (default password to be changed) and supports 2FA. By default, RTL runs as local HTTP (http://localhost:3000), but for remote access, always use a secure connection (HTTPS via reverse-proxy, Tor, or VPN).3. RTL installation
Manual method
node -v or install Node from the official site (https://nodejs.org/en/download/) or your package manager.git clone https://github.com/Ride-The-Lightning/RTL.git cd RTL
npm install --omit=dev --legacy-peer-deps
--legacy-peer-deps option is recommended to avoid possible Node dependency conflicts.Sample-RTL-Config.json file in the project root to RTL-Config.json. Open it in your :- UI password: choose a secure password and enter it in
multiPass(instead of the default"password"). - Port: default
3000. You can change it if this port is already taken on your machine. - Node: in the
nodes[0]section, adjust the parameters for your node:lnNode: a descriptive name for your node (e.g."LND Node Maison").- lnImplementation
:"LND"(or"CLN"/"ECL"` as appropriate). - Under
authentication:- macaroonPath`: specify the full path to the folder containing LND's macaroon admin.
configPath: path to the node's config file (LND.conffor LND).
- Under
settings:fiatConversion: set totrueif you want fiat currency conversion.unannouncedChannels: set totrueto see unannounced channels.- themeColor
andthemeMode`: Interface customization. - channelBackupPath`: path for LND channel backups.
lnServerUrl: URL of your Lightning node (e.g.https://127.0.0.1:8080).
node rtl
http://localhost:3000.- Open a terminal on your machine.
- Create a new service file with the following command (replace
nanowith your favorite editor):
sudo nano /etc/systemd/system/RTL.service
- Copy and paste the content below into this file:
[Unit] Description=Ride The Lightning web UI Wants=lnd.service After=lnd.service [Service] ExecStart=/usr/bin/node /chemin/vers/RTL/rtl User=<votre_user> Restart=always TimeoutSec=120 RestartSec=30 [Install] WantedBy=multi-user.target
- Replace
/path/to/RTL/rtlwith the actual path to thertlfile on your machine, and<your_user>with your Linux username. - Save and close the file.
- Reload the systemd configuration:
sudo systemctl daemon-reload
- Activate and start the RTL service:
sudo systemctl enable RTL sudo systemctl start RTL
sudo systemctl status RTL
Installation via Umbrel
- Access Interface Umbrel (usually via
http://umbrel.local) - Go to the App Store
- Search for "Ride The Lightning"
- Ride The Lightning (for LND): for use with Umbrel's default Lightning node (LND).
- Ride The Lightning (Core Lightning): use only if you have installed the Core Lightning application on Umbrel and wish to manage this node with RTL.
- Click on Install
- Download and configure RTL
- Configuring access to the Lightning node
- Manage updates
- Securing access to Interface
4. Introduction and use of Interface RTL
The main control panel
- Your total Lightning balance
- On-Chain balance available
- The breakdown of your liquidity (incoming/outgoing)
- Quick access to send and receive Satss via your Lightning node
Fund management On-Chain
- Balance display in different units (Sats, BTC, USD)
- Complete list of transactions
- Address generation Taproot (P2TR), P2SH (NP2WKH) or Bech32 (P2WKH)
- UTXO management, receiving and sending bitcoins
Lightning: detailed presentation of submenus
1. Peers/Channels
- View the list of your connected peers and Lightning channels open or waiting.
- Add a new peer (connect to another Lightning node).
- Open, close or manage existing channels.
- View details of each channel: capacity, local/remote balances, status, trading history, balance score, etc.
2. Transactions
- Send Lightning payments (via Invoice).
- Generate and manage invoices to receive payments.
- View the complete history of payments sent and received, with details (amount, date, status, charges, number of skips, etc.).
3. Routing
- Payments routed by your node for other Lightning network users.
- Routing statistics: number of transactions relayed, fees earned, errors encountered.
- Exportable history for advanced analysis.
4. Deferrals
- Detailed reports on the activity of your Lightning node.
- Charts and tables on channels, payments, fees, capacity, etc.
- Tools to better understand your node's performance.
5. Graph Lookup
- Explore the topology of the Lightning network.
- Search for specific nodes or channels.
- Obtain information on connectivity and overall network capacity.
6. Sign/Verify
- The ability to sign a message with your node's key (proof of ownership).
- Signature verification to authenticate messages from other nodes.
7. Backup
- Export channel backup file (SCB for LND).
- Restore configuration or channels if necessary.
- Tips for securing your backups.
8. Node/Network
- A complete summary of your Lightning node's status: alias, version, color, synchronization status.
- Statistics on channels (active, waiting, closed), total capacity, connectivity.
- Information about the global Lightning network and your node's position in it.
Services: Boltz Swaps
Swap Out (Reverse Submarine Swap)
- The user selects an amount to be exchanged
- The node sends a Lightning payment to Boltz
- In exchange, Boltz blocks an equivalent amount in On-Chain bitcoins
- Once the transaction has been confirmed, the user can claim the funds by revealing a secret used in the swap
Swap In (Submarine Swap)
- The user sends bitcoins to a specific address generated by Boltz
- These funds can only be released by Boltz if he pays a Lightning invoice generated by the user's node
- Once the invoice has been paid, the funds are available on the Lightning channel, increasing the node's output capacity
Configuration and customization
- Activation of unannounced channels
- Customize sale display
- Block explorer configuration
- Adjusting the Interface
Documentation and help
- Initial configuration
- Peer and channel management
- Payments and transactions
- Backups and restores
- Reports and statistics
- Signatures and verifications
- Node and application parameters
5. Advanced use cases & security
Monitoring and troubleshooting
lncli listchannels, lncli pendingchannels, etc.). RTL also offers Interface logs for monitoring routing events.Secure remote access
- VPN (e.g. Tailscale) for private, encrypted access
- Tor for secure, anonymous access
- Reverse proxy HTTPS (Nginx/Caddy) only if you know how to configure it
Good safety practices
- Protect your access: never share admin.macaroon or your RTL password. Limit permissions on sensitive files.
- Regular backups: export the channel backup file (SCB) after each modification and store it outside the node.
- Updates: keep RTL, your node and Umbrel up to date with the latest security fixes.
- Confidentiality: anonymize logs and screenshots before sharing them. Never share your balances or peer lists publicly.
- Single access: RTL is not multi-user. Do not share admin access. For read-only access, use a dedicated macaroon if necessary.
7. Conclusion
- Official RTL website: https://www.ridethelightning.info/
- GitHub RTL: https://github.com/Ride-The-Lightning/RTL
- Reddit r/lightningnetwork: r/lightningnetwork - Technical discussions, project announcements, feedback and educational resources
- Umbrel Community Forum: community.getumbrel.com - Official forum with dedicated Bitcoin/Lightning section, guides and solutions to common problems
- Lightning Network Developers: github.com/lightning - Official GitHub repository for following development and contributing source code
- Stack Exchange Bitcoin: Bitcoin.stackexchange.com - Technical Q&A with developers and advanced users
Author
This tutorial has been written by Pierre
You can say thanks by tipping the professor.
Passionate about Bitcoin and convinced that education is the key, I wish to share with you the little knowledge I have and thus contribute to the adoption of Bitcoin. Otherwise, I'm a big fan of Pink Floyd, I'm learning to code, and I make memes. Looking forward to meeting you at the next meet-up! I am the creator of the training course BTC 205 - Non-KYC Purchase Solution.
Credits
This tutorial has not been proofread yet
The original content has been translated by AI, but human review is necessary to ensure its accuracy.
4 952 sats2 476 sats1 238 satsEvery content on the platform is the result of a collaborative effort: each lesson, translation, and revision is made possible by the work of contributors. For this reason, we are always looking for proofreaders who can review our content in many languages. If you want to participate in the proofreading process, please reach out in our Telegram group and read our tutorial. We remind you that this content is open-source - licensed under CC BY-SA - so it can be freely shared and used, as long as the original source is credited.


