These resources are written by Freedom Lab members. Join our Freedom Lab server to be a part of the community and receive support directly.

ResourcesBitcoin Node · Getting Started

Bitcoin Node · Getting Started

Class Bitcoin Self-hosting

Audience: Beginner–intermediate

Duration: 90–121 min (see timing in Agenda)

Outcomes: By the end, students will:

Hands-on Bitcoin node setup on a workbench

Abstract

Running a Bitcoin node means operating Bitcoin's rules yourself. Your machine downloads the entire blockchain, verifies every transaction, and enforces the consensus rules—like the 21 million BTC cap—so you decide what counts as Bitcoin. With a node you gain monetary sovereignty, unlock self-custodial Lightning and other apps, protect your privacy, and help keep the network decentralized by relaying honest data and rejecting invalid blocks.

Concept Primer (10–15 min)

What is a node?

A Bitcoin node is your personal referee for the network:

Node types

Advanced technical summary

Why run your own node?

TL;DR: You enforce the rules, verify your money, and unlock self-custodial services.

Sovereignty & trustlessness

Self-custodial Lightning & apps

Privacy

Security

Help the network stay honest

Game theory & governance

Agenda (suggested timing)

  1. Concepts & motivation (15)
  2. Hardware prep (10)
  3. Flash StartOS & boot (20)
  4. Initial setup & CA trust (15)
  5. Install services (Core/Knots, electrs) & connect Sparrow (20)
  6. Hands‑on send/receive & mempool (15)
  7. Q&A / Troubleshooting (5–10)

Prerequisites (tell students ahead)

Instructor prep

Hardware Prep (if using a dedicated mini‑PC) (10 min)

  1. Power down; open the case.
  2. Install the SSD/NVMe (e.g., 2TB) in the M.2 slot; secure the screw.
  3. Reassemble and connect Ethernet (preferred) or be ready with a display/keyboard.

If repurposing an existing machine, plan for a fresh install. Keep blockchain data on the internal drive if space allows; otherwise run pruned.

Flash StartOS (20 min)

You'll need: a USB drive (≥8GB), a laptop, and Balena Etcher.

  1. Download StartOS ISO (verify you use the current stable release):
  2. Download Etcher: https://etcher.balena.io/
  3. Flash the USB:
    • Open Etcher → Flash from file → select the StartOS ISO → select target USB → Flash → wait for completion.

Boot the node from USB

Initial Setup & Trusting the CA (15 min)

  1. Connect the node to your LAN (Ethernet recommended).
  2. From a laptop on the same Wi‑Fi or LAN network as the node, visit http://start.local (or use the IP address if mDNS isn't resolving).
  3. Click Reinstall (for fresh setup) if prompted, then set an owner password.
  4. Download the Certificate Authority (CA) bundle when prompted.
  5. Install/Trust the CA on your laptop so your browser will trust the node's HTTPS:
  6. After trusting the CA, reconnect to your node's .local hostname or its .onion URL via Tor (as documented by Start9).

If start.local doesn't resolve, check Bonjour/mDNS support or navigate via the device's LAN IP.

Install Services: Bitcoin Core/Knots, electrs, Sparrow (20–25 min)

Inside StartOS:

  1. Install Bitcoin Core or Bitcoin Knots. Start the service and begin initial block download (IBD). Choose pruned if disk is limited.
  2. Install electrs (Electrum server) and point it at your Core/Knots instance.
  3. On your laptop, install Sparrow Wallet (https://sparrowwallet.com/) and configure ServerType: Electrum → host = your node (LAN IP/hostname or Tor, with the correct port). Save and test connection.

Notes

Hands‑On: Send/Receive & Inspect (15 min)

  1. In Sparrow, create or import a test wallet; write down the seed offline.
  2. Receive a small amount (1–5k sats) from instructor treasury; label the transaction.
  3. Inspect the mempool and confirmations using your own node (and compare with a public explorer): https://mempool.space/
  4. Send a small amount back; discuss fees (sats/vB), mempool backlog, and confirmation targets.

Safety checklist

Troubleshooting

Homework / Further Study

Reference Links

Instructor Notes