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
5
votes
3 answers

OpenSea IPFS Metadata

I have been testing my erc-721 contract with a link to my ipfs hash ipfs://QmeB87321i121xN88bXZzmjSUXqS46B8bU3H9ocyTb8tJf as the base token URI. The contracts are deployed and the items have been minted by me, but OpenSea can't read that metadata…
YourNewEmpire
  • 153
  • 3
  • 9
5
votes
1 answer

Can not access file in ipfs

In my ubuntu 18.04 ipfs desktop client i have uploaded a file. But can not access the file with link, which i obtained from Share link option. Here is my shareable link. I can not access the other file too, link. why is this happening?
mahfuj asif
  • 1,691
  • 1
  • 11
  • 32
5
votes
2 answers

How can one list all of the currently pinned files for an IPFS instance?

According to https://docs.ipfs.io/guides/concepts/pinning/ , running the command ipfs add hello.txt apparently "pins" the file "hello.txt", yet why don't I see the file listed afterwards when I run the command ipfs files ls? It only lists files I…
Joncom
  • 1,985
  • 1
  • 18
  • 29
5
votes
1 answer

Failed to load PDF file in React js

I am on working on a simple react web app that adds and retrieves files to/from IPFS. When a file is added to IPFS, the name of the added file (i.e Medical file) as well as a "View file " button will appear on the page. When the button is clicked,…
Mo Mo
  • 79
  • 1
  • 2
  • 7
5
votes
1 answer

Can an ipfs node query a remote peer to list their pins?

The IPFS cli/http api has an ipfs pin ls command that lists pinned hashes. However, this only works to query the local node. Is there a way to run the same command against a remote node, e.g., something like $ ipfs pin ls Which would act…
user10917065
5
votes
1 answer

How can I uninstall IPFS completely and restart everything from scratch and get a new peer id?

How can I uninstall IPFS completely and restart everything from scratch and get a new peer id? I tried to delete the go-ipfs folder but I can still get Error: ipfs configuration file already exists! when I do ipfs init.
Mushahid Khan
  • 75
  • 1
  • 7
5
votes
2 answers

How to use IPFS without providing online access for specific folders and files?

IPFS provides useful caching mechanism. My goal is to use IPFS caching mechanism without providing an online access. Even I do not share the ipfs-hash of the file with other users, I want to disable probability for other users to access/pull that…
alper
  • 2,919
  • 9
  • 53
  • 102
5
votes
0 answers

Is there a way to run an IPFS daemon on heroku?

I have a Django app on Heroku that needs to interact with IPFS. has anyone found a way to run a IPFS daemon? It is needed in order for the python IPFS API to be able to read and write files from IPFS. Google searches for IPFS on Heroku are…
fccoelho
  • 6,012
  • 10
  • 55
  • 67
5
votes
2 answers

How to send a file from the browser to a remote IPFS gateway

I have an input field that's calling a _getFile function the get file _getFile(event) { this.loading = true; const file = event.target.files[0]; let reader = new window.FileReader() …
Bill
  • 4,614
  • 13
  • 77
  • 132
5
votes
1 answer

How can I upload form/field contents to an IPFS node using Django?

I'd like to override the upload behavior of a django ImageField so that after uploading to some url, the file will be added to an ipfs node. For example, my model is something like: class Profile(models.Model): picture =…
David J.
  • 1,753
  • 13
  • 47
  • 96
5
votes
2 answers

How can I create a download link for IPFS-hosted files?

I have been playing around with IPFS a lot recently, and have been wondering how to make a download link for files that gives them a custom name. The standard tag download attribute doesn't work:
xyz
  • 113
  • 9
4
votes
1 answer

I encounter a CORS error when using the Tatum IPFS API

I have an NFT platform where I am using tatum to upload NFT image and metadata to IPFS. However, I get a CORS error. I am using the following API: const form = new FormData(); form.append("file", "[object Object]"); const resp = await fetch( …
frawd
  • 149
  • 2
4
votes
1 answer

Change Hedera NFT metadata after minting

Is there a way to change a Hedera NFT metadata after it has been minted? My goal is to implement similar NFT minting flow as is usually used in other NFT projects, which is to first have the prereveal metadata and on the day of reveal change it to…
Nal Luksic
  • 175
  • 6
4
votes
4 answers

Module not found: Can't resolve 'ipfs-http-client' in 'D:\Pro\src\components'

I am trying to send files to ipfs using a website in node-js. I am using the ipfs-http-client module. When i try to access the module using require I keep getting this error : Module not found: Can't resolve 'ipfs-http-client' in…
Sneha
  • 41
  • 1
  • 2
4
votes
1 answer

What is the difference between ipfs.add and ipfs.dag.put?

Using the js-ipfs lib, I'm struggling to find good information regarding the difference between the following commands: > await ipfs.add('hello world',{cidVersion:1}) { path: 'bafkreifzjut3te2nhyekklss27nh3k72ysco7y32koao5eei66wof36n5e', cid:…
cwarny
  • 997
  • 1
  • 12
  • 27