Raspberry Pi Zero
The big computer that fits in your hand
Last updated
Was this helpful?
The big computer that fits in your hand
Last updated
Was this helpful?
Alby Hub on a Raspberry Pi Zero is surprisingly powerful! đ We've seen it handle 100 payments in just 30 seconds without any issues. Truly impressive! âĄ
In this guide, you are going to build a super small lightning network node using the cheapest (but strong) hardware that can be purchased by almost anyone. âĄ
This guide is intentend for Raspberry Pi Zero models ONLY. Other Raspberry pi architectures will not work and there will be problems. At the moment If you want to run on arch64 it is recommended at the moment to use the docker setup.
â ī¸ Warning
This guide and the installation of Alby Hub on this device are experimental. This means we may encounter bugs that cannot be easily or quickly resolved.
If you still want to try this guide, please ensure you have a backup of your Alby Hub unlock password. Additionally, one of the first steps upon accessing the hub should be to backup your 12-word keys.
Before we begin, you are going to need the following things:
A windows or mac or linux computer
Raspberry Pi Zero 2W (you can use other Raspberry pi models!)
Mobile phone charger wih miniUSB connection (to charge the Raspberry pi Zero 2W)
SD memory card (at least 32gb)
Adapter SD card to USB (to plug it on your computer and download the OS)
On "General," set the hostname as "albyhub.local" (the .local is already set, just write "albyhub").
Set "albyhub" as the username, and choose a strong password.
For wireless LAN, enter the name of your Wi-Fi network as SSID and enter its password.
On "Services," enable SSH.
The Raspberry Pi Zero will turn on automatically as soon as you plug it in. If it is the Raspberry Pi Zero 2W, a mobile phone charger with a micro USB connection will suffice.
The Raspberry Pi Zero will automatically install the content of the SD card, but we won't see anything. We will need to wait for 5 minutes. Meanwhile, you can open a Terminal (Windows, Mac, or Linux terminalâthey all work). Terminals won't sting you đ. You won't have to write anything; just copy and paste.
If you see a ping result as shown in the image below, you can continue to step 9.b.
You will be asked to type the word "yes"; type it. Then, you will be asked to enter your password. Enter the password you chose in step 5 for the username "albyhub."
Your Alby hub is now running on a device that fits in your hand. How awesome is that? đ
After setting up your password (choose a good one), we need to OAuth with your Alby web account.
This is a self-hosted, self-mounted sovereign micro node, so... "Why do I have to connect with an Alby web account?" For the moment we did not have enough time to separate this build from the Alby Cloud offering. OAuth with our Alby web accounts will be completely optional in the future.
If you are not sure what to do now that everything is up and running, please go to the initial setup of your Alby hub and wallet. There, you will open your first channel and also make an NWC connection to a wallet interface.
Thank you for stopping by! This section was created with contributions from Roland, Moritz & Jean-Paul
Once the terminal has finished and a message appears saying "Installation finished, please visit ," don't go or click yet. Wait another 5 minutes (it won't work immediately, so just wait a little bit longer).
One of our users, , made a special 3D printed casing for the Raspy Zero 2W. The design is Also Open Source, feel free to it, copy it, modify it and use it for your own Raspy Zero 2W Alby đĨ°
3. Save and exit nano (Ctrl + X)
4. run sudo systemctl daemon-reload
5. Run the normal update script from the