Get your own Bitcoin & Lightning Node running - on a RaspberryPi with a nice LCD
Go to file
Christian Rotzoll 60ccaa8dd5
site structure
2018-07-17 13:47:45 +02:00
home.admin added scripts 2018-07-17 13:12:03 +02:00
images upload images 2018-07-14 14:33:18 +02:00
README.md site structure 2018-07-17 13:47:45 +02:00

RaspiBlitz

Fastest and cheapest way to get your own Lightning Node running - on a RaspberryPi with a nice LCD.

RaspiBlitz

This tutorial is based on the RaspiBolt project - you can find in detail here: https://github.com/Stadicus/guides/blob/master/raspibolt The RaspiBlitz serves as a shortcut through this setup process with some changes and an additional LCD display so that you can quickly experiment with a Lightning node and start working on your LApps on a hacking event (or at home). This shortcut is fine for testnet usage and maybe trying some small things on mainnet. But if you choose to go full reckless afterwards … please consider taking the time and work thru the original RaspiBolt project. Dont trust us, verify.

Table of Contents

  • [ Hardware ] Shopping Lists and Putting all together
  • [ Setup ] Init and Setup your RaspiBlitz Lightning Node
  • [ Documentation ] Features and Usecases
  • [ Education ] Tutorials with the RaspiBlitz to learn about Lightning
  • [ Development ] Lets work together on the RaspiBlitz

Hardware Needed (Amazon Shopping List)

The RaspiBlitz software is build and tested for the following Hardware set that you can buy cheap on Amazon.de:

Total Price: 127,31 EUR (thats under 150 USD)

Amazon shopping lists for different countries: [ USA ] [ UK ]

Optional Hardware

Some optional goodies to consider to add to your shopping list for your RaspiBlitz:

If you organizing an educational event where you want to support people learning on and with multiple RaspiBlitz, here is a package list of useful hardware to have at that event: [ Event Package List ]

Prepare your Hardware

There are two ways to start:

Scenario 1: “At a Hackathon/Event”

If you are at an event, ask for a ready-2-go set or if you have your own hardware ask for assistance to prepare your SD-Card and HDD. Then you are all set and and you can proceed with "SetUp your RaspiBlitz".

Scenario 2 “Start at Home”

You got all the hardware of the shopping list above and you have no further assistence. Then you need to prepare your SD-Card yourself .. this scenario is still experimental, feedback needed and can take some time.

  1. Download SD-Card image with a bittorrent client: https://wiki.fulmo.org/downloads/raspiblitz-2018-07-13.torrent or try this HTTP-Link for direct download: http://wiki.fulmo.org/downloads/raspiblitz-2018-07-13.img.gz
  2. Write the SD-Card image to your SD Card - if you need details, see here: https://www.raspberrypi.org/documentation/installation/installing-images/

SetUp your RaspiBlitz

Connect all hardware like on photo and boot it up by connecting the power.

HardwareSetup

When everything boots up correctly, you should see the local IP address of your RaspiBlitz on the LCD panel. So open up a terminal and connect thru SSH:

ssh admin@[IP] → use password → raspiBlitzA

Now follow the dialoge in your terminal. This can take some time (prepare some coffee) - but in the end you should have a running Lightning node on your RaspberryPi that you can start to learn and hack on --> see Chapter "Your First Lightning Transaction"

Documentation

Setup Process

The goal is, that all information needed is provided from the interaction with the RaspiBlitz itself during the setup. Documentation in this chapter is for background, comments for educators and help in special edge cases.

Getting the Blockchain

If you want to use the option “COPY” to sync the Blockchain you can simply use the HDD of another RaspiBlitz or you preapre a HDD yourself by:

  • format second HDD with exFAT (availbale on Windows and Mac)
  • copy an indexed Blockchain into the root folder "bitcoin"
  • when youre HDD is ready the content of your folder bitcoin should look like this:

BitcoinFolderData

To connect the 2nd HDD to the RaspiBlitz, the use of a Y cable to provide extra power is recommended (see optional shopping list). Because the RaspiBlitz cannot run 2 HDDs without extra power. For extra power you can use a battery pack, like in this picture:

ExtraPower

Features

TODO

Educatiuonal Tutorials

TODO: Once the SetUp Process is done, the learning and building should begin ... educational content should be added on sub pages in the future - at least "Your first Lightning Transaction"

Further Development of RaspiBlitz

TODO: Documentation of how to improve and extend the RaspiBlitz together"