RaMiX
Build your own "DIY" Bitcoin & Lightning node, and other stuff on a Raspberry Pi. No need to trust anyone else.
Attention!! This guide is in the WIP (work in progress) state and hasn't been tested yet. Many steps may be incorrect. Pay special attention to the "Status: Not tested on RaMiX" tag at the beginning of the guides. Be careful and act behind your responsibility.

What is the RaMiX?
With this guide, you can set up a Bitcoin, Lightning node, and other stuff on a Raspberry Pi, doing everything yourself. You will learn about Linux, Bitcoin, Lightning, and much more.
There are many reasons why you should run your own Bitcoin node:
👥 Keep Bitcoin decentralized: use your node to help enforce your Bitcoin consensus rules.
🗽 Take back your sovereignty: let your node validate your Bitcoin transactions. No need to ask someone else to tell you what's happening in the Bitcoin network.
🥷🏽 Improve your privacy: connect your wallets to your node so you no longer need to reveal your financial history to external servers.
⚡️ Be part of Lightning: run your Lightning node for everyday payments and help build a robust and decentralized Lightning network.
RaMiX overview
This guide explains setting up your Bitcoin node on a Raspberry Pi. However, it works on most hardware platforms because it only uses standard Debian-based Linux commands.
Features
Your Bitcoin node will offer the following functionality:
🟠 Bitcoin: direct and trustless participation in the Bitcoin peer-to-peer network, full validation of blocks and transactions
⚛️ Electrum server: connect your compatible wallets (including hardware wallets) to your node
⛓️ Blockchain Explorer: web-based Explorer to privately look up transactions, blocks, and more
⚡ Lightning: full client with stable long-term channels and web-based and mobile-based management interfaces
🔋 Always on: services are constantly synced and available 24/7
🌐 Reachable from anywhere: connect to all your services through the Tor network and Wireguard VPN
Target audience
Structure
We aim to keep the core of this guide well-maintained and up-to-date:

🟠 ₿itcoin
Sync your own Bitcoin full node, Electrum server, Blockchain Explorer, and connect a desktop wallet to the Electrum server

Run your Lightning client with web-based node management, connect a mobile app, and save safely your SCB backup

The bonus section contains more specific guides that build on top of the main section. More fun, lots of knowledge, but with lesser maintenance guarantees. Everything is optional.
Community
Feel free to join the many other contributors if you see something that can be improved!
Resources
Free services
Use a signing app (Sparrow Wallet or Electrum Wallet desktop) to connect
Fulcrum - mainnet (🧅onion):
Fulcrum - testnet4 (🧅onion):
BTC RPC Explorer - mainnet (🚾clearnet):
Temporary not accessible from EE.UU, Austria, Singapore, or Germany
👉 CLICK to access: https://explorer.minibolt.info 👈
BTC RPC Explorer - mainnet (🧅onion - Use Tor browser):
Accessible from anywhere
Hockeypuck OpenPGP Public Keyserver (🚾clearnet):
👉 CLICK to access: https://keyserver.minibolt.info 👈
Hockeypuck OpenPGP Public Keyserver (🧅onion - use Tor browser):
Rating
All guides are rated with labels to help you assess their difficulty and whether they are tested against the most recent version of the main guide.
Difficulty: indicates how difficult the bonus guide is in terms of installation procedure or usage
Difficulty: Easy
Difficulty: Medium
Difficulty: Hard
Cost: indicates if the service used in the guide is free or paid
Cost: Paid service
Status: indicates if the guide has been tested on a RaMiX environment or not
Status: Not tested on RaMiX
Port reference
🖥️ SYSTEM
22
Default SSH server
9050
Default Tor SOCKS
9051
Default Tor control
7656
Default I2P SAM proxy
7070
Default I2Pd web console HTTP
7071
I2Pd web console HTTPS
🟠 ₿ITCOIN
8332
Default Bitcoin Core RPC
8333
Default Bitcoin Core P2P
8334
Default Bitcoin Core P2P Tor
50001
Fulcrum TCP
50002
Fulcrum SSL
8000
Fulcrum Admin
3002
Default BTC RPC Explorer HTTP
4000
BTC RPC Explorer HTTPS
⚡ LIGHTNING
9735
Default LND P2P
10009
Default LND gRPC
9911
Default LND Watchtower server
3001
Default ThunderHub HTTP
4002
ThunderHub HTTPS
8080
LND REST
➕ BONUS GUIDES
5432
Default PostgreSQL relational DB
51820
Default WireGuard VPN
Random
Random Cloudflared
<TODO1>
obfs4 bridge OR port
<TODO2>
obfs4 port
9001
OR port Guard/Middle relay
9052
Tor obfs4 bridge control port
9053
Tor Guard/Middle relay control port
50021
Electrs TCP
50022
Electrs SSL
48333
Default Bitcoin Core P2P Testnet4
48334
Default Bitcoin Core P2P Testnet4 Tor secondary
48332
Default Bitcoin Core RPC Testnet4
40001
Fulcrum Testnet4 TCP
40002
Fulcrum Testnet4 SSL
40021
Electrs Testnet4 TCP
40022
Electrs Testnet4 SSL
24444
Default NBXplorer
23000
Default BTCPay Server
8880
Default Nostr relay
8090
Default Alby Hub HTTP
3003
Alby Hub SSL HTTPS
4040
Public Pool HTTPS
23334
Default Public Pool API
23333
Default Stratum
Last updated



