Bitcoin and Lightning Network on Raspberry Pi

Running Nodes on Pi3, Pi4 and Pi Zero

  • Harris Brakmić

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Enter Bitcoin

    1. Front Matter
      Pages 1-1
    2. Harris Brakmić
      Pages 3-31
    3. Harris Brakmić
      Pages 33-85
    4. Harris Brakmić
      Pages 87-122
    5. Harris Brakmić
      Pages 123-138
  3. Using Bitcoin

    1. Front Matter
      Pages 139-139
    2. Harris Brakmić
      Pages 141-164
    3. Harris Brakmić
      Pages 165-199
    4. Harris Brakmić
      Pages 201-224
    5. Harris Brakmić
      Pages 225-261
  4. Using Lightning Network

    1. Front Matter
      Pages 263-263
    2. Harris Brakmić
      Pages 265-288
    3. Harris Brakmić
      Pages 289-321
    4. LND
      Harris Brakmić
      Pages 323-334
    5. Harris Brakmić
      Pages 335-347
  5. Back Matter
    Pages 349-364

About this book


Compile and run Bitcoin full nodes, lightning nodes, and user-friendly web-apps that help abstract the complexities of Bitcoin. This book not only explains the tools and techniques to help readers build their own banks and banking apps, but it also tells a story. Starting with the origins of Bitcoin—what it is and why we need it—find out what its strengths and limitations are. Understand the nature of mining and why so much energy is put into it. The blockchain itself will be reviewed, as well, and compared to other options such as a normal SQL database or a simple spreadsheet.

With this book, you can control Bitcoin wallets via RPC commands on a Raspberry Pi. Configure, compile, and run two implementation of the Lightning Network-compatible daemons: LND and c-lightning. And employ user-friendly web apps that abstract the complexities of Bitcoin/Lightning-Network.

The Internet of Information is currently transitioning to the Internet of Things, which in turn may well be followed by the Internet of Value (or Money). However, there is no evolution without happy users and Bitcoin will never reach the same heights like the original internet without having offered “useful” and “easy to use” tools. Just like nobody would ever want to use UUCP to send messages via web the same applies to current cryptocurrency tools. These are hard to use and very unforgiving. But, the evolution doesn’t stop here and many easy-to-use tools are already available. We will meet some of them when building apps for the Lightning Network, a new technology running on top of Bitcoin’s blockchain that makes it possible to generate billions of transactions within a single second.

What You'll Learn

  • Control Bitcoin wallets via console RPC commands
  • Run two implementation of the Lightning Network compatible daemons
  • Simplify the complexities of Bitcoin and the Lightning network with user-friendly web apps


bitcoin lightning network blockchain mining wallets ASIC cryptocurrencies crypto DLT dstributed ledger technology distributed networks internet of money banking

Authors and affiliations

  • Harris Brakmić
    • 1
  1. 1.TroisdorfGermany

Bibliographic information

Industry Sectors
IT & Software