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
0 answers

Can't find package ipfs, peer and shim packages inside docker container

I'm testing below chaincode using first network setup and fabric:v1.4 package main import ( "bytes" "encoding/json" "fmt" "strconv" "github.com/hyperledger/fabric/core/chaincode/shim" peer…
HectorCode
  • 205
  • 2
  • 11
0
votes
1 answer

js-IPFS / vue.js upload error - Object is not async iterable

I have been working on js-ipfs (0.49.0) and this was working fine but I started getting some issues, anyway I have finally come back to look at the code again and the connection works fine but when I attempt to upload I get a new error Object is not…
adamprocter
  • 856
  • 1
  • 15
  • 31
0
votes
1 answer

IPFS http response got EOF error with correct body occasionally

When I debug in the following code, sometimes it can read data from the body correctly but with EOF error. func (r *trailerReader) Read(b []byte) (int, error) { n, err := r.resp.Body.Read(b) if err != nil { if e :=…
Max Peng
  • 2,879
  • 1
  • 26
  • 43
0
votes
2 answers

IPFS doesn't work with Javas GET - how to do it with POST instead?

i have a Problem with IPFS and Java. There are many Examples in the Internet but they aren't work anymore, cause GET is not longer supportet by IPFS. The Dependencies are included in pom.xml. So here is the Problem. I tried with POST Rest, but still…
Simon
  • 3
  • 2
0
votes
1 answer

ipfs.add() returns Object [AsyncGenerator] {}

I am unable to figure out what mistake i have done in the code Whenever i am calling api, ipfs.add('hello') returns [object AsyncGenerator] https://gateway.ipfs.io/ipfs/[object AsyncGenerator] const addFile = async () => { const…
Ishwar Chandra Tiwari
  • 5,099
  • 6
  • 22
  • 41
0
votes
1 answer

TypeError: Cannot read property 'blockNumber' of null

I am getting the above error and the code is mentioned below. Is this error related to the code or version of web3?. Unable to get transaction receipt. try{ this.setState({blockNumber:"waiting.."}); …
happy2
  • 11
  • 2
0
votes
1 answer

POST request results in console JS for IPFS node

I am making a POST request to my IPFS node. I am trying to log the results in console. My response is in JSON format. How do I do this? Thanks. {Name: "",…} Hash: "" Name: "" Size: "
0
votes
0 answers

I am getting the following error.Uncaught TypeError: Cannot read property 'files' of undefined

$(document).ready(function() { const ipfs = window.IpfsApi({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }); const Buffer = window.IpfsApi().Buffer; const ContractAddress =…
happy2
  • 11
  • 2
0
votes
1 answer

Trouble running ipfs daemon

Got IPFS installed on a new computer and got problems running: ipfs deamon It returns Error: lock /Users/yenan/.ipfs/repo.lock: someone else has the lock This wasn't a problem on a previous computer. Thanks
viritijk
  • 33
  • 1
  • 4
0
votes
1 answer

Finding IPFS Hash by leading Bits

Is it possible to find IPFS hashes by their leading bits? Lets say I have some files and by adding a nonce to each of them I create hashes which all start with the same n Bits. Is it possible for a client to find these files by searching for hashes…
Trizuz
  • 15
  • 3
0
votes
0 answers

IPFS add files ISSUE

I'm currently having issue with writing an script for uploading a file to IPFS. For some reason I'm always getting a TypeError, in which ipfs.files.add or ipfs.add is not a function. How could I resolve this? My Code:
0
votes
1 answer

Does Orbitdb have extra dependencies?

For Orbitdb to work with IPFS, perhaps there are some extra dependencies which are not mentioned anywhere specifically. I tried creating a simple key-value db referring from the docs: orbit.js const IPFS = require("ipfs"); const OrbitDB =…
hd3adcode
  • 354
  • 5
  • 12
0
votes
1 answer

Orbitdb + IPFS in nodejs

I am trying to use orbit-db along with the IPFS and I am going through the official documentation of OrbitDB. ATM, I am simply trying to create a db(specifically key-value store) and I have the following code uptil now const IPFS =…
Hackeerrrr
  • 15
  • 6
0
votes
1 answer

Using js-ipfs in vue to upload and display images

I am looking to use ipfs as the file store in a vue app, so that files are all stored locally. I am however struggling with understanding the vue demo and what exactly it does and how I move forward. I am using vue cli gui so have imported latest…
adamprocter
  • 856
  • 1
  • 15
  • 31
0
votes
1 answer

Multiple IPFS private network on same machine

Is there a way to have multiple IPFS private network on same machine. Explanation in detail: Can node 0 have multiple ipfs private networks running in parallel.