NostrNet.Relay
0.1.0-preview8
dotnet add package NostrNet.Relay --version 0.1.0-preview8
NuGet\Install-Package NostrNet.Relay -Version 0.1.0-preview8
<PackageReference Include="NostrNet.Relay" Version="0.1.0-preview8" />
<PackageVersion Include="NostrNet.Relay" Version="0.1.0-preview8" />
<PackageReference Include="NostrNet.Relay" />
paket add NostrNet.Relay --version 0.1.0-preview8
#r "nuget: NostrNet.Relay, 0.1.0-preview8"
#:package NostrNet.Relay@0.1.0-preview8
#addin nuget:?package=NostrNet.Relay&version=0.1.0-preview8&prerelease
#tool nuget:?package=NostrNet.Relay&version=0.1.0-preview8&prerelease
<p align="center"> <img src="https://raw.githubusercontent.com/Galaxoid-Labs/NostrNet/main/logo.png" alt="NostrNet" width="320" /> </p>
NostrNet.Relay
WebSocket relay client for the NostrNet
.NET 10 Nostr client library: RelayClient, RelayPool, Filter (with
local-side Filter.Matches(NostrEvent) for stores), NIP-11 (relay
information document) and NIP-05 (DNS-based identifier verification)
helpers.
Also contains the local event-store abstraction in
NostrNet.Relay.Storage:
INostrEventStore— interface for a local Nostr event store (dedup, NIP-01 replaceable / addressable upsert, NIP-09 deletion tombstones, NIP-40 expiration, NIP-01 ephemeral fan-out, snapshot- reactive queries).
MemoryEventStore— bounded in-memory implementation, the default for apps that don't need persistence yet.
Most apps don't reference this package directly — install
NostrNet.Client which
pulls Relay in transitively along with a higher-level façade and the
generic typed-access extensions (store.ObserveAsync<Profile>()).
See the main project README for usage.
| 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
- NBitcoin.Secp256k1 (>= 4.0.0)
- NostrNet.Core (>= 0.1.0-preview8)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on NostrNet.Relay:
| Package | Downloads |
|---|---|
|
NostrNet.Client
Cross-platform .NET Nostr client library: keys, events, NIP-19, NIP-44 v2, NIP-17 DMs, relay client. |
|
|
NostrNet.Marmot
Marmot protocol (MLS-over-Nostr) wire envelope. Provides the Nostr-layer event kinds, TLS codec, and Marmot Group Data extension. MLS itself is pluggable via IMarmotMlsProvider. |
|
|
NostrNet.Blossom
Blossom protocol (https://github.com/hzrd149/blossom) — typed Nostr events (NIP-B7 kind-10063 user server list) plus HTTP client primitives for upload / download / list / delete against Blossom servers. Builds on NostrNet.Core for events and NostrNet.Client for relay publish/subscribe convenience. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview8 | 100 | 5/16/2026 |
| 0.1.0-preview7 | 77 | 5/15/2026 |
| 0.1.0-preview6 | 80 | 5/15/2026 |
| 0.1.0-preview5 | 82 | 5/15/2026 |
| 0.1.0-preview4 | 81 | 5/15/2026 |
| 0.1.0-preview3 | 77 | 5/15/2026 |
| 0.1.0-preview2 | 119 | 5/15/2026 |
| 0.1.0-preview19 | 199 | 5/18/2026 |
| 0.1.0-preview18 | 82 | 5/18/2026 |
| 0.1.0-preview17 | 80 | 5/18/2026 |
| 0.1.0-preview16 | 78 | 5/17/2026 |
| 0.1.0-preview15 | 78 | 5/17/2026 |
| 0.1.0-preview14 | 78 | 5/17/2026 |
| 0.1.0-preview13 | 79 | 5/17/2026 |
| 0.1.0-preview12 | 74 | 5/17/2026 |
| 0.1.0-preview11 | 83 | 5/17/2026 |
| 0.1.0-preview10 | 78 | 5/16/2026 |