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

Swift - Alamofire returns "Invalid request format." when I try to upload file to pinata

print(element) print following error = "Invalid request format." Although the response.result is success. I don't know what to do... appreciate any help. let request = AF.request("https://api.pinata.cloud/pinning/pinFileToIPFS", method:…
user16525780
  • 319
  • 1
  • 4
  • 11
0
votes
1 answer

How to retrieve lost file from IPFS?

Couple weeks ago I try spin up a local IPFS node, publish a file, and were able to access it via publish gateway. I thought the file would have been store by a lots of nodes, so I deleted it from my local machine, now I can't access the file via the…
Anton Cheng
  • 642
  • 5
  • 7
0
votes
2 answers

Nginx as a proxy for go-ipfs results in a rewrite loop

I have a simple setup for serving content from a specific CID: user nginx; worker_processes auto; events { worker_connections 1024; } http { upstream ipfs { server ipfs:8080; } server { listen 8080; …
Ben Little
  • 57
  • 5
0
votes
1 answer

UnhandledPromiseRejectionWarning: InvalidRepoVersionError: Incompatible repo versions. (IPFS-JS 0.55.3)-(NODE JS 14.17.0)

I just learned about ipfs js, and the version I have installed is version 0.55.3 (https://www.npmjs.com/package/ipfs), besides I'm also using node js with version 14.17.0 (LTS) and MacOS BigSur 11.4 When I follow the tutorial on the link…
0
votes
1 answer

TypeError: fs.stat is not a function (IPFS JS)

I'm learning ipfs js based on the tutorial, but while I'm following I'm having trouble typing node main.js in the terminal like this: /Users/username/Documents/coding/ipfs-test/node_modules/lock-me/src/unix.js:9 (cb) => fs.stat(name, (err,…
0
votes
0 answers

How do I load an image from a url, and then add it to IPFS?

I want to load an image from some url like https://example.com/picture1.png. Then, I want to figure out: The image's width (which I can) The image's height (which I can) The image's keccak256 hash (which I can) The image's IPFS CID (which I…
0
votes
1 answer

TextDecoder is not a constructor (ipfs_infura)

Please let me know if this is the right way to use modules on JavaScript import React, { Component } from 'react'; import './App.css'; import logo from '../logo.png'; const ipfsClient = require('ipfs-http-client') const ipfs = ipfsClient({host:…
aj1719
  • 1
  • 1
0
votes
1 answer

My ipfs node have zero peers connected, when i am connected to my home network 0 peers and with cellular data to my computer the node works fine

My ipfs node can't connect to other peers, i have the latest go-ipfs 0.8.0 and ipfs desktop 0.15.0, peers count is zero. My ipfs node have zero peers connected, when i am connected to my home network 0 peers and with cellular data to my computer the…
Javier Garcia
  • 188
  • 1
  • 2
  • 10
0
votes
0 answers

2 Jquery ajax post requests. 2nd one gives error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

I have one GET request at first to retrieve a data structure. Then I perform some changes and perform a PUT request to send the data structure to the server and update the record. When I click the submit button on the on the first form it works as…
0
votes
1 answer

Cloudflare's ipfs Gateway vs. hosting your own ipfs gateway

I'm trying to impelement an ipfs gateway. I'm on cloudflare and saw that they already have their gateway you can CNAME to. What are the pros/cons of hosting your own Gateway vs. using Cloudflare's
edmamerto
  • 7,605
  • 11
  • 42
  • 66
0
votes
1 answer

Using Truffle-React + IPFS dependency issue

Hooking up IPFS to my Truffle React project is causing me issues. I'm getting a dependency error (I'm thinking that's what's going on) that I can't find anything online about. I've added IFPS to my working truffle project: npm install --save…
chrisb
  • 31
  • 3
0
votes
1 answer

Signing Documents with Blockchain and IPFS

For my little project I need help and if it's possible. The project is about signing documents using blockchain and IPFS. I try to create a DApp with following features: Signer has to LogIn After LogIn has been successful you can upload a…
0
votes
1 answer

IPFS-JS with "npx create-react-app" causes a Webpack Error

So I created a new React Project with npx create-react-app I added yarn add ipfs I added it to the React project ... const createClient = require("ipfs"); function App() { ... And I get the error TypeError: TextDecoder is not a constructor I…
0
votes
1 answer

What is multicodec and how it is related to multihash?

I don't have any background with this subject. To try to understand them better, I read: Multihash CIDv1: Multicodec prefix From what I understand, the multihash is the algorithm used to hash (one way) the value. so it means, we can't go back…
Stav Alfi
  • 13,139
  • 23
  • 99
  • 171
0
votes
1 answer

IPFS repository not found haadcode/ipfs-pubsub-room.git

I'm following the read me instructions at https://github.com/redacademy/vue-ethereum-ipfs I got to the point of doing npm install and get: /usr/bin/git ls-remote -h -t ssh://git@github.com/haadcode/ipfs-pubsub-room.git ERROR: Repository not…