weave-cs-api
1.0.0
dotnet add package weave-cs-api --version 1.0.0
NuGet\Install-Package weave-cs-api -Version 1.0.0
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="weave-cs-api" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add weave-cs-api --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: weave-cs-api, 1.0.0"
#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 weave-cs-api as a Cake Addin #addin nuget:?package=weave-cs-api&version=1.0.0 // Install weave-cs-api as a Cake Tool #tool nuget:?package=weave-cs-api&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Weavechain C# API
https://weavechain.com: Layer-0 For Data
How to install
nuget install weave-csharp-api
Data read sample
namespace weaveapi;
public abstract class Main
{
private static async Task Main()
{
var keyPair = SignUtils.GenerateKeys();
var pub = keyPair[0];
var pvk = keyPair[1];
Console.WriteLine("Public key: " + pub);
Console.WriteLine("Private key: " + pvk);
var seed = "92f30f0b6be2732cb817c19839b0940c";
var host = "public.weavechain.com";
var port = "443";
var isHttps = true;
HttpClientConfig config = new(host, port, pub, pvk, isHttps, seed);
NodeApi api = new(config);
await api.Init();
var organization = "weavedemo";
var scope = "shared";
var account = pub;
var table = "directory";
var session = await api.Login(organization, account, scope);
var readRes = await api.Read(session, scope, table, Filter.NONE, ReadOptions.Default);
Console.WriteLine(readRes);
}
}
Docs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- BouncyCastle (>= 1.8.9)
- SimpleBase (>= 4.0.0)
- Websocket.Client (>= 4.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 173 | 7/3/2023 |
Weavechain C# API 1.0