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

"multihash must be a buffer" error while trying to upload files to ipfs using ipfs.add()

I'm trying to spawn a ipfs node and upload a file to ipfs. But the ipfs.add() method always throws the error "multihash must be a buffer". Googling suggests that the isBuffer check in node's multihash package is the problem but doesn't provide a…
0
votes
1 answer

Encrypting / Decrypting data stored on IPFS using smart contracts as ACL

I'm trying to create an encrypted storage solution that uses IPFS as storage and Ethereum smart contracts for access control. Basically, each user can upload files to IPFS and they can choose Ethereum addresses that can view that data (sharing with…
Emrond
  • 1
  • 1
0
votes
1 answer

Differentiate between IPFS link and normal link

I have a functionality where I have to differentiate between an IPFS link and a video streaming link. If it is an IPFS link I have to download and save and use that to show video else just show video using streaming link. if "https" in url or…
0
votes
1 answer

Confusion over Private vs Public IPFS Pin Orchestration

I am working on an application that requires IPFS storage. I am looking for a highly available and fast IPFS Pinning service that can store large file sizes. I’ve been looking into services like Pinata, IPFS Cluster, Temporal, and Infura—which does…
Alex
  • 486
  • 1
  • 7
  • 19
0
votes
1 answer

How to access my IPFS node instance from my express router

I can't seem to work out the correct approach for running a IPFS node in my express app (/services/IPFS.js), while also being able to access it within my routes (/routes/uploads.js) /services/IPFS.js const IPFS =…
coeu5a
  • 175
  • 1
  • 3
  • 14
0
votes
1 answer

How can I tell if my ipfs daemon is running the background?

How can I tell if my ipfs daemon is running in the background? I'm able to execute command like jsipfs cat , but I'm pretty sure my daemon isn't running. I can't seem to find a process named "ipfs" in my process list. Is there a one-liner…
nz_21
  • 6,140
  • 7
  • 34
  • 80
0
votes
1 answer

IPFS js - is it possible to know what peers are holding what data?

I have this snippet here from https://js.ipfs.io/: const node = await IPFS.create() const stream = node.cat('QmPChd2hVbrJ6bfo3WBcTW4iZnpHm8TEzWkLHmLpXhF68A') let data = '' for await (const chunk of stream) { // chunks of data are returned as a…
nz_21
  • 6,140
  • 7
  • 34
  • 80
0
votes
1 answer

How to use react routing with IPFS

I'm using react routing for my site but on IPFS it doesn't work it's looking for a path that doesn't exist
0
votes
2 answers

Cannot get image from ipfs in vuejs

I want to get an image from IPFS into my Vue/Nuxt project. I already import ipfs by 'npm i ipfs'. But when i run "cont node = Ipfs.create()". it show error but this error doesn't always happen, many times it works and I can get the image normally.…
0
votes
1 answer

file searching and implementation using ipfs and blockchain

I want to store some info and secure it using blockchain. I store it in ipfs and save the ipfs hash in the blockchain. What should I do to maintain the hashes. Suppose, if I need to retrieve document which I stored months ago should I search inside…
Sai Rohith
  • 11
  • 1
0
votes
1 answer

How to put all react production build files in single level root folder without keeping directory tree in static

This is my first time I am working with IPFS together with React. Judging from the reactjs examples, the code to run the website itself does not different from non-IPFS-based website. As per documentation of the hosting I use…
HX_unbanned
  • 583
  • 1
  • 15
  • 51
0
votes
0 answers

How content-addressing works in IPFS

How to locate data in distributed network which is based on IPFS protocol if I don't know the hash value of that data. I am new to IPFS. I know a little bit about IPFS and how it works. I came to know that IPFS is protocol which is content-addressed…
0
votes
0 answers

Unable to store Json RPC response in react native but able to console.log it

We have Json RPC response in {},{},{} We are unable to save the response as a variable but can see it via console.log() after doing Jsonrcp.parse(response) which we got from the below library We are using the JsonRPC-Lite library…
0
votes
0 answers

How to upload directory using ipfs-http-client on ipfs

Every time I tried to upload a directory, it gives me this error AbortError: The user aborted a request. at abort (C:\users\anik\desktop\app\node_modules\node-fetch\lib\index.js:1418:16) at AbortSignal.abortAndFinalize…
0
votes
1 answer

Using ipfs add a second time fails

I am following along with the ipfs tutorial in the docs. I creating a simple web page. I executed the following commands ipfs daemon mkdir simple-webpage cd simple-webpage nano index.html cd .. ipfs add -r simple-webpage/ When using nano index.html…
l30c0d35
  • 777
  • 1
  • 8
  • 32