Questions tagged [ipfs]

IPFS (InterPlanetary File System) is a distributed/P2P content and identity-addressed hypermedia distribution protocol.

IPFS logo

The InterPlanetary File System is a hypermedia distribution protocol, addressed by content and identities. It enables the creation of completely distributed applications.

IPFS aims to make the web faster, safer, and more open by connecting all computing devices with the same system of files.

Latest release of IPFS is v0.9.0. Read more about the latest release at https://github.com/ipfs/go-ipfs/releases

IPFS official documentation: https://docs.ipfs.io/

772 questions
0
votes
1 answer

Programming the NEM blockchain & storing ipfs hash

I am looking at integrating an IPFS content hash into the NEM/Mijin blockchain. If I attach the ipfs Hash in the message section of a mosaic, will this be actually added to the blockchain, or do I need to add the hash as part of the mosaic name, but…
0
votes
1 answer

What suits best for Hyperledger fabric while Integration?

I'm currently trying to figure out on couple of things 1) What blockchain databases can be integrated with hyperledger fabric – (such as IPDB, or Bigchain db or couchDb) 2) What distributed file systems can be integrated with hyperledger fabric…
super cool
  • 6,003
  • 2
  • 30
  • 63
0
votes
1 answer

Error "TypeError: Cannot read property 'indexOf' of undefined" when using ipfs-api

I was performing development using ipfs - api, I encountered the following error, add of image file to ipfs node does not work well. Looking at the details of the error, it seems that protocol is treated as undefined among if (protocol.indexOf…
sho
  • 3
  • 1
  • 2
0
votes
1 answer

How can I transform a node module, including its dependencies with babel?

My web app does not work on ie11 because of ipfs-api. This module uses ES6 and has not been transpiled. Some dependencies are not transpiled, too. And some dependencies of those dependencies are not transpiled, and so on... How can I transpile…
cancue
  • 384
  • 3
  • 18
0
votes
1 answer

WriteError/QuotaExceededError Browserify IPFS ASYNC node.js

I am trying to run the code below. when I run with the node command it runs perfectly. const IPFS = require('ipfs') const series = require('async/series') const node = new IPFS() let fileMultihash series([ (cb) => node.on('ready', cb), (cb) =>…
user2609405
  • 51
  • 1
  • 4
0
votes
2 answers

How to launch angular prod project without any server?

I want to deploy my angular project in IPFS so I want to know if is possible to launch an angular project without any http server, like static html, css and js template?
maroodb
  • 1,026
  • 2
  • 16
  • 28
0
votes
1 answer

Content.once is not a function

I try to push a file to the IPFS, and I have converted to the Buffer. I got this error " content.once is not a function". I am using this library in node. var Buffer = require('buffer/').Buffer; const doc = new…
DavidB
  • 313
  • 1
  • 8
  • 23
0
votes
1 answer

Ipfs-mini cat APi's output buffer seems like corrupted for the hash pointing the image file

I am a newbie to both Javascript and ipfs and I am trying an experiment to fetch an image buffer from the ipfs hash "QmdD8FL7N3kFnWDcPSVeD9zcq6zCJSUD9rRSdFp9tyxg1n" using ipfs-mini node module. Below is my code const IPFS = require('ipfs-mini');…
Srinivasan
  • 77
  • 1
  • 1
  • 5
0
votes
1 answer

Sending image Buffer through API to add to IPFS

I am trying to upload an image to IPFS. and i am doing like this : I upload the image from my web UI, convert it to buffer in my angular component, send it through a put/post request ( with httpclient ) to my nodeJS Express server, my server…
Kaki Master Of Time
  • 1,428
  • 1
  • 21
  • 39
0
votes
1 answer

Error: Cannot find module 'ipfs' web3.min.js:1:155

I Can't work with node module ipfs.js console shows error: "Cannot find module 'ipfs'" Ubuntu 16.04.4 LTS node --version == v8.10.0 npm --version == 5.6.0 ipfs version == 0.4.13 My package.json: { "scripts": { "dev":…
0
votes
1 answer

Not able to see ipfs node id

Below is my app.js file. When I run the following code it shows "swarm listening on" and "file-path" and then nothing happens. I am also running daemon on another command prompt listening api on 5001. I think node is not getting initiated thats why…
Amish Gupta
  • 29
  • 2
  • 10
0
votes
1 answer

Python unable to loop/search for existing JSON entry

Still learning python. I'm building a IPFS hash description master list. Every time I create a new IPFS hash I can then add the hash with a description to this list that I can search at a later date to find the specific hash. I'm also trying to make…
Troy Wilson
  • 79
  • 2
  • 10
0
votes
1 answer

IPFS only connect with specified Nodes

we know we can connect and disconnect with specified nodes in IPFS i.e ipfs swarm connect /ip4/104.236.176.52/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z But what i want to look into is that i only specified or some sort of…
Inzmam ul Hassan
  • 215
  • 4
  • 16
0
votes
3 answers

Error with IPFS COR

When trying to use IPFS from my localhost I am having trouble accessing the IPFS service. I tried setting my config to accept the localhost and all server stuff, but nothing seems to work. The error: Failed to load…
Ben Rei
  • 109
  • 1
  • 3
  • 12
0
votes
1 answer

Trouble Installing IPFS

I am using the instructions given on their site for MacOS- https://ipfs.io/docs/install/#installing-with-ipfs-update [tutorial][1] To build demo, clone this repo and run the following command: $ cd contracts $ npm install Running the demo To run…