Skip to content

Bitcoin accepted at checkout  |  Ships from Laval, QC, Canada  |  Expert support since 2016

Sovereign Stack Guide: 5-Layer Checklist for Digital Independence

Building digital sovereignty is not a single product decision — it is a five-layer project: secure your money first (Bitcoin, self-custody), then your intelligence (local AI), your communications (mesh), your identity (Nostr), and finally your energy; complete all five and you own your stack.

Every dependency in the modern digital stack has a sovereign alternative. The transition does not happen overnight, and you do not have to complete every layer before starting the next. This guide gives you a concrete first step on each layer, with a persistent checklist you can return to as you make progress. No email address required — your progress saves locally in your browser.

D-Central has operated at the intersection of Bitcoin mining, open-source hardware and self-hosted infrastructure since 2016. The stack below is the one we have built, documented and continue to expand. Every tool listed here is open-source and maintained by its own independent community — we are one node in that ecosystem, not the manufacturer of it.


Sovereign Stack Progress
0 %




1Money

Layer 1 — Money: Bitcoin and self-custody

What
Hold Bitcoin in a wallet where you control the private keys — not on an exchange, not with a custodian. Settlement on the Bitcoin network requires no bank, no government, no counterparty approval.
Why
Fiat rails (Visa, Mastercard, PayPal, SWIFT) are jurisdictional infrastructure. A single regulatory order can freeze an account, block a transfer or delist a currency. Bitcoin eliminates that chokepoint. It does not eliminate exchange-rate risk; it eliminates censorship risk — a different category entirely.

First step: Download Sparrow Wallet (desktop, open-source, built by the Bitcoin community), verify the PGP signature on the binary, and generate a fresh wallet. Write your seed phrase on paper — never photograph it. Move a small test amount from an exchange to verify the flow before moving larger amounts.
  • Installed and PGP-verified a self-custodial Bitcoin wallet (e.g. Sparrow, Electrum, or a hardware-wallet companion app)
  • Written seed phrase on paper (two copies, separate physical locations); no photos, no cloud backups
  • Received a first on-chain transaction to confirm address control
  • Evaluated a hardware wallet (e.g. Coldcard, Foundation Passport, Jade) for larger balances
  • Connected wallet to a personal Bitcoin node or electrum server for independent verification (no third-party trust)

Running your own node (Bitcoin Core or a node box built by the community such as Umbrel or Start9) means you validate every transaction and block yourself — you are not trusting anyone else’s view of the blockchain. This is the difference between using Bitcoin and verifying Bitcoin.



2Intelligence

Layer 2 — Intelligence: Local AI and open-weight models

What
Run an AI inference server on hardware you own — no API keys, no cloud subscription, no usage data sent to a US-headquartered company. Open-weight models (Llama, Mistral, DeepSeek, Qwen, Gemma) run on consumer GPUs and, at smaller parameter counts, on CPU-only hardware.
Why
In June 2026, Anthropic restricted access to its flagship Claude models for foreign nationals under a US regulatory directive. Canadian developers who had built workflows around US cloud AI services found those services offline. The risk is not theoretical — it happened. Every query sent to a cloud AI endpoint is also subject to the US CLOUD Act (18 U.S.C. §2713), which authorises US government access to data held by US companies regardless of where the servers sit.

First step: Install Ollama (open-source, built by the Ollama community), then run ollama pull llama3 to download Meta’s Llama 3 model locally. Open a browser to http://localhost:11434 and confirm inference works fully offline. Minimum hardware: 8 GB RAM for 7B-parameter models; a dedicated GPU with 8+ GB VRAM will significantly improve speed. VRAM requirements vary by quantization level — check the model card before downloading.
  • Installed a local inference runtime (e.g. Ollama, llama.cpp, LM Studio — each maintained by its own open-source community)
  • Downloaded and run at least one open-weight model (Llama 3, Mistral, DeepSeek-R1, Qwen, or Gemma) fully offline
  • Confirmed inference runs with no internet connection (disable network and re-test)
  • Assessed hardware: noted available RAM, VRAM (if GPU), and storage for larger models
  • Set up a persistent local AI endpoint for daily or team use (Open WebUI or similar)

Quebec’s Law 25 requires a privacy impact assessment before any cross-border transfer of personal information. Running inference locally is the only approach that definitively prevents the cross-border-transfer trigger — there is no data leaving your premises. Federal AI legislation (Bill C-27 / AIDA) is defunct as of June 2026; organisations cannot rely on a statutory backstop that does not exist.



3Comms

Layer 3 — Communications: Mesh networking

What
A mesh network built on LoRa (Long Range) radio hardware lets devices communicate over kilometres without cellular, internet or any licensed spectrum. The Meshtastic project (open-source, community-maintained) provides the firmware, apps and protocol for exactly this: text messaging and GPS position-sharing over LoRa, peer-to-peer, with no infrastructure dependency.
Why
Cellular networks, SMS and most messaging apps route through carriers that are subject to lawful-intercept requirements and potential government-ordered shutdown. Internet-based messaging (Signal, Telegram) depends on internet connectivity and DNS infrastructure. LoRa mesh sidesteps all of these — the signal passes directly node-to-node using unlicensed ISM band frequencies (433 MHz / 915 MHz / 868 MHz depending on jurisdiction; verify your regional band plan before operating). Note: LoRa operates on unlicensed but regulated spectrum — confirm your national authority’s ISM rules.

First step: Acquire a Meshtastic-compatible LoRa device — the LILYGO T-Beam and Heltec LoRa 32 are widely used community-tested options (available from electronics distributors; no affiliation). Flash Meshtastic firmware from flasher.meshtastic.org (the Meshtastic community’s official browser-based flasher). Install the Meshtastic app on your phone and pair via Bluetooth. Set your regional frequency band.
  • Acquired a Meshtastic-compatible LoRa device and confirmed ISM band for your region
  • Flashed Meshtastic firmware and paired with the Meshtastic mobile app
  • Sent a test message between two nodes without internet or cellular
  • Identified at least one other mesh node nearby (or set up a second node yourself)
  • Considered solar or battery backup for remote/fixed nodes to maintain uptime during grid outages

A mesh with even three or four geographically dispersed nodes can cover tens of kilometres of range (actual range varies significantly by terrain, antenna height and obstructions — test your own deployment rather than relying on theoretical maximums). Each additional node that joins extends the mesh for everyone. The Meshtastic community maintains a global map of public nodes at meshtastic.liamcottle.net.



4Identity

Layer 4 — Identity: Nostr and self-sovereign publishing

What
Nostr (Notes and Other Stuff Transmitted by Relays) is a cryptographic identity and publishing protocol. Your identity is a public/private key pair you generate yourself — there is no company that can delete your account, no platform that can silence you, no server that owns your social graph. Messages (events) are signed with your private key and published to relays you choose.
Why
Every mainstream social platform (X, Facebook, LinkedIn, YouTube) can suspend, shadowban or delete an account unilaterally. Nostr identity is cryptographic — no one can take your keys. No relay controls your identity; if one relay goes offline or censors content, you publish to another. Your followers follow your public key, not an account on a platform. This is the closest thing to a censorship-resistant identity layer the internet currently has.

First step: Generate a Nostr key pair at keys.band (client-side, open-source; keys never leave your browser). Copy both your public key (npub…) and private key (nsec…). Store the nsec offline — written on paper, in a hardware key manager, or in a password manager that does not sync to US-controlled cloud. Then open Primal or Iris and log in with your public key to explore the network.
  • Generated a Nostr key pair; nsec stored securely offline
  • Logged into at least one Nostr client (Primal, Damus, Amethyst, Iris) and published a first note
  • Configured at least two independent Nostr relays in your client settings
  • Backed up public key (npub) in a place you can share; verified you can restore access from nsec alone
  • Explored a NIP-05 identifier (Nostr address like user@domain) for a human-readable identity anchored to a domain you control

Your Nostr identity also connects to the Bitcoin Lightning network via the Zaps feature (NIP-57): anyone who finds your content useful can send you satoshis directly, no payment processor, no 2–3% cut. This is the native monetization model for a sovereign publishing stack.



5Energy

Layer 5 — Energy: Sovereign power

What
Energy sovereignty means owning or controlling the power source that runs your critical systems — at minimum a battery backup for your node and router; optimally, generation capacity (solar, micro-hydro, wind) that keeps critical loads running during grid outages. For Bitcoiners, it extends further: Bitcoin mining is a flexible load that can monetize excess generation and make the economics of renewable investment work at smaller scale.
Why
Every other layer in this stack — your Bitcoin node, your local AI server, your mesh nodes, your Nostr relay — needs power. If the grid goes down and you have no backup, your sovereign stack goes dark with it. Energy is the physical substrate of digital sovereignty. Canada is uniquely positioned here: Quebec, Manitoba and BC all have abundant, inexpensive hydroelectric power. D-Central has published detailed per-province rate data.

First step: Identify your critical loads — your Bitcoin node, router, mesh nodes and local AI server — and calculate their total wattage. A 12V/100Ah LiFePO4 battery bank with a 200W solar panel can run a Raspberry Pi node + LoRa mesh node for days without grid input. This is achievable under CAD $500 in parts (prices vary; get current quotes from local suppliers). Start small, verify runtime, then scale.
  • Audited wattage of all sovereign-stack critical loads (node, router, mesh, AI server)
  • Implemented a minimum viable UPS or battery backup for the highest-priority load
  • Checked local net-metering / feed-in tariff rules (varies by province and utility; verify with your utility directly)
  • Estimated solar generation potential for your location (Canada’s NRCan PV calculator is a useful starting point)
  • Explored Bitcoin mining as a flexible load to absorb excess solar or off-peak grid power and offset infrastructure costs

Bitcoin mining and sovereign energy have a natural relationship: a miner runs as a flexible load, consuming power when it is abundant and cheap, backing off when it is expensive. The heat output of an ASIC can be recaptured for space heating — at D-Central’s latitude (Montreal), this can meaningfully offset winter heating costs. This is not a theory; it is how home miners across Canada have been operating for years.



Sovereign stack at a glance

Layer Dependency replaced Open-source technology Minimum viable start
1 — Money USD rails, Visa/MC, PayPal, exchange custody Bitcoin (Bitcoin Core, Sparrow Wallet, Electrum) Self-custodial wallet + hardware wallet
2 — Intelligence OpenAI, Anthropic, Google cloud AI APIs Open-weight LLMs via Ollama / llama.cpp (Llama 3, Mistral, DeepSeek, Qwen, Gemma) 8 GB RAM machine running Ollama offline
3 — Comms Cellular, SMS, internet-based messaging Meshtastic / LoRa mesh (community firmware) Two Meshtastic nodes + Meshtastic mobile app
4 — Identity Twitter/X, Facebook, LinkedIn accounts Nostr protocol (Primal, Damus, Amethyst, Iris clients) Key pair generated offline + two relays configured
5 — Energy Grid-only dependency for critical infrastructure Solar + LiFePO4, Bitcoin mining as flexible load UPS/battery backup for node + router; solar assessment

Note: “Open-source technology” credits the independent communities that built and maintain each tool. D-Central builds on this foundation — we are not the originators of Bitcoin Core, Meshtastic, Nostr, Ollama, or open-weight model research. We stand on the shoulders of these communities.



Frequently asked questions

Do I need to complete all five layers to get value from the sovereign stack?

No. Each layer is independently valuable. Starting with Layer 1 (self-custody) alone removes custodial risk on your Bitcoin holdings. Starting with Layer 2 (local LLM) alone eliminates cloud-AI data exposure and reduces API costs. Layers do not depend on each other — start where your highest risk or highest motivation is, then add layers as your capacity allows.

How much does it cost to set up the sovereign stack?

Costs vary significantly by hardware choices and location. As rough orientation (not guarantees — verify current pricing): a self-custodial wallet is free software; a hardware wallet (Coldcard, Foundation Passport, or Jade) typically runs CAD $120–250 (check current manufacturer prices). A local LLM setup reuses existing hardware if you have a machine with 8+ GB RAM; dedicated AI inference hardware ranges from a few hundred to several thousand CAD depending on VRAM. Meshtastic nodes are typically CAD $30–80 per device. Nostr setup costs nothing. A starter solar/battery backup for critical loads is highly variable by configuration. Get current supplier quotes — this guide does not publish prices.

Is running a local LLM as capable as using ChatGPT or Claude?

On most common tasks — summarization, drafting, coding assistance, Q&A — recent open-weight models (Llama 3, Mistral, DeepSeek, Qwen) perform comparably to GPT-3.5-class cloud models and approach GPT-4-class performance on many benchmarks. On highly specialized or frontier tasks, the largest closed-weight cloud models still have advantages. The relevant question is not “which is better in a benchmark” but “which one stays available when a regulatory change happens.” The June 2026 Anthropic access restriction is a concrete, recent example of cloud AI service disruption. Local models are immune to that class of risk.

Is LoRa / Meshtastic legal to operate in Canada?

LoRa hardware operating on ISM band frequencies (915 MHz in Canada, which falls under Innovation, Science and Economic Development Canada’s Radio Standards Specification RSS-210 / RSS-GEN) can generally be operated without a licence at specified power limits. However, regulations change and specific power limits, duty cycles and antenna gain restrictions apply. You should verify the current rules with ISED Canada before deploying, particularly for fixed or high-gain antenna installations. This page does not constitute legal or regulatory advice.

What is DCENT_OS and how does it fit into the sovereign stack?

DCENT_OS is D-Central’s open-source (GPL-3.0) firmware for ASIC mining hardware, currently in closed beta with a public beta expected in summer 2026. It is designed to give operators deeper control over their mining hardware — complementing, not replacing, the established open-source firmware ecosystem (Braiins OS+, VNish, LuxOS) that the broader community has built. In the sovereign stack context, DCENT_OS sits at the energy layer: more precise control over ASIC power draw means better integration with flexible-load / solar-mining setups. It is not available for general download yet; see the DCENT_OS documentation for current status.

How does Bitcoin mining connect to energy sovereignty?

Bitcoin mining is one of the only industrial loads that can be switched on and off in seconds with no production penalty. This makes it a natural match for variable renewable generation: run the miner when solar output exceeds household demand; reduce or stop when the grid is stressed. The economics depend on your local electricity rate, your hardware efficiency, and the current Bitcoin price — all of which change. D-Central publishes a mining profitability calculator and Canada electricity rates by province to help you model your specific situation. Treat any output as an estimate and verify current rates directly with your utility.