Lightning Nodes
Node Guides
LNCLI (Replit)
8min
there may be a time when you will need to access direct control of your node through the lncli command line for that, we have developed a replit tool to allow you to easily access this control to your voltage hosted lnd node follow the steps below to quickly access this tooling step 1 visit this link to access the lncli replit page step 2 to create a replit account, click on 'log in' or 'start building' in the upper right corner of the page if you are not already logged in if you need to create an account, make sure to choose the free starter replit account during the setup process step 3 after logging in, click the green fork button next, click fork repl step 4 on the next page, click secrets on the bottom left tools menu step 5 on your voltage node dashboard find your node api endpoint in the node details information panel and click copy in the node hostname box on replit, paste it in an add 10009 to the end for example, it would be mynodename m voltageapp io 10009 step 6 to get your macaroon hex information from your voltage node dashboard click manage access click macaroon bakery click the dropdown under "copy" for the admin macaroon select hex enter your node password when prompted paste into the macaroon hex value box on replit be sure to click the blue add secret button for each field when the two secrets are pasted in step 7 click the big green run button at the top of the page step 8 now you can enter lncli commands in the console try entering lncli getinfo as your first command if it shows information about your node, you have successfully connected! you can use lncli h to see a list of commands if you experience any difficult or have any questions, you can always contact us at https //voltage cloud/support or on our discord server at https //voltage cloud/discord disclaimer your access credential (admin macaroon) is decrypted when the environment is active when the environment is closed or inactive, your access credentials are encrypted in replit's secure secret environment be sure to log out or close the browser when you are done