Questions tagged [ipfs]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

WebSocket connection Failed when using Helia IPFS in react app

I have been trying to use helia in my react.js application but keep getting the following error in the console: WebSocket connection to ‘wss://ny5.bootstrap.libp2p.io/p2p/...
Harmanpreet Singh's user avatar
0 votes
1 answer
19 views

IPNS, ENS, content hash records

Let's say there is this ENS domain: https://app.ens.domains/zh4ck.eth?tab=records And it has it's content hash ipns://k51qzi5uqu5dlodad1tur2ti64q55m1w8ipohvk0a52ebm4qlntay45hgdxqyb But if I use any ...
user2716262's user avatar
0 votes
0 answers
28 views

ipfs - I just cannot get it working reliably

I'm new to IPFS. I've installed the desktop client (MacOSX - Version 0.31.0 (0.31.0)) and imported files and I can see them in files. I copy the Share URL for one and paste in to a browser and it ...
HankCa's user avatar
  • 9,259
0 votes
0 answers
23 views

db.address wont open and opening a new db gives me the same address

What I'm Attempting: To initially create a db. get the address. use the db.address as a string to reconnect to the existing db If i create my db db.u = await orbitdb.open('u', { type: 'keyvalue', ...
Ben Muircroft's user avatar
-1 votes
0 answers
20 views

Change the interpretation of a URL scheme

I want to be able to set an image src like this: <img src="ipfs://bafkreifvallbyfxnedeseuvkkswt5u3hbdb2fexcygbyjqy5a5rzmhrzei"></img> and have it be interpreted like this <...
ViteOrer's user avatar
0 votes
0 answers
44 views

Error: "Cannot find module './fetch.node'" when using ipfs with Next.js 14 on Vercel

I'm facing an issue with my Next.js project when deploying to Vercel. The error message I'm receiving is: Error: Cannot find module './fetch.node' This error seems to be associated with the usage of ...
Tornado Dean's user avatar
0 votes
2 answers
55 views

Error Uploading File to IPFS. I am using the pinFileToIPFS gateway

I am trying to upload an image to IPFS, which was selected by user in the front-end. I am storing the image in state hook and passing it on to the Form-data. Following the pinata documentation I have ...
Pratik Jussal's user avatar
0 votes
1 answer
30 views

CIDv1 base32 encoding

Can anyone help me understand how string version is calculated for CIDv1? Example: bafykbzacea6h5nvlblvak5jhj7m7ku5sp7u2roo3lbembab3a6tnvmuzgcqas Is this right hex representation according to CID ...
ramiz_karaeski's user avatar
0 votes
0 answers
13 views

Connection Interupted in for Loop Making Post Request to Infura

I made a script and I am doing a few things in it. I am uploading 10,000 documents and a JSON files to IPFS through Infura, and I am writing data to an Excel speadsheet. The Excel part works fine, I ...
Alexander Wood's user avatar
0 votes
1 answer
29 views

How to access the Infura IPFS api in angular

I want to send a file to Infura's IPFS API in an angular application. I understand ipfs-http-client is deprecated so I'm trying to make a call to the API using POST. App component: onFileSelected(...
COM's user avatar
  • 45
0 votes
0 answers
115 views

Integrating Helia with a Pinning Service: Helia-Remote-Pinning Error

I am trying to integrate the Helia library with a pinning service, specifically using @helia/remote-pinning, as ipfs-http-client has been deprecated. However, I am encountering an issue with the ...
Rajveer Heera's user avatar
0 votes
0 answers
29 views

Uploading an Image to IPFS using NFT.storage in JavaScript and Storing the CID

`Im working on a project where I need to allow users to upload an image, store it on IPFS using the NFT.storage service, and then store the resulting Content Identifier (CID) in a JavaScript variable ...
Anjishnu Ganguly's user avatar
-1 votes
2 answers
27 views

Error uploading file to IPFS: (readStream is not a readable stream or form data & source.on is not a function)

I am trying to upload files on ipfs using pinata but getting errors. captureFile = (e) => { console.log(e.target.files[0]); if (e.target.files[0]) { const file = e.target.files[0]; ...
Syed Rabeet's user avatar
0 votes
1 answer
77 views

Using IPFS API and Gateway with Infura to Upload Files

I created a private API key in Infura. I was given an API Key, API Key Secret, and an IPFS API Endpoint. I looked at the documentation here. I decided to go the Python route, and I tested it with one ...
Alexander Wood's user avatar
0 votes
1 answer
37 views

POST https://api.pinata.cloud/pinning/pinFileToIPFS 400 while uploading image

I am trying to upload an image to pinata ipfs using nextjs but am unable to do, It always shows error 400 Here is my code, I checked lot of sites or applied the same code still getting the same error ...
Rishabh Pandey's user avatar
2 votes
1 answer
58 views

Which nodes in IPFS store the new file? [closed]

In IPFS, after a new file is uploaded by a node, besides existing on that node, it will also be stored in other nodes. Is there any selection mechanism for determining which nodes will store the file? ...
shaobbing's user avatar
0 votes
0 answers
57 views

Kademlia get_providers() fails to find nodes that start_providing() in Rust libp2p

I tried to combine two Rust examples (ipfs-kad, https://github.com/mxinden/libp2p-lookup and chat-example) that use Kademlia to locate their peers to create a shared message channel. However when I ...
Petr's user avatar
  • 62.8k
1 vote
1 answer
38 views

How may one generate IPFS PeerID in Python without involving a working IPFS node?

I need to find a clue about all steps of generation of the PeerID used to identify the IPFS node, and then to generate the third-party PeerID using Python script. Does someone have a working example ...
Andrei Vukolov's user avatar
2 votes
1 answer
70 views

Compute CID of data in Go

I need to compute the CID of some data in Golang, right now I'm using this code, but the CID I receive is different than what I get when I upload the file to Filecoin or add it to a Lotus node. This ...
lajosdeme's user avatar
  • 2,259
1 vote
0 answers
80 views

Uploading files to IPFS using Python

I am trying to upload files from my computer onto IPFS. I have made two folders with their own CID. I have all my information on the Status page: Peer ID, UI, Gateway, API, Addresses, and a Public key....
Alexander Wood's user avatar
0 votes
0 answers
375 views

How to connect to local nodes and modify metadata in the new Helia library?

I've run into a problem while using the IPFS library. Since the ipfs-http-client has been deprecated and replaced with Helia, I find myself unable to upload pictures to the ipfs-desktop, detect local ...
codingJourneyFromUnemployment's user avatar
0 votes
0 answers
34 views

Adding evm chain id to ethereum list

I have been working on EVM integrated relay chain in substrate . I want to register my chain ID on ethereum chain and my checkmarks are not getting verified there . i want to know about the steps ...
Karanvir Singh's user avatar
1 vote
0 answers
33 views

ipfs in docker seems unreliable

I created a docker image that installs ipfs: FROM python:slim RUN apt-get update RUN apt-get install -y build-essential RUN apt-get install -y wget RUN wget https://dist.ipfs.tech/kubo/v0.17.0/...
MetaStack's user avatar
  • 3,356
0 votes
0 answers
34 views

How to add and access files to IPFS CLUSTER hosted on AWS FARGATE services?

Here is the command I am using to add to files to my IPFS CLUSTER using CLI but I want to connect it to my backend i.e django backend. ipfs-cluster-ctl -l /dns/d3a323gq69ki35.cloudfront.net/tcp/443 --...
VIVEK T's user avatar
0 votes
1 answer
168 views

How can I pin json to ipfs with pinata (pinJsonToIpfs method) info directory? React

const metadata = { pinataContent: { name: nftItem.name, image: imageUrl, description: nftItem.description, ...
Егор Довыденко's user avatar
0 votes
2 answers
139 views

How to retrieve a file sent over IPFS with its extension?

I am sharing some files over IPFS and I would like to retrieve the file extensions as well when downloading the files by their CID. I am using the following code: import ipfshttpclient # Connect to ...
Juki's user avatar
  • 13
0 votes
1 answer
74 views

Firebase Cloud Function in typescript not working with form data request

I am writing this cloud function in typescript and deploying it to firebase. This endpoint receives form data http request with some files and then it writes these files to /tmp directory and after ...
Omar Osman's user avatar
0 votes
1 answer
51 views

Where to store IPFS hash other than infura.io without paying

I used infura.io to store IPFS hash few months ago in my Ethereum dapp based on React JS but now it's not free anymore and it is asking for my bank account details. I want to use it for small personal ...
MaheenUnzeelah's user avatar
0 votes
0 answers
30 views

Navigating IPFS Architecture Challenges: Managing Data Across Multiple Node

I am currently running my own IPFS nodes and have accumulated about 500GB of data. I've observed that once a node stores over 100GB of data, certain bugs tend to occur, so I've opted to run multiple ...
James's user avatar
  • 1
-2 votes
1 answer
223 views

Recommendation for IPFS gateway services

I have a project that needs to access and pin data through IPFS. Besides operating my own fleet of gateway nodes, what are the recommended public gateway services I could rely on? Thx I have used the ...
Max's user avatar
  • 1
0 votes
0 answers
49 views

ipfs-infrua, Failed to load resource: the server responded with a status of 400 () ipfs-infura

The image is not displayed, infura ipfs, I got this error, Failed to load resource: the server responded with a status of 400 () GET https://dmarket.vercel.app/_next/image?url=https%3A%2F%2Fdmarket1....
Ermias Bekele's user avatar
0 votes
1 answer
177 views

Upload and Retrieve Images to IPFS using Infura gateway

It seems that Infura have changed how to GET data back after uploading. My program retreives a url with error 400 GET https://ipfs.infura.io/ipfs/QmbYFZidMFsaKBdFkxFdAwSYytWudvFdpt8e1xJ7ZaZnr8 400 (...
stan001's user avatar
  • 13
1 vote
2 answers
1k views

Create a blob from a web stream in Node.js

I am trying to pack a CAR file through ipfs-car (which uses web streams) and later send it in a request as a file but I'm not sure how to store it in a Blob after I have streamed in a WritableStream. ...
v1rtl's user avatar
  • 195
-1 votes
1 answer
29 views

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: ...
Martin Monperrus's user avatar
0 votes
0 answers
73 views

Unable to resolve path to module 'ipfs-core'

Am importing IPFS library to my React+Vite typescript project like this: import * as IPFS from "ipfs-core"; but am encountering error Unable to resolve path to module 'ipfs-core'. While ipfs-...
raspberrypiintuision's user avatar
0 votes
0 answers
47 views

IPFS: HTTPError: URL arg must be multibase encoded: selected encoding not supported

I want to create an OrbitDB database with a locally running IPFS daemon. My code is based on a code sample published in a past discussion, with a few changes. Here is my code (test.js): import * as ...
rapt's user avatar
  • 11.9k
0 votes
0 answers
43 views

Why am I getting an ipfs resolve error when I reload my webpage

I am experiencing an error on my website where if I reload my page on something that is not just websiteName.com/ it will give me an ipfs error. This error more specifically "ipfs resolve -r /...
Louis Cowan's user avatar
-1 votes
1 answer
602 views

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 ...
rapt's user avatar
  • 11.9k
-1 votes
1 answer
67 views

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 ...
Natalia Yurkovets's user avatar
1 vote
1 answer
47 views

Kubo, invalid memory address or nil pointer dereference from IpfsNode.Bootstrap

I’m getting an invalid memory address or nil pointer dereference from IpfsNode.Bootstrap I assume that there is some panic in bootstrap Round, but am I doing something wrong here? Or is there a bug? I’...
AxelG's user avatar
  • 37
0 votes
0 answers
49 views

How to get multiAddr from js-ipfs node running in browser, ipfs.config.get("Addresses.API") always is empty

I'm setting up a IPFS Cluster in my local and trying to connect a browser peer(js-ipfs) to it. The cluster will take bootstrap add <multiAddr>, but I couldn't get the multiAddr from js-ipfs. Can ...
Logesh's user avatar
  • 1
0 votes
1 answer
110 views

Pinata API Error "Incorrect request. Please send the correct format, { hashToPin: 'yourHash', pinataMetadata: (optional metadata)} For NFTs

This is my code where I am uploading image in IPFS with Pinata API: try { // Upload Image in Pinata const formData = new FormData(); formData.append('file',image); ...
Naincy Chauhan's user avatar
0 votes
2 answers
495 views

How to Reload Images that are not load, on Next.js

Hello I have some ipfs data and it has 300 images. I want to render them but when I try to render them sometimes 3 4 of them is not loaded. it gives me 404 error and won't load. So even if i reload ...
Emin Çoşkun's user avatar
-1 votes
1 answer
68 views

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 ...
Jor's user avatar
  • 11
0 votes
1 answer
60 views

How can I read from S3 and then write to IPFS using Pinata?

I have the following code which has the intention to retrieve a file from a S3 bucket and then directly pin it to IPFS using Pinata API: const axios = require('axios'); const FormData = require('form-...
Falcon Stakepool's user avatar
1 vote
1 answer
149 views

How to copy files from ipfs using git annex?

I've cloned Git repository with files stored in local ipfs, I've initialized ipfs special remote, however I cannot download files stored in there. I've run: git annex copy --from ipfs as suggested in ...
kenorb's user avatar
  • 158k
0 votes
0 answers
35 views

Get the type of file from IPFS hash/URL in Nodejs

I am trying to create an IPFS hash viewer on my website. I have tried many different node npm packages but they don't quite get the right info I am looking for/need. I want to display the IPFS ...
Joe's user avatar
  • 827
0 votes
2 answers
118 views

With Inline script working, How can I make my external .js file work properly with my HTML file?

I'm currently working on a website utilizing ipfs & pinning services like Pinata. My last build works flawlessly when delivered locally or through a public gateway. When trying to pin my last ...
F0urL34f's user avatar
2 votes
4 answers
230 views

Convert xargs Bash command to Windows PowerShell for IPFS pinning

I'm not a specialist in IPFS and linux, but I'll try to describe a question as I can. There is a txt file with lines, representing a list of filenames and its IPFS CIDs (I suppose). The structure of ...
valen320's user avatar
0 votes
1 answer
171 views

NextJS Image src Ipfs link Error,next.js13

I upload img to ifps and successfully got cid.I visit this ipfs link by chrome and img dom src is ok, but failed in next Image. reaseon: connnet EIMEDOUT. Why? how to solve it? setImageUrl(`https://...
ssw's user avatar
  • 1

1
2 3 4 5
16