LNCLI (Self Host)
Access the LNCLI command line tool and remotely access your Voltage node on your local machine. We have instructions on Bash based platforms Linux/Mac. If you are using Windows, we encourage you to seek direct assistance from Lightning Labs on their community support page at lightningcommunity.slack.com.
First, download your admin.macaroon from your node's Macaroon Bakery. Put the admin.macaroon file on the same machine as the machine you are going to be accessing lncli with and take note of the directory you save it to.
Ensure you have dependencies installed. Copy paste the following commands:
Linux(Ubuntu/Debian x86-64): sudo apt install git
For mac, do brew install git
Next, we need to install GO:
The final output of the command above should be
7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d
If it isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install this version of Go. If it matches, then proceed to install Go:
Great, next we need to install LND.
Next we have to connect LNCLI to the bash path:
Now we can try getinfo and see if the connection is working:
If you see no errors, you are connected to your node! You can now instead of getinfo, can use -help and that will show you a list of RPC calls available.
Click here for the full LND installation documentation.
If you need assistance with this please let us know on Discord or at our Support page.