How ravendevteam/betanet works
Project type and purpose
• This repository contains only a normative specification (README.md) for “Betanet v1.1,” a fully decentralized, censorship-resistant network replacing the public Internet.
• There is no code here—this is a protocol specification detailing seven layers (L0–L7), cryptographic requirements, transport protocols, mesh overlay, privacy, naming, payments, and governance.
Specification’s structure
• Top-level sections mirror the layered network model:
• Layer 0 (Access media)
• Layer 1 (Path selection & routing via SCION + HTX-tunnel)
• Layer 2 (Cover transport “HTX” over TLS+QUIC)
• Layer 3 (Overlay mesh with libp2p-v2, DHT, bitswap)
• Layer 4 (Optional mixnet privacy hop)
• Layer 5 (Naming & trust via self-certifying IDs and 2-of-3 alias ledger)
• Layer 6 (Payments via federated Cashu & Lightning)
• Layer 7 (Applications + governance)
• Each section describes subcomponents (e.g., TLS handshake, Noise XK inner handshake, bootstrap discovery, mixnode selection, alias finalization on 3 blockchains, voucher format, governance quorum).
README for additional insights
• Cryptographic primitives and exact handshake/frame formats are specified in §§2,4,5.
Essential architectural elements
• Do not decompose into trivial low-level details—use the seven layers as primary components.
• Within each layer, show key subcomponents (e.g., TLS + Noise XK in L2, DHT + bitswap in L3).
• Cross-layer interactions (e.g., governance metrics feed from HTX uptime, payment vouchers flow through HTX and overlay).