2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-11 13:10:41 +00:00
RTL/docs/RTL_setups.md
ShahanaFarooqui a980d9c3fa
Release 0.7.1 (#340)
* Peers And Channels Redesign (#294)
* Send payment without confirmation
* Removed vulnerabilities & added missing 2FAuth button
* Invoice Redesign with invoice info modal opening
* Firefox Payment Failure Issue #283 (#309)
* On chain redesign (#315)
* Bug fix #312 Bogus warning about unsecure connection (#316)
* Peer Channels Redesign #290 (#317)
* CLT transactions redesign #290 (#319)
* CLT On-chain redesign #290 (#320)
* Wallet error alert bug fix #298 & #299 (#321)
* Configurable server host #303 (#322)
* Receive tab on top #292 (#323)
* Settings Layout Cleanup (#325)
* Alias Autocomplete (#326)
* Redirect to Dashboard after first RTL login
* Bug fix Channel Uptime wrong #284 (#329)
* Channel info redesigned Issue #328 (#331)
* Fixed Transaction Info Scroll #324 (#333)
* Remove macaroon info before logging #306
* Added Peer Alias for Closed And Pending Channels Tabs #275 & #285 (#336)
* Show multiple URIs on show pubkey modal #337 (#338)
2020-05-03 15:52:38 -04:00

2.3 KiB

Documenting the different RTL setups and the corresponding config tweaks

RTL Server+LND running on the same device

For this type of setup, just follow the instructions on the readme

RTL Server and LND running on different devices (Local LAN)

If your running RTL and LND on different devices on your local LAN, certain config changes need to be made in LND and RTL conf files.

  1. A static IP address must be assigned to the device running LND
  2. admin.macaroon file must be transferred to the device on which you need to run RTL
  3. Add to your lnd.conf file under the [Application Options] section: restlisten=<ip address of the device running LND>:8080
  4. Restart LND
  5. Make the following changes to the RTL-Config.json file
{
  "multiPass": "<password in plain text, Default 'password'>",
  "port": "3000",
  "host": "localhost",
  "defaultNodeIndex": 1,
  "SSO": {
    "rtlSSO": 0,
    "rtlCookiePath": "",
    "logoutRedirectLink": ""
  },
  "nodes": [
    {
      "index": 1,
      "lnNode": "LND Testnet",
      "lnImplementation": "LND",
      "Authentication": {
        "macaroonPath": "<Path of the folder containing 'admin.macaroon' on the device running RTL>",
        "configPath": "<Optional:Path of the lnd.conf if present locally or empty>"
      },
      "Settings": {
        "userPersona": "OPERATOR",
        "themeMode": "DAY",
        "themeColor": "PURPLE",
        "channelBackupPath": "<RTL Root path + \backup\node-1>",
        "bitcoindConfigPath": "<Optional: path of bitcoind.conf path if available locally>",
        "enableLogging": false,
        "fiatConversion": false,
        "lnServerUrl": "<https://<ip-address-of-device-running-lnd>:8080/v1; e.g. https://192.168.0.1:8080/v1>",
        "swapServerUrl": "<http://<localhost>:8081/v1>",        
      }
    }
  ]
}
  1. Restart RTL
  2. Access RTL by opening your browser at the following address: http://localhost:3000

RTL and LND running on different devices (with LND running on an external network or a cloud service)

In case you need to run RTL with an external node, you need to ensure that RTL is served on https, by running it behind a webserver like nginx encrypted with your letsencrypt certificate.

A sample SSL setup guide can be found here