NostrNet.Relay 0.1.0-preview8

This is a prerelease version of NostrNet.Relay.
dotnet add package NostrNet.Relay --version 0.1.0-preview8
                    
NuGet\Install-Package NostrNet.Relay -Version 0.1.0-preview8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NostrNet.Relay" Version="0.1.0-preview8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NostrNet.Relay" Version="0.1.0-preview8" />
                    
Directory.Packages.props
<PackageReference Include="NostrNet.Relay" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NostrNet.Relay --version 0.1.0-preview8
                    
#r "nuget: NostrNet.Relay, 0.1.0-preview8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NostrNet.Relay@0.1.0-preview8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NostrNet.Relay&version=0.1.0-preview8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NostrNet.Relay&version=0.1.0-preview8&prerelease
                    
Install as a Cake Tool

<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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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