Show / Hide Table of Contents

IPFS Daemon

The IPFS daemon is a service that runs on a machine and allows access to other peers on the network. This is what the IPFS client manages.

Installing

The authoritive documentmenation is at https://docs.ipfs.io/introduction/install/ which describes the go-ipfs implementation. There is also js-ipfs for NodeJS fans.

Windows

For Windows using chocolatey

> choco install go-ipfs
> ipfs init
> ipfs daemon

Locating the daemon

By default the client looks for a deamon at http://localhost:5001. This can be overriden by either setting the environment variable IpfsHttpUrl or initialising the client with an URL.

// js-ipfs likes this address
static readonly IpfsClient ipfs = new IpfsClient("http://127.0.0.1:5002");
  • Improve this Doc
Back to top Generated by DocFX