Skip to content

richardschneider/net-ipfs-engine

Repository files navigation

net-ipfs-engine

build status travis build CircleCI Coverage Status Version docs

An embedded IPFS engine implemented in C#. It implements the IPFS Core API which makes it possible to create a decentralised and distributed application without relying on an "IPFS daemon". Basically, your application becomes an IPFS node.

More information, including the class reference, is on the Project web site. This is BETA CODE and breaking changes will occur.

IPFS Core API

Features

Getting started

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

PM> Install-Package Ipfs.Engine

Usage

Reads a file from anywhere on the network.

using Ipfs.Engine;

var ipfs = new IpfsEngine();

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

Related projects

  • IPFS Core - Core IPFS objects and interfaces.
  • IPFS DSL - A declarative embedded language for building compositional programs and protocols over the InterPlanetary File System.
  • IPFS HTTP Client - A .Net client library for the IPFS HTTP API.
  • IPFS HTTP Gateway - Serves IPFS files/directories via HTTP.
  • Peer Talk - Peer to peer communication.

Sponsors

https://atlascity.io

AtlasCity.io - Developing blockchain business solutions

License

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

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

Buy Me A Coffee