Closed jonnylangefeld closed 3 years ago
Hey! Thanks for reporting this. We use environment variables to config RTL so it's normal the keys you found are not visible in the config file.
In fact, I just checked the configuration and I've set the wrong path for the Loop macaroon.
I will do some testing and this will likely be fixed in a next update.
I installed ride-the-lightning (RTL) via the app store and wanted to try out the loop feature. Under lightning -> loop I saw the following error: After a bit of investigation I found out that RTL needs a
node.authentication
key in theRTL-Config.json
file. However, after exec'ing into theride-the-lightning_web_1
docker container, I saw that this key isn't there:According to the RTL readme it sounds like the
node.authentication
key should look something like this:I found the
admin.macaroon
file under this path inside the RTL web container:/lnd/data/chain/bitcoin/testnet/admin.macaroon
. But theloop.macaroon
file was nowhere to be found. It looks like the docker-compose file for the app is supposed to configure theswapMacaroonPath
here. The path there ultimately resolves to this path of the repository, and there is noloops
direcotry.Hope this analysis helps to quickly resolve the error about missing macaroon data!