-
Notifications
You must be signed in to change notification settings - Fork 53
RTL first draft with images #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.7 KB
docs/.vuepress/public/images/lightning/RTL/RTL_enable_button_comp.png
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
|
|
||
|  | ||
|
|
||
| ### 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. | ||
|
|
||
|
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: | ||
|
|
||
|  | ||
|
|
||
| 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". | ||
|
|
||
|  | ||
|
|
||
| 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). | ||
|
|
||
|
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/) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.