Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/lightning/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ On the next page, re-enter your seed phrase to verify your backup has been creat

If your phrase was correct, you will be sent back to the main Lightning page and your lightning wallet will begin syncing and setting itself up. After a few minutes, the lightning wallet should be ready and you should see a page like this.

![](/images/lightning/create-1.png)
![](/images/lightning/create-2.png)

Your lightning wallet is now setup and ready to use!

Expand Down
77 changes: 75 additions & 2 deletions docs/lightning/rtl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
# Ride the lightning (RTL)

GUI to manage lightning channels
A GUI to manage lightning channels

work in progress
## Usage

### Logging into RTL

Ride the Lightning is a Lightning wallet and node management tool accessible via a web interface, and is built into myNode.
RTL is a creation of Suheb/saubyk, and complete information can be found at [Github](https://github.com/ride-the-lightning/RTL).
The developer can be contacted via Twitter at: [@Suheb__](https://twitter.com/Suheb__) [@RTL_App](https://twitter.com/RTL_app).

You can use RTL from any browser that is able to access your myNode installation.

Once a Lightning wallet [has been created](/lightning/create) on your device, the RTL app will be available via a button on the home page.

<center>
<figure>
<img src="/images/lightning/RTL/RTL_enable_button_comp.png" alt="RTL enable button" style="width: 400px">
</figure>
</center>

After clicking the button, you will be presented with a login page. Use your myNode password to login. If you have not set your own password, the default is "bolt" and should be changed. After logging in, the main RTL page will be displayed.

Comment thread
davterra marked this conversation as resolved.
![RTL Main Page](/images/lightning/RTL/RTL_main_page_comp.png "RTL Main Page")

### Funding your BTC Wallet

In order to participate in the Lightning Network, you first need to fund your on-chain Bitcoin wallet. To do this, click on "On-chain" on the Navigation Panel on the left. Then click on the "Generate Address" button.

This will generate a new address and corresponding QR code for you to use to fund your on-chain wallet.

### Opening a Channel

To spend bitcoins on the Lightning network, one must first find peers on the network and open a channel with them. Peers can be trusted friends or complete strangers. [1ML.com](https://1ml.com/node?order=channelcount&active=true) or the myNode Telegram channel are good places to find peers.

Comment thread
davterra marked this conversation as resolved.
When you have selected another lightning node to connect to, click on "Lightning" in the RTL navigation panel, then click on "Peers/Channels". Under the "Connections" heading, find and click on "Peers" as shown:

![RTL Create Peer](/images/lightning/RTL/RTL_create_peer_comp.png "RTL Create Peer")

Click on the "Add Peer" button, then:

- Fill in the required information for your selected peer and close that window.
- Click on the "Channels" button that is right under the "Connections" heading.
- Click on the "Open Channel" button.
- Select your chosen peer, fill in the amount of Bitcoin that you wish to open the channel with, and then click on "Open Channel"
in the lower right corner of that window.

You can verify the status of the channel via the Channels page. The channel will be pending until the transaction used to open the channel is confirmed.


### Sending Bitcoin using RTL & Lightning

When your funding transaction is confirmed on the blockchain you are now ready to send Bitcoin using lightning.
You will need a payment invoice from the person you want to pay. Typically, either the payee will send you an invoice or you will copy it from a webpage.

Go to the RTL navigation pane and click on "Lightning" and then "Transactions".

![RTL Send Payment](/images/lightning/RTL/RTL_payments_comp.png "RTL Send Payment")

Click on "Send Payment" and paste your copy of the invoice in the window that opens.
All of the details of the payment should automatically be filled in.
Now, just click the "Send Payment" button and the payment should be completed within seconds!

### Receiving Bitcoin using RTL and Lightning

To receive Bitcoin in any lightning wallet, you must first establish what is called "inbound capacity".

**Tip**: When creating Lightning channels with peers, it is generally a good practice for each party to open a separate channel from two ends to have some inbound and outbound capacity for each of them.

There are many other ways to establish inbound capacity, but they are beyond the scope of this guide.
A good overview of how to establish inbound capacity can be found [here](https://gist.github.com/bretton/53bc511b6fdafef31951199dd25bbf88).

Comment thread
abhiShandy marked this conversation as resolved.
## Specs

- Github: [github.com/ride-the-lighting/RTL](https://github.com/ride-the-lighting/RTL)
- Installed location: As a Docker container with configuration files located at: `/opt/mynode/RTL`
- How to access: [http://mynode.local:3010/](http://mynode.local:3010/) or [https://mynode.local:3011](http://mynode.local:3010/)