Lightning Network & Bitcoin Nodes

0 of 9 lessons complete (0%)

Setting Up Your Bitcoin Node Step by Step

Setting up a bitcoin node at home is one of the most empowering things you can do as a Bitcoin user. In the previous two lessons, you learned why running your own node matters and compared the major node platforms. Now it’s time to actually build and configure your node. This guide walks you through the complete process of how to set up a bitcoin node, from unboxing hardware to connecting your wallet.

The steps below are written to be platform-agnostic — they apply whether you choose Umbrel, Start9, RaspiBlitz, or myNode. Where steps differ between platforms, we note the specific differences. We use Umbrel on a Raspberry Pi 5 as the primary example because it’s the most common setup for first-time node operators, but the general process is the same across all platforms.

Setting Up Your Bitcoin Node

The entire setup process breaks down into six stages: gathering hardware, flashing the operating system, performing the initial boot, waiting for the blockchain to sync, installing Bitcoin and Lightning, and connecting your personal wallet. Most of the hands-on work takes about 30-60 minutes. The blockchain sync runs unattended for several days.

If you run into problems at any point, the troubleshooting section at the end of this lesson covers the most common issues. You can also refer to our guide on running Bitcoin nodes at home for additional context on hardware decisions and network configuration.

What You’ll Need

Before you start, gather all the hardware and accessories. Having everything ready before you begin prevents frustration from missing components.

Required Hardware

Component Recommended Minimum Approx. Cost
Computer Raspberry Pi 5 (8 GB) or Intel NUC Raspberry Pi 4 (4 GB) $60–$300
Storage 2 TB NVMe SSD 1 TB SSD (USB 3.0 or NVMe) $60–$150
MicroSD Card 32 GB Class 10 or better 16 GB $8–$15
Power Supply Official RPi 5 USB-C (5V/5A) USB-C 5V/3A $10–$15
Ethernet Cable Cat 6 (any length) Cat 5e $5–$10
Case (optional) Argon ONE or Flirc case with passive cooling Any RPi case with ventilation $15–$30

Total estimated budget: $200–$400 depending on whether you choose a Raspberry Pi or a mini-PC, and whether you opt for 1 TB or 2 TB of storage.

Important Hardware Notes

  • Use an SSD, not an HDD. A mechanical hard drive will cause the Initial Block Download to take weeks instead of days, and the node may struggle to stay synced with new blocks. An SSD is non-negotiable for a functional node in 2026
  • Use Ethernet, not WiFi. A wired connection provides the consistent, reliable bandwidth your node needs. WiFi can cause sync interruptions and connection drops that slow down the IBD and may cause issues with Lightning channels
  • NVMe is faster than USB SSD. If your device supports NVMe (Raspberry Pi 5 via HAT, or any mini-PC), use an NVMe drive for significantly faster blockchain sync times. USB 3.0 SSDs work fine but are slower
  • Use the official power supply. Underpowering a Raspberry Pi causes random crashes and SD card corruption. The Raspberry Pi 5 specifically requires a 5V/5A power supply — standard phone chargers are not sufficient

Software You’ll Need on Your Regular Computer

  • Balena Etcher or Raspberry Pi Imager — free software for flashing the OS image to the microSD card
  • A web browser (any modern browser works — Chrome, Firefox, Safari, Brave)
  • The operating system image for your chosen platform (download from the official website)

Step 1: Flash the Operating System

The first hands-on step is writing the node operating system to your microSD card. This process is identical regardless of which platform you choose — only the downloaded image file differs.

Download the OS Image

Go to the official website of your chosen platform and download the latest OS image:

  • Umbrel: Download umbrelOS from umbrel.com — select the image for your hardware (Raspberry Pi or x86)
  • Start9: Download StartOS from start9.com — available for Raspberry Pi and x86
  • RaspiBlitz: Download from the RaspiBlitz GitHub releases page — select the Raspberry Pi image
  • myNode: Download from mynodebtc.com — select Community or Premium edition

Verify the download. Each platform provides SHA-256 checksums or GPG signatures for their images. Verifying the download ensures you haven’t received a tampered file. This step is optional but recommended, especially if you are downloading over a public network.

Flash the Image

  1. Insert your microSD card into your computer (use a USB adapter if needed)
  2. Open Balena Etcher or Raspberry Pi Imager
  3. Select the downloaded OS image file
  4. Select your microSD card as the target drive — double-check this to avoid overwriting the wrong drive
  5. Click “Flash” and wait for the process to complete (usually 5-15 minutes)
  6. Safely eject the microSD card when finished

If you are using a mini-PC instead of a Raspberry Pi, you may flash the image directly to the SSD instead of a microSD card, depending on the platform’s installation instructions.

Step 2: Initial Boot and Configuration

With the OS flashed, it’s time to assemble the hardware and boot up your node for the first time.

Assemble the Hardware

  1. Insert the microSD card into the Raspberry Pi’s microSD slot
  2. Connect the SSD (via USB 3.0 port or NVMe HAT, depending on your setup)
  3. Connect the Ethernet cable from your Raspberry Pi to your router
  4. Do not connect the power supply yet

First Boot

  1. Connect the power supply to the Raspberry Pi. It will boot automatically
  2. Wait 2-5 minutes for the initial boot process to complete. The device needs time to expand the filesystem, configure the SSD, and start its services
  3. On your regular computer (connected to the same network), open a web browser
  4. Navigate to the dashboard URL:
    • Umbrel: http://umbrel.local
    • Start9: http://start9.local (or the .onion address shown during setup)
    • RaspiBlitz: Check your router’s connected devices list for the IP address, or try http://raspiblitz.local
    • myNode: http://mynode.local
  5. If the .local address doesn’t work, find your Pi’s IP address in your router’s admin panel (usually under “Connected Devices” or “DHCP Clients”) and navigate to http://[IP-ADDRESS]

Initial Setup Wizard

Each platform presents a setup wizard on first access. The specifics vary, but you will typically:

  • Create an admin username and password — use a strong, unique password and store it securely
  • Configure basic settings (timezone, network preferences)
  • On Start9, you’ll receive a .onion address for Tor access — save this
  • On RaspiBlitz, you’ll choose between LND and Core Lightning during setup

Once the wizard completes, you’ll see the main dashboard. Your node is now running, but it hasn’t downloaded the blockchain yet.

Step 3: Wait for the Initial Block Download

The Initial Block Download (IBD) is the longest part of the setup process. Your node will download and independently verify every block in Bitcoin’s history — from the genesis block in January 2009 to the present. This is the verification step that makes a full node fundamentally different from a light client.

What to Expect

  • Raspberry Pi 4 with USB SSD: 5-7 days
  • Raspberry Pi 5 with NVMe SSD: 2-4 days
  • Mini-PC (Intel NUC or similar) with NVMe: 12-48 hours

The speed depends primarily on three factors: your storage drive speed (NVMe > SATA SSD > USB SSD >> HDD), your available RAM (more RAM = faster verification), and your internet connection speed (for the initial download).

During the IBD

  • Do not interrupt the process. Let the node run continuously. Power outages or manual restarts will slow things down, as the node needs to verify its state and resume from a safe checkpoint
  • Monitor progress through the web dashboard. Most platforms show a percentage or block height progress indicator
  • Internet usage: The IBD will download approximately 600+ GB of data. If you have a data cap, make sure you have enough headroom. After the initial sync, ongoing bandwidth usage is modest (10-20 GB per month)
  • Temperature: The Raspberry Pi may run warm during IBD because the CPU is working hard to verify cryptographic signatures. Ensure adequate ventilation. A case with passive cooling helps

The IBD is a one-time process. Once your node is fully synced, it only needs to download and verify new blocks as they are mined (approximately one every 10 minutes, each roughly 1-4 MB).

Step 4: Install Bitcoin and Lightning

On most node platforms, Bitcoin Core is either pre-installed or available as a one-click install from the app store. Lightning requires a separate installation step.

Bitcoin Core

On Umbrel and myNode, Bitcoin Core begins syncing automatically after the initial setup. No additional installation is needed. On Start9 and RaspiBlitz, you may need to explicitly install Bitcoin Core from the app marketplace — it’s a single click or command.

Once Bitcoin Core is installed and synced, your node is fully operational as a Bitcoin full node. It is verifying transactions, relaying blocks, and contributing to the network. The next step — Lightning — is optional but recommended.

Lightning Network

To use the Lightning Network from your own node (which gives you the same privacy and sovereignty benefits for Lightning payments that your full node provides for on-chain transactions), install a Lightning implementation:

  1. Install LND or Core Lightning from your platform’s app store. LND (Lightning Network Daemon) is the most widely used implementation and has the best wallet and management tool support. Core Lightning (formerly c-lightning) is a lighter alternative preferred by some advanced users
  2. Create a Lightning wallet. The Lightning app will generate a new wallet and provide you with a seed phrase. Write this seed phrase down on paper and store it securely. This seed backs up your Lightning on-chain funds (but see the note below about channel backups)
  3. Fund your Lightning wallet. Send a small amount of on-chain bitcoin to your Lightning wallet address. Start with a modest amount — 100,000 to 500,000 sats is plenty for your first channel
  4. Open your first channel. Connect to a well-known, well-connected Lightning node and open a payment channel. Good first peers include ACINQ, WalletOfSatoshi, and other routing nodes with high uptime. Start with a small channel (200,000-500,000 sats) while you learn how channel management works

We cover Lightning node operation in detail in Lesson 4.8: Running a Lightning Node.

Additional Recommended Apps

Most node platforms offer additional apps that enhance your node experience:

  • Electrs or Fulcrum — An Electrum protocol server that lets you connect Electrum, Sparrow, and other wallets to your node
  • Mempool — A self-hosted block explorer and mempool visualizer (the same software that powers mempool.space)
  • Thunderhub or Ride The Lightning (RTL) — Web-based Lightning node management tools with more detailed controls than the default dashboards
  • BTC Pay Server — A self-hosted payment processor if you want to accept Bitcoin payments for a business

Step 5: Connect Your Wallet to Your Node

Running a node provides full benefits only when your personal wallets connect to it instead of to third-party servers. This is the step that actually gives you the privacy and verification advantages discussed in Lesson 4.5.

Desktop Wallets

Sparrow Wallet (recommended for most users):

  1. Open Sparrow Wallet on your computer
  2. Go to File > Preferences > Server
  3. Select “Private Electrum Server”
  4. Enter your node’s Electrum server address (found in the Electrs or Fulcrum app settings on your node dashboard). This is typically your node’s local IP address followed by port 50001, or a .onion address for remote access over Tor
  5. Click “Test Connection” to verify, then “Close”
  6. Sparrow will now validate all transactions through your own node

Electrum Wallet:

  1. Open Electrum
  2. Go to Tools > Network
  3. Uncheck “Select server automatically”
  4. Enter your node’s Electrum server address and port
  5. The green dot in the bottom-right corner confirms connection to your server

Mobile Wallets

Zeus (recommended for Lightning on mobile):

  1. Install Zeus from your app store
  2. On your node dashboard, find the LND connection settings (most platforms have a “Connect Wallet” option that generates a QR code)
  3. In Zeus, go to Settings > Add a new node
  4. Scan the QR code from your node dashboard
  5. Zeus connects to your LND node over Tor, giving you full Lightning wallet functionality on your phone backed by your own node

BlueWallet (for on-chain):

  1. BlueWallet can connect to your node’s Electrum server for on-chain transaction verification
  2. Go to Settings > Network > Electrum Server
  3. Enter your node’s Electrum server .onion address (for remote access) or local IP

Step 6: Secure and Maintain Your Node

Your node is now operational and your wallets are connected. The final step is ensuring long-term security and reliability.

Enable Tor for Remote Access

If you want to access your node dashboard or connect wallets when you’re away from your home network, Tor provides a secure way to do this without exposing your node to the public internet. Most platforms offer a one-click Tor toggle in settings. Once enabled, you’ll receive a .onion address that works as a secure, private URL for your node.

Backup Your Lightning Channels

Lightning channel data is not recoverable from just a seed phrase. If your node’s storage fails and you lose your channel database, you could lose funds locked in open channels. To protect against this:

  • Enable Static Channel Backup (SCB) — most platforms handle this automatically, saving backups to the microSD card or a connected USB drive
  • Some platforms support automatic cloud-encrypted backups (Start9’s backup system is particularly robust)
  • Periodically export a manual backup of your channel state and store it off-device

Keep Your Node Updated

Node platforms release updates that include security patches, performance improvements, and new features. On Umbrel, updates are applied automatically. On other platforms, check for updates periodically through the dashboard and apply them manually.

When Bitcoin Core itself releases a major update, your node platform will incorporate it into their next release. There is usually a testing period before node platforms ship new Bitcoin Core versions, so you may be running a version that is one or two minor releases behind the latest Bitcoin Core — this is normal and intentional.

Monitor Disk Space

The Bitcoin blockchain grows by approximately 50-80 GB per year. If you started with a 1 TB drive, you have several years of headroom as of 2026, but keep an eye on available space through your dashboard. If space becomes tight, you have two options: switch to a pruned node configuration, or upgrade to a larger SSD.

Common Setup Issues and Solutions

Even with well-designed node platforms, you may encounter issues during setup. Here are the most common problems and their solutions.

IBD Stalling or Extremely Slow

Symptoms: Sync progress stops moving, or advances very slowly (less than 1% per day on reasonable hardware).

Solutions:

  • Check your SSD. If you’re using an HDD or a slow USB drive, this is the most likely cause. An SSD is required for reasonable sync times
  • Check RAM and swap. On a Raspberry Pi 4 with 4 GB RAM, the IBD can be slow during the 2017-2020 era blocks (which contain larger transactions). Increasing swap space to 4-8 GB on the SSD can help. On most node platforms, swap is configured automatically
  • Check for thermal throttling. Touch the Raspberry Pi — if it’s uncomfortably hot, it may be throttling. Improve ventilation or add a heatsink/fan
  • Check your internet. Run a speed test. The IBD requires downloading 600+ GB, so very slow connections will bottleneck the process

Cannot Access the Dashboard

Symptoms: Typing http://umbrel.local (or equivalent) in your browser shows “site can’t be reached.”

Solutions:

  • Wait longer. The first boot can take 5-10 minutes. If you just plugged in the device, give it time
  • Try the IP address directly. Log into your router’s admin panel, find the device in the connected clients list, and navigate to its IP address directly (e.g., http://192.168.1.45)
  • Check the Ethernet connection. Make sure the Ethernet cable is firmly seated in both the Pi and your router. Look for link lights on both ends
  • Check the microSD card. If the Pi’s LED blinks in a specific pattern (usually red-only, no green activity), the SD card may not have been flashed correctly. Reflash the image and try again
  • Try a different browser or device. Some browsers or DNS configurations can interfere with .local hostname resolution

Lightning Channel Issues

Symptoms: Channels failing to open, channels force-closing unexpectedly, or routing failures.

Solutions:

  • Wait for the blockchain to fully sync. Lightning will not work correctly until Bitcoin Core is 100% synced. Make sure the IBD is complete before opening channels
  • Start with well-connected peers. Opening your first channel to a major routing node significantly improves your connectivity to the broader Lightning Network
  • Use adequate channel sizes. Very small channels (under 100,000 sats) have limited routing utility and may cost more in fees to open and close than they’re worth. Start with at least 200,000 sats per channel
  • Keep your node online. Lightning requires your node to be reachable. Extended downtime can cause channel partners to force-close channels. If you can’t keep the node running 24/7, Lightning may not be practical for you yet

Power Supply Issues

Symptoms: Random restarts, filesystem corruption, inability to boot.

Solutions:

  • Use the official power supply. Underpowering a Raspberry Pi causes instability that manifests as random crashes. The Pi 5 requires 5V/5A — most USB-C phone chargers only provide 5V/3A
  • Consider a UPS. A small uninterruptible power supply ($30-50) protects against power outages that can corrupt the filesystem, especially the microSD card
  • Check the SD card. If the card has been corrupted by a power failure, you may need to reflash it. This won’t affect blockchain data stored on the SSD

Key Takeaways

  • A complete bitcoin node setup requires a Raspberry Pi 5 or mini-PC, a 1-2 TB SSD, and an Ethernet connection — total budget of $200-$400
  • The setup process takes about 30-60 minutes of hands-on time, plus 2-7 days for the Initial Block Download to complete unattended
  • Flashing the OS to a microSD card and booting the device is the same process regardless of which platform you choose
  • Always use an SSD (not HDD), Ethernet (not WiFi), and the official power supply — these three decisions prevent the majority of setup problems
  • After the blockchain syncs, connect your personal wallets (Sparrow, Electrum, Zeus) to your node for full privacy and verification benefits
  • Backup your Lightning channel state separately from your seed phrase — channel data is not recoverable from the seed alone
  • Keep your node online 24/7 if running Lightning, and monitor disk space as the blockchain grows over time

Frequently Asked Questions

How to set up a bitcoin node on a Raspberry Pi if I’ve never used one before?

The process requires no prior Raspberry Pi experience. You don’t need to know Linux or the command line. Flash the OS image to a microSD card using Balena Etcher (a visual, point-and-click tool), insert it into the Pi, connect Ethernet and SSD, and plug in power. Everything else happens through a web browser on your regular computer. If you can set up a home router, you can set up a Bitcoin node on a Raspberry Pi.

How to set up Umbrel specifically?

Download umbrelOS from the official website. Flash it to a microSD card. Insert the card into your Raspberry Pi, connect the SSD and Ethernet, and power on. After 2-5 minutes, open http://umbrel.local in your browser. Create a password, and Umbrel will begin syncing the blockchain automatically. Bitcoin Core comes pre-installed — you just need to wait for the sync to complete. To add Lightning, open the Umbrel app store and install LND with one click. The Umbrel review covers the full feature set.

Can I set up a node without buying new hardware?

Yes. If you have an old laptop or desktop computer with at least 4 GB of RAM and can attach a 1 TB+ SSD, you can install any of the node platforms on it. Umbrel and Start9 both offer x86 images that run on standard PCs. You can also run Bitcoin Core directly on any Windows, macOS, or Linux machine without a node platform. The trade-off is that dedicated hardware allows 24/7 operation, which is necessary for Lightning and optimal for network contribution.

What if I don’t have unlimited internet?

The Initial Block Download uses approximately 600+ GB of data. After that, ongoing usage is 10-20 GB per month. If you have a data cap, check that you have enough allowance for the IBD. Some users with metered connections perform the IBD at a friend’s house or office with unlimited internet, then move the node home. You can also use a pruned node to reduce ongoing storage and bandwidth requirements.

Should I buy a pre-built node or build my own?

Pre-built nodes from companies like Start9 ($599+) and various Umbrel hardware sellers offer convenience — everything arrives assembled and pre-configured. Building your own from a Raspberry Pi and SSD costs $200-$300 and requires 30-60 minutes of assembly and setup. For most users, building your own is straightforward and saves money. Pre-built options make sense if you strongly prefer a plug-and-play experience or want professional-grade hardware.

Is a Raspberry Pi 4 still good enough in 2026?

A Raspberry Pi 4 with 4 GB RAM and an SSD still works as a Bitcoin and Lightning node in 2026. However, the IBD takes longer (5-7 days vs 2-4 days on a Pi 5), and the device runs closer to its performance limits. If you’re buying new hardware, the Raspberry Pi 5 (8 GB) is the better investment. If you already own a Pi 4, it will serve you well — especially with a fast SSD and adequate swap space. For specific hardware considerations, see our guide to running your own Bitcoin node.

Search on Knowing Bitcoin