# Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership

- **Series**: Rings 1.0 Unified Whitepaper
- **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111)
- **Web Reader**: https://rings.rs/papers/rings/
- **PDF Download**: https://rings.rs/papers/rings.pdf (639 KB, 22 pages)
- **LaTeX Source**: https://github.com/RingsNetwork/rings/blob/master/papers/rings.tex

## Abstract

Rings is an implemented algebraic structured peer-to-peer network for decentralized identity, resource ownership, transport, storage, privacy, and application protocols. Application servers, DNS authorities, and relay providers in conventional Internet deployments frequently become trusted bottlenecks for naming, routing, and user state. Rings instead models identities and resources as algebraic objects over a CorrectChord circular overlay \(\mathbb{Z}/2^{160}\mathbb{Z}\), pairing browser WebAssembly and native runtimes over WebRTC/SCTP while keeping all cryptographic operations on carriers disjoint from the routing identifier ring. This paper unifies the core algebraic design with six production subsystems implemented in Rings 1.0: range-proved finger convergence, non-transitive WebRTC Chord routing and single-hop bridge delegation, conflict-free replicated data types (CRDTs) with HLC removal stability and Merkle data provenance, crash-durable local stores and age-gated replicated relay custody, cleanest-first slot accounting across shared node tables, and Sphinx/AEZ-v5 onion Kleisli pipelines bridging counterparty-signed service receipts to DRanking 2.0. We evaluate the Rust implementation empirically on real hardware and summarize exhaustive Stateright/BFS verification across \(9,496,521\) reachable finite states (\(9.50\times 10^6\)) and 54 refuted safety mutants. Core object: \(\mathsf{Rings}=(R,\mathcal{R}_N,\mathbf{Set}/R,\Omega_N,\mathsf{T}^{\mathcal{E}}_A,\Pi,\mathbb{G},\mathcal{X})\) with \(R=\mathbb{Z}/2^{160}\mathbb{Z}\), \(\Omega_N(X,H)=(X,\operatorname{owner}_N\circ H)\), and \(\mathsf{CryptoCarrier}\cap R=\varnothing\).

## Outline

## I Introduction
## II Problem Statement and Design Goals
## III Algebraic System Model, Threat Model, and Effects
### III-A Carrier, System Scope, and Threat Model
### III-B Architecture as Interfaces
### III-C Category and Effect Monad
## IV Chord Implementation — PeerRing and Overlay Routing
### IV-A Base Chord and CorrectChord Maintenance
### IV-B Range-Proved Finger Convergence
### IV-C Non-Transitive WebRTC Overlay and Bridge-Delegated Delivery
## V CRDT Storage and Removal Stability
### V-A DID, VID, and Replicated Entry Algebra
### V-B Carrier State, HLC Timestamps, and Cryptographic Data Provenance
### V-C Removal Stability Horizon, Factored Carrier, and Tombstone Bounds
### V-D Fetch Cache Linearization and Signed Lease Heartbeats
## VI Durable Local Stores and Replicated Custody
### VI-A Authority Lattice, Presence Markers, and Platform Crash Durability
### VI-B Group Commit and Link-Local Volatile Replay Windows
### VI-C Receiver Custody Set and Age-Gated Replicated Relay Custody
## VII Fair Admission, Slot Accounting, and Load Bounds
### VII-A Cleanest-First Slot Roster and Fair Slot Accounting
### VII-B Replay Stream Eviction and Credit Reclaim
### VII-C Single-Charge Chunk Reassembly and Per-Category Barrier
## VIII Privacy Layer — Cryptographic Carriers and Sphinx Onion Kleisli Pipeline
### VIII-A Separate Cryptographic Carriers
### VIII-B Operation Signature and Kleisli Pipeline Composition
### VIII-C Client-Sealed Loops, Uniform Sphinx Header, and AEZ v5 Carry
### VIII-D SURB Batching, Cover Loops, Replay Admission, and Security Laws
## IX Decentralized Trust and Ranking — DRanking Bridge
### IX-A Sidecar Witness Ordering
### IX-B Counterparty-Signed Service Receipts and the DRanking 2.0 Bridge
### IX-C Security Predicates and Controls
## X Evaluations and Formal Verification
### X-A Experimental Setup and Reproducibility
### X-B Stateright State Relation and Quantitative Formal Verification
### X-C Overlay Convergence and Non-Transitive WebRTC Routing
### X-D CRDT Carrier Operations, Provenance, and LeaseHeartbeats
### X-E Durable Local Store and Group Commit (put*)
### X-F Sybil-Resistant Slot Accounting and Admission Latency
### X-G Sphinx/AEZ v5 Onion Pipeline, Sliced-Bloom, and Gateway Throughput
### X-H Analytical and Operational Complexity Bounds
### X-I Limitations and Threats to Validity
## XI Related Work
## XII Conclusion
## References

## Citation (BibTeX)

```bibtex
@techreport{rings-whitepaper-2026,
  author      = {Ryan J. Kung},
  title       = {Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership},
  institution = {Rings Network},
  year        = {2026},
  url         = {https://rings.rs/papers/rings/},
  note        = {PDF: https://rings.rs/papers/rings.pdf}
}
```
