StratumClient 0.0.1-preview03
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-preview03
NuGet\Install-Package StratumClient -Version 0.0.1-preview03
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-preview03" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StratumClient --version 0.0.1-preview03
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StratumClient, 0.0.1-preview03"
#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-preview03&prerelease // Install StratumClient as a Cake Tool #tool nuget:?package=StratumClient&version=0.0.1-preview03&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stratum Client
A stratum client for mining pool participation.
Example usage:
var client = new StratumV1JsonRpcClient();
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 | 297 | 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 | 415 | 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 | 243 | 1/19/2022 |
0.0.1-preview06 | 253 | 1/19/2022 |
0.0.1-preview04 | 256 | 1/19/2022 |
0.0.1-preview03 | 198 | 1/19/2022 |
0.0.1-preview01 | 258 | 1/18/2022 |