SpawnDev.Swarm
0.2.0
Prefix Reserved
See the version list below for details.
dotnet add package SpawnDev.Swarm --version 0.2.0
NuGet\Install-Package SpawnDev.Swarm -Version 0.2.0
<PackageReference Include="SpawnDev.Swarm" Version="0.2.0" />
<PackageVersion Include="SpawnDev.Swarm" Version="0.2.0" />
<PackageReference Include="SpawnDev.Swarm" />
paket add SpawnDev.Swarm --version 0.2.0
#r "nuget: SpawnDev.Swarm, 0.2.0"
#:package SpawnDev.Swarm@0.2.0
#addin nuget:?package=SpawnDev.Swarm&version=0.2.0
#tool nuget:?package=SpawnDev.Swarm&version=0.2.0
SpawnDev.Swarm
Membership, identity, authority and transport for a swarm of trusted devices on WebRTC - browser and desktop .NET from one codebase.
- Devices are enrolled by the swarm owner (QR pairing), and every connection proves it holds an enrolled key, bound to that connection's DTLS fingerprints.
- Roles come from an owner-signed registry and are checked on every message.
- A term-numbered lease decides who coordinates; partitions heal deterministically.
- Framed control messages and chunked bulk payloads with flow control, with no copies through the .NET heap.
Status: spec for review. See Plans/PLAN-Swarm.md.
Used by SpawnDev.Hive (model-level hive) and SpawnDev.ILGPU.P2P (kernel-level distributed compute). Built on SpawnDev.RTC.
License
MIT. See LICENSE.txt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SpawnDev.RTC (>= 2.5.0)
- SpawnDev.SpawnJS.Cryptography (>= 2.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v0.2.0 - BREAKING: does not interoperate with 0.1.0 (handshake version 2; the whole hive upgrades together). Session heartbeat: a crashed peer is closed PeerUnresponsive in ~6 s instead of ICE's ~17.5 s (default 6 missed 1 s beats, sized from a measured background browser tab; desktop-only hives can set 3). Relaying for a partial mesh (SwarmRelayer) with bounded registry sync, and leases through relays (SwarmCoordinator.UseRelay). One role table for service types. A failed handshake or pairing closes the whole connection. On SpawnDev.SpawnJS.Cryptography 2.1.5. v0.1.0 - First release. Owner-signed registry with root rotation; a handshake bound to the verified DTLS fingerprints; authenticated sessions (per-channel Seq, fragmentation, one authorization gate, revocation close, credit flow control, goodbye); QR pairing with a commit-before-reveal 6-digit code; SwarmConnector over a WebTorrent tracker; term-and-lease coordinator (SwarmCoordinator). Browser and desktop .NET.