Built as open source Bitcoin payment infrastructure designed for African realities!
# MeshSats: Offline-First Bitcoin Infrastructure
> **World Wide Web:** meshsats.btc (Live via GitHub Pages)
MeshSats is a sovereign, offline-first Bitcoin settlement protocol designed for the African market. It bridges the connectivity gap by allowing merchants to capture signed payment intents offline and settle them via the Lightning Network once a mesh node reaches a backbone gateway.
## 🚀 Ultimate Expert Stack (.btc)
MeshSats is a multi-language powerhouse, utilizing the specific strengths of the top Bitcoin-layer languages:
- **Go (Golang):** High-performance infrastructure for Lightning Network settlement (`backend/`).
- **Rust:** Secure protocol suite for BIP-340 Schnorr and DLC signatures (`protocols/`).
- **Python:** Expert-level blockchain analysis and liquidity modeling (`tools/`).
- **JavaScript (React):** Ultra-robust, zero-dependency interface for Safari compatibility (`frontend/`).
- **Clarity (Stacks):** Smart contracts for trust-minimized, Bitcoin-anchored logic (`contracts/`).
- **Offline-to-Online Bridge:** Securely capture payments in zero-connectivity environments.
- **Lightning Native:** Instant settlement via LN channels.
- **Expert Engineering:** Built with native support for PSBT, Schnorr, and LDK/BDK patterns.
### Premium Stack Implementation
This repository demonstrates an industry-leading approach to offline-first Bitcoin infrastructure, utilizing the best-of-breed languages for each layer.
---
## The Problem: Connectivity is the Barrier to Inclusion
In many African markets, rural communities, and urban trade hubs, internet connectivity is inconsistent, expensive, or non-existent. Traditional payment systems and even modern "lite" wallets often fail when the 3G signal drops, stalling trade and excluding millions from the digital economy.
**MeshSats solves this by treating offline as the default state, not an error.**
## What MeshSats Is
MeshSats is not another wallet app. It is **reusable financial infrastructure**. We provi …