diff --git a/.gitignore b/.gitignore
index 09c52607..3a3b5fb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,12 +37,9 @@ testem.log
.DS_Store
Thumbs.db
-RTL.conf
/logs/*
/cookies/*
-RTL-Multi-Node-Conf.json
-RTL-Multi-Node-Conf-1.json
+RTL-Config.json
/backup/*
cookies
-sample-RTL-SSO.conf
.env
diff --git a/README.md b/README.md
index db31ed00..2a11b7af 100644
--- a/README.md
+++ b/README.md
@@ -71,46 +71,53 @@ $ git pull
$ npm install --only=prod
```
### Prep for Execution
-RTL requires its own config file `RTL.conf`, to start the server and provide user authentication on the app.
+RTL requires its own config file `RTL-Config.json`, to start the server and provide user authentication on the app.
*Advanced users can refer to [this page](docs/Multi-Node-setup.md), for config settings required to manage multiple nodes*
-* Rename `sample-RTL.conf` file to `RTL.conf`.
+* Rename `sample-RTL-Config.json` file to `RTL-Config.json`.
* Locate the complete path of the readable macroon file (admin.macroon) on your node and the lnd.conf file.
-* Modify the `RTL.conf` file per the example file below
+* Modify the `RTL-Config.json` file per the example file below
-Example RTL.conf:
+Example RTL-Config.json:
```
-[Authentication]
-macaroonPath=C:\Users\\AppData\Local\Lnd\data\chain\bitcoin\testnet
-nodeAuthType=CUSTOM
-lndConfigPath=C:\Users\\AppData\Local\Lnd\lnd.conf
-rtlPass=***
-
-[SSO]
-rtlSSO=0
-rtlCookiePath=C:\RTL\cookies\auth.cookie
-logoutRedirectLink=/login
-
-[Settings]
-userPersona=OPERATOR
-themeMode=DAY
-themeColor=PURPLE
-channelBackupPath=C:\Users\shaha\backup\node-0
-bitcoindConfigPath=C:/Bitcoin/bitcoin.conf
-enableLogging=true
-port=3000
-lndServerUrl=https://192.168.1.16:8080/v1
-fiatConversion=false
+{
+ "multiPass": "password",
+ "port": "3000",
+ "defaultNodeIndex": 1,
+ "SSO": {
+ "rtlSSO": 0,
+ "rtlCookiePath": "",
+ "logoutRedirectLink": ""
+ },
+ "nodes": [
+ {
+ "index": 1,
+ "lnNode": "LND Testnet",
+ "lnImplementation": "LND",
+ "Authentication": {
+ "macaroonPath": "",
+ "configPath": ""
+ },
+ "Settings": {
+ "userPersona": "OPERATOR",
+ "themeMode": "DAY",
+ "themeColor": "PURPLE",
+ "channelBackupPath": "C:\\RTL\\backup\\node-1",
+ "bitcoindConfigPath": "",
+ "enableLogging": true,
+ "fiatConversion": false,
+ "lnServerUrl": "` in the [Authentication] section of RTL.conf
+Specific password must be provided in RTL-Config.json (in plain text) for authentication. Password should be set with `multiPass:` in the `Authentication` section of RTL-Config.json. Default initial password is `password`.
### Start the Server
Run the following command:
diff --git a/angular/index.html b/angular/index.html
index 33ec6442..e33e4778 100644
--- a/angular/index.html
+++ b/angular/index.html
@@ -12,5 +12,5 @@
-
+