// Bitcoin & Payments · built through Btechs

Sovereign Wallet

One noncustodial wallet for beginners and Lightning power users.

Status Public demoBuilt Oct 2026 – Nov 2026Org BtechsRole Founder & Technical Lead
Sovereign Wallet desktop dashboard showing total balance split across on-chain, Lightning spendable, locked, and receivable funds, with quick actions for Loop and liquidity
Live demo — the desktop app replaying litd responses recorded on regtest. Fake funds; nothing is sent.

Overview

Sovereign Wallet serves two audiences without compromising either. Everyday mode keeps keys on the device and routes Lightning through an Ark-based swap service; advanced mode drives a full Lightning Terminal (litd) node — channels, Loop swaps, Pool, Taproot Assets. Each engine declares its capabilities behind one contract, and the payment engine records every intent before it dispatches so a crash can never lose track of money.

The problem

Bitcoin users choose between simple wallets that hide everything and Lightning node tooling that demands a terminal — and mixing the two risks mixing up funds.

My contribution

  • Founder and product owner: defined the two-mode product and the rule that the engines are never merged.
  • Led the architecture and integration — capability contract, payment engine, litd and Wavelength adapters — built through reviewed, agent-assisted pull requests.
  • Owned release readiness: recovery drills, regtest verification of real Loop swaps, and the signing and release plan.

Architecture

How it fits together

  • A pnpm TypeScript monorepo. A shared capability contract sits in front of two isolated engines: Ark (Wavelength) for everyday use and litd/LND over gRPC for advanced users.
  • The payment engine writes each intent to an encrypted SQLite store (SQLCipher or OS keyring) before dispatch, then reconciles on restart — crash-safe by construction.
  • Front ends: a Tauri 2 desktop app that runs daemons as sidecars, a React Native mobile app that reaches a remote node over Lightning Node Connect, a web demo, and a Storybook catalog.

Technology

TypeScriptLightning (litd / LND)ArkTauri 2React NativeSQLCipher

Capabilities & validation

Implemented capabilities

  • Provider capability contract with a crash-safe payment engine
  • Advanced mode over litd: channels, Loop, Pool, Taproot Assets, Faraday
  • Liquidity manager with AutoLoop budgets and quotes
  • Desktop sidecar lifecycle for the Wavelength daemon
  • Recovery drills and a Docker regtest harness (bitcoind, two LND nodes, litd)
  • Quantum-exposure view showing which funds already have public keys visible on-chain

Validation & evidence

  • 110 Vitest test files (unit, fuzz, and integration) plus Playwright end-to-end tests for desktop
  • Four CI workflows, including real Loop In and Loop Out swaps verified on regtest
  • Five release-blocking recovery drills recorded in the repository's test results
  • Public demos: the advanced desktop app replaying real litd responses recorded on regtest, and everyday mode on a simulated Ark client — fake funds, nothing is sent
  • Honest status: builds are not yet signed for distribution

Sources for this page

  • README and product capability matrix sovereign-wallet/README.md, docs/PRODUCT_CAPABILITY_MATRIX.md
  • Payment engine and capability contract sovereign-wallet/packages/
  • Recovery drill results sovereign-wallet/docs/TEST_RESULTS.md
  • CI workflows sovereign-wallet/.github/workflows/