© Harris Brakmić 2019
H. BrakmićBitcoin and Lightning Network on Raspberry Pihttps://doi.org/10.1007/978-1-4842-5522-3_11

11. LND

Harris Brakmić1 
Troisdorf, Germany

In this chapter we will learn how to use LND,1 an implementation of the BOLT specification written in Go.2 LND is compatible to c-lightning, and everything we have learned so far can be applied on it as well.


To compile LND we will have first to download and set up our Go development environment. As LND needs a version of Go that’s not available in the official Raspbian apt packages, we will download a precompiled binary package and extract it manually. The package should be downloaded in the $HOME directory of the current user. Although this book can’t teach you much about ...

Get Bitcoin and Lightning Network on Raspberry Pi: Running Nodes on Pi3, Pi4 and Pi Zero now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.