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

IPFS in Javascript 'cat' function doesn't work

I created this testcase to prove that the cat method is not working for me using the IPFS javascript library. What am I doing wrong ? My console output does not draw anything from within the 'node.files.cat' function, its as if that…
admazzola
  • 89
  • 4
0
votes
0 answers

Redux Async Action executes before promise is resolved

Am facing a error with the Following code that the Async action "FILE_UPLOAD_SUCCESS" emits even before the promise is resolved so the action payload returns undefined. Any idea on how to resolve it??? Action Creator export const upload = (file) =>…
0
votes
1 answer

How can I create an object of a class with no constructor, C#

I'm trying to use an api and I can't call any methods of this class namespace Ipfs.Api { /// /// Manages the files/directories in IPFS. /// /// /// /// This API is accessed via…
Enrique Alcazar
  • 381
  • 7
  • 21
0
votes
1 answer

How to check the private files in IPFS

How to check the file is private or not in IPFS, and also how to provide the Key Contracts to particular file in IPFS. Thank You
Praveen Kumar
  • 1,966
  • 1
  • 9
  • 16
0
votes
1 answer

IPFS add returns 2 jsons

The add command returns 2 jsons - not yet sure if this is a bug or a feature that I am not aware of: ⋊> ~ curl -F "image=@/home/ligi/bar" 127.0.0.1:5001/api/v0/add …
ligi
  • 39,001
  • 44
  • 144
  • 244
-1
votes
0 answers

Configuration error while executing graphman

Can some one help me to solve the following error? I run the graph-node with docker-compose using the following command: docker compose up after the graph-node run successfully I execute the following command: docker compose exec -it graph-node…
Mehdi 343
  • 1
  • 3
-1
votes
1 answer

ipfs: what does linkssize mean?

I would like to get stats about IPFS objects, as follows $ ipfs object stat /ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR NumLinks: 0 BlockSize: 119776 LinksSize: 4 DataSize: 119772 CumulativeSize: 119776 what does…
Martin Monperrus
  • 1,845
  • 2
  • 19
  • 28
-1
votes
1 answer

import javascript module: The requested module X does not provide an export named Y

I am having a problem to import some of the content of a JavaScript module (ipfs). Here is the code (test.js), taken from OrbitDB Module with IPFS Instance that I am trying to run from the command line as a node app (node test.js): import IPFS from…
rapt
  • 11,810
  • 35
  • 103
  • 145
-1
votes
1 answer

How to add files to ipfs with pure javascript only?

I have tried to find some examples but all of them have lost relevance.. I have tried also to use infure but it is not for free now.. Maybe someone knows the solution, I need it for automatic loading of NFT images. js-ipfs ipfs-core ipfs-http-client
-1
votes
1 answer

How to store API keys in dApp NEAR

For example, my application uses IPFS, access to which I get through web3.storage. But for the web3.storage to work, you need an API token, for which I paid. Where to store this token if everything is open source? On the frontend, anyone can see my…
Jor
  • 11
  • 3
-1
votes
1 answer

IPFS- Hyperledger fabric integration

I had a Hyperledger fabric network running with the required chaincodes deployed. Now I would like to integrate IPFS, so that all the data would be encrypted and stored in IPFS with its hash being stored in Hyperledger fabric. I need the integration…
Gowthami
  • 1
  • 2
-1
votes
1 answer

Issue converting from ES6 module

i've did the following script which allows me to upload an image on NFT.Storage ipfs server and retrieves the img url. import { NFTStorage, File } from "nft.storage" import { mime } from "mime" import { fs } from "fs" import { path } from…
user18541404
-1
votes
1 answer

IPFS file extension for GLB

I'm using the ipfs-http-client module to interact with IPFS. My problem is that I need the file extension on the link that I generate, and it seems that I can only get it with the wrapWithDirectory flag (-w with the command line). But this flag…
Mouloud85
  • 3,826
  • 5
  • 22
  • 42
-1
votes
1 answer

Why is it so hard for web browsers to open IPFS links?

Why is it so hard for web browsers to open IPFS links? For instance, this is an IPFS blog page link, https://ipfs.io/ipfs/bafybeic3y6oc2dai3uypyyuaggp4xx3krocpgzbwst2z4ha73jdh7y6nea/index.html , and the loading page is tremendously slow on Safari or…
-1
votes
2 answers

POST https://ipfs.infura.io:5001/ipfs/api/v0/add?stream-channels=true&progress=false 403 (Forbidden). HTTPError: ipfs method not supported

Below is how i create the client. import { create as ipfsHttpClient } from 'ipfs-http-client'; const projectId = 'xx'; const projectSecret = 'xx'; const auth = `Basic ${Buffer.from(`${projectId}:${projectSecret}`).toString('base64')}`; const…
dunker
  • 33
  • 6