bitcoindinstalled, synced on mainnet, and running as a daemon.
bitcoin.conffile has ZMQ publishing turned on.
lndinstance first make sure your remote
lnd.conffile contains the following additional configuration settings:
~/.lnd/data/chain/bitcoin/mainnetdirectory on your remote machine to
/some/folder/with/lnd/data/on your local machine (where you’ll be running LiT):
~/.lit/lit.conffile means you do not need to type in the command line arguments every time you start the server. Make sure you don't add any section headers (the lines starting with [ and ending with ], for example [Application Options]) as these don't work with the additional levels of sub configurations.
lit.conffile into your terminal, and fill in the placeholders with your specific information.
lndinstance is running, it's time to get LiT!
faradayfor that matter) is available through the web UI, it will still be necessary to interact with those daemons through the command line.
lndmode all other LiT components (
faradayand the UI server) listen on the same port (
443in this example) and use the same TLS certificate (
~/.lit/tls.certin this example), some command line calls now need some extra options that weren't necessary before.
--networkflag and the
--macaroonpathare implied by looking inside the default directories for that network. Or you specify the
--macaroonpathflags explicitly, then you must not set the
--networkflag. Otherwise, you will get an error like
[lncli] could not load global options: unable to read macaroon path (check the network setting!): open /home/<user>/.lnd/data/chain/bitcoin/testnet/admin.macaroon: no such file or directory
lnclicommands in the "remote" mode are the same as if
lndwas running standalone on a remote host. We need to specify all flags explicitly.
loopdalso runs on the same port as the UI server. That's why we have to both specify the
host:portas well as the TLS certificate of LiT. But
loopdverifies its own macaroon, so we have to specify that one from the
pooldalso runs on the same port as the UI server and we have to specify the
host:portand the TLS certificate of LiT but use the macaroon from the