Skip to content

richardschneider/net-ipfs-http-client

Repository files navigation

net-ipfs-http-client

build status Coverage Status Version docs

A .Net client library for managing IPFS using the HTTP API protocol. More information, including the Class Reference, is on the Project web site.

Features

Getting started

Published releases of IPFS API are available on NuGet. To install, run the following command in the Package Manager Console.

PM> Install-Package Ipfs.Http.Client

Or using dotnet

> dotnet add package Ipfs.Http.Client

IpfsClient

Every feature of IPFS is a property of the IpfsClient. The following example uses FileSystem to read a text file

using Ipfs.Http;

var ipfs = new IpfsClient();

const string filename = "QmXarR6rgkQ2fDSHjSY5nM2kuCXKYGViky5nohtwgF65Ec/about";
string text = await ipfs.FileSystem.ReadAllTextAsync(filename);

License

Copyright © 2015-2018 Richard Schneider (makaretu@gmail.com)

The IPFS API library is licensed under the MIT license. Refer to the LICENSE file for more information.

Buy Me A Coffee