Nethermind.Libp2p.Protocols.Relay 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nethermind.Libp2p.Protocols.Relay --version 1.0.2
                    
NuGet\Install-Package Nethermind.Libp2p.Protocols.Relay -Version 1.0.2
                    
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="Nethermind.Libp2p.Protocols.Relay" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nethermind.Libp2p.Protocols.Relay" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Nethermind.Libp2p.Protocols.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 Nethermind.Libp2p.Protocols.Relay --version 1.0.2
                    
#r "nuget: Nethermind.Libp2p.Protocols.Relay, 1.0.2"
                    
#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 Nethermind.Libp2p.Protocols.Relay@1.0.2
                    
#: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=Nethermind.Libp2p.Protocols.Relay&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Nethermind.Libp2p.Protocols.Relay&version=1.0.2
                    
Install as a Cake Tool

Circuit Relay v2

Implements the Circuit Relay v2 protocol:

  • Hop (/libp2p/circuit/relay/0.2.0/hop): reservation of relay slots and connection initiation through the relay.
  • Stop (/libp2p/circuit/relay/0.2.0/stop): connection termination between the relay and the target peer.

Enable relay in the stack with WithRelay() on the peer factory builder. The reservation store is registered automatically when using AddLibp2p().

Critical gap: Stream bridging is required for a working relayed connection. Today the relay completes the Hop and Stop handshakes and returns STATUS OK but does not tie the two streams together. Implementing this will require either a way to obtain the stop stream/channel after DialAsync or lower-level support to bridge two streams by ID.

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 (1)

Showing the top 1 NuGet packages that depend on Nethermind.Libp2p.Protocols.Relay:

Package Downloads
Nethermind.Libp2p

A libp2p implementation for .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 47 10/15/2026
1.0.3 105 10/6/2026
1.0.2 99 10/3/2026
1.0.1 99 10/2/2026
1.0.0 108 10/1/2026
1.0.0-preview.51 6,191 11/11/2025
1.0.0-preview.50 172 11/7/2025
1.0.0-preview.49 208 11/6/2025
1.0.0-preview.48 199 11/6/2025
1.0.0-preview.45 1,934,269 5/13/2025
1.0.0-preview.44 1,123 5/9/2025
1.0.0-preview.43 201 5/9/2025
1.0.0-preview.37 202 2/18/2025
1.0.0-preview.36 46,137 2/10/2025