Which is the lightest Lightning Network node setup?

Layers

Start the Lightning Network Node

Steps:

  • Install docker and docker-compose(there are plenty of online resource on how to do this for every major OS)
  • Save the below file and name it docker-compose.yaml
docker-compose.yaml
  • Open a command line and go to the folder where the docker-compose.yaml was downloaded
  • Run docker-compose up -d to start your Lightning Network Node
  • To see the logs run docker-compose logs -f

Lightning Network Client

Steps:

  • Get the Container ID by running docker ps. Choose the Container ID corresponding to the lnd-prod name.
CONTAINER ID   IMAGE                                  NAMES
83fbf550a52b lightninglabs/lnd:v0.12.0-beta.rc6 lnd-prod
  • Use docker to execute lncli commands. For example:
    docker exec -t 83fbf550a52b /bin/lncli create
    Of course, replace 83fbf550a52b with your own Container ID
  • Check the Lightning Network Node state by running:
    docker exec -t 83fbf550a52b /bin/lncli getinfo
{
"version": "0.12.0-beta.rc6 commit=v0.12.0-beta.rc6",
...
"synced_to_chain": true,
"synced_to_graph": true,
"testnet": false,
"chains": [
{
"chain": "bitcoin",
"network": "mainnet"
}
],
...
}

Neutrino

--

--

--

I'm trying to understand this stuff myself

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vlad Stan

Vlad Stan

I'm trying to understand this stuff myself

More from Medium

Panther Money Integrates Chainlink Price Feeds to Support Prediction Markets on Harmony

Lightning Infrastructure — API’s used to build Lightning Apps “LApps”

Transcript of the Ampleforth office hours on 30.11.2021

Anchor Protocol Degenbox Strategy (DYOR):