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

Node-less way to generate a CID that matches IPFS-Desktop CID

I'd like to generate a CID (Content identifier) for a file in javascript without having access to an IPFS node or the internet. I've tried using js-multihashing-async to first hash the file and js-cid to generate a CID from the hash but I get a…
pale bone
  • 1,746
  • 2
  • 19
  • 26
11
votes
2 answers

Difference between solid and ipfs

Tim Berners-Lee recently announced Solid. How much is this different from ipfs and will it be possible to use them together?
11
votes
5 answers

How do I retrieve the hash of ipfs object?

After I add a file to ipfs using ipfs add hello - how to do I retrieve the hash for the file if I lose it? I guess I'm expecting ipfs info or something similar?
significance
  • 4,797
  • 8
  • 38
  • 57
10
votes
1 answer

How to create a directory and add files to ipfs using js-ipfs with pure javascript only

The only answers I can find in my research cover uploading multiple files from a directory on a PC. That is not what I'm trying to do. I'm trying to create a directory in ipfs and then add new files to that directory using js-ipfs with pure…
Dshiz
  • 3,099
  • 3
  • 26
  • 53
10
votes
4 answers

How can you list all file objects loaded in IPFS?

I can add recursively a bunch of files within IPFS with $ ipfs add -r data/ How can I get a list back of all loaded file objects [in a specific directory]? Similar to aws s3 listObjects... The ipfs file ls command does not seem to be recursive. I…
Pat Cappelaere
  • 391
  • 1
  • 2
  • 11
10
votes
3 answers

How to run several IPFS nodes on a single machine?

For testing, I want to be able to run several IPFS nodes on a single machine. This is the scenario: I am building small services on top of IPFS core library, following the Making your own IPFS service guide. When I try to put client and server on…
Long Hoang
  • 567
  • 5
  • 15
10
votes
1 answer

Difference between IPFS and Filecoin?

They both seems to store files in a decentralized network. So what's the difference between them in terms of data structure and algorithms they use? And also what's the difference between them in terms of use cases? If I store a file in IPFS or…
Narayan Prusty
  • 2,501
  • 3
  • 22
  • 41
9
votes
2 answers

How to do cross-origin requests on IPFS

So I want to put a website on ipfs, but it has some javascript which calls out to a server that is not the ipfs gateway, so I get cross origin errors. Any idea how to do this?
syzygy
  • 1,356
  • 3
  • 16
  • 28
9
votes
1 answer

Decentralized chat application using IPFS

I am writing a decentralized chat application using nodejs, expressjs, angularjs, socket.io and ipfs.I am using libp2p to form the nodes that will communicate with each other over an open connection. Libp2p is a networking stack modularized out of…
Varun Agarwal
  • 1,587
  • 14
  • 29
8
votes
1 answer

Is there any way to force to update metadata on Opensea?

I tried to change token base URL to display the new images of NFTs on opensea.io. But it is not updated immediately. There is a way to update by specifying force_update=true on Rikeby testnet. But I don't know how to update it on mainnet. Will it be…
Liki Crus
  • 1,901
  • 5
  • 16
  • 27
8
votes
2 answers

How to stream Base64 data into a video

I am trying to get a video to load from a stream. I would like to be able to "play" the video even if the entire video has not "downloaded" yet. The base64 data is coming in as a stream of buffer chunks. const videoTag =…
now_world
  • 940
  • 7
  • 21
  • 56
8
votes
1 answer

Are CID different for the same file but uploaded by 2 users in IPFS?

If two users upload the same file onto IPFS at the exactly same time from 2 end devices on the same internal network (for example, same office sharing the internet link), are the CIDs of those two files different? If CID is different, then what…
user938363
  • 9,990
  • 38
  • 137
  • 303
7
votes
4 answers

Error uploading file to IPFS: HTTPError: project id required

Currently making a rudimentary DApp for posting chats, similar to twitter except built on a smart contract. I am using hardhat and running my app on localhost. When creating a profile I want users to be able to upload a profile picture, however…
7
votes
2 answers

How to fix 'TypeError: Buffer.from is not a function'?

Problem While trying to use ipfs-api in my application, I am getting below error: ERROR TypeError: Buffer.from is not a function at varintEncode (vendor.js:185602) at Object../node_modules/is-ipfs/node_modules/multicodec/src/varint-table.js …
Noopur Tiwari
  • 102
  • 1
  • 1
  • 7
7
votes
2 answers

Setting up IPFS Cluster on docker environment

I am trying to set up a 2 node private IPFS cluster using docker. For that purpose I am using ipfs/ipfs-cluster:latest image. My docker-compose file looks like : version: '3' services: peer-1: image: ipfs/ipfs-cluster:latest ports: …
Subhankar
  • 692
  • 7
  • 25
1
2
3
51 52