schulz3000 / dotnet-skynet

SDK for integrating Skynet into dotnet applications
MIT License
2 stars 0 forks source link
dotnet sia skynet

dotnet-skynet

SDK for integrating Skynet into dotnet applications

Build

dotnet-skynet

NuGet

dotnet-skynet

Work in Progress

How to use

using var client = new SkynetClient();

var blocklists = await client.GetBlocklists();

var stats = await client.GetStatistic();

var metadata = await client.GetFileMetadata("IADR9tvmKSzmY-i0Bfyd8mXgaGUZmuQDsbimvgjnFQXIhQ");

var downloadMetadata = await client.Download("IADR9tvmKSzmY-i0Bfyd8mXgaGUZmuQDsbimvgjnFQXIhQ", @"c:\temp\sia");

var response = await client.Upload(@"c:\temp\sia\sia-lm.png");

Console.WriteLine(response.Skylink);