StratumClient 0.0.1-preview06
This is a prerelease version of StratumClient.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package StratumClient --version 0.0.1-preview06
NuGet\Install-Package StratumClient -Version 0.0.1-preview06
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="StratumClient" Version="0.0.1-preview06" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StratumClient --version 0.0.1-preview06
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StratumClient, 0.0.1-preview06"
#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.
// Install StratumClient as a Cake Addin #addin nuget:?package=StratumClient&version=0.0.1-preview06&prerelease // Install StratumClient as a Cake Tool #tool nuget:?package=StratumClient&version=0.0.1-preview06&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stratum Client
A stratum v1 client for mining pool participation.
Development Branch
Release Branch
Example usage:
var client = new StratumClient.V1.StratumClient();
client.OnSubscribeResponse += (subscribeResponse, subscribeRequest) =>
{
Console.WriteLine($"Subscribed | Extranonce1 : {subscribeResponse.Extranonce1}");
// On subscribe response, send an authorise message.
client.Authorize(
new AuthorizeRequest(
"94be816cc10c7705dc706dfc19c2f3b8.StratumClient",
"myPassword"));
};
client.OnAuthorizeResponse += (authorizeResponse, authorizeRequest) =>
{
Console.WriteLine($"Authorized | Success : {authorizeResponse.Success}");
};
client.OnSetDifficultyRequest += (setDifficultyRequest) =>
{
Console.WriteLine($"SetDifficulty | Difficulty : {setDifficultyRequest.Difficulty}");
};
client.OnNotifyRequest += (notifyRequest) =>
{
Console.WriteLine($"Notify | JobId : {notifyRequest.JobId}");
};
// Connect
await client.ConnectAsync(new Uri("tcp://eu.stratum.slushpool.com:3333"));
// Send the initial Subscribe message
client.Subscribe(new SubscribeRequest());
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StratumClient:
Package | Downloads |
---|---|
StratumClient.Extensions.Logging.Serilog
Allow StratumClient to output to Serilog. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.63-preview | 295 | 1/21/2022 |
1.3.61-preview | 256 | 1/19/2022 |
0.2.61 | 743 | 1/19/2022 |
0.2.58-preview | 235 | 1/19/2022 |
0.1.58 | 414 | 1/19/2022 |
0.1.56-preview | 181 | 1/19/2022 |
0.0.56 | 422 | 1/19/2022 |
0.0.56-preview | 177 | 1/19/2022 |
0.0.53-preview | 186 | 1/19/2022 |
0.0.49-preview | 240 | 1/19/2022 |
0.0.1-preview06 | 253 | 1/19/2022 |
0.0.1-preview04 | 255 | 1/19/2022 |
0.0.1-preview03 | 197 | 1/19/2022 |
0.0.1-preview01 | 257 | 1/18/2022 |