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
3
votes
1 answer

Handling user data and storage in Ethereum Dapps-Understanding

I've just started writing smart contracts and developing Dapps on the Ethereum Blockchain, basically users interacting with the smart contract and storing some lightweight data into the blockchain. I have a general but very vague idea on how to do…
confusedstudent
  • 353
  • 3
  • 11
3
votes
1 answer

Is the IPFS content received always encrypted?

I have a newbie question about IPFS content. I can request a content with hash address. Is that is the content returned by the hash address always encrypted? Or the content returned can be either encrypted or plain without encryption and if…
user938363
  • 9,990
  • 38
  • 137
  • 303
3
votes
1 answer

Why am I able to access files despite not pinning them?

I'm running an in browser instance of js-ipfs on a web page. When a user clicks an upload button, they can select a file which will then be added to the IPFS node. I've disabled automatic pinning in my .add() call by passing {pin: false}. I've…
user339946
  • 5,961
  • 9
  • 52
  • 97
3
votes
2 answers

how to start the api gateway when starting a js-ipfs node?

When a js-ipfs node is started programatically using the below code in node.js app, it is launching the swarm, allowing to add files and query them back. // code from the docs: https://github.com/ipfs/js-ipfs#use-in-nodejs const IPFS =…
Gopalakrishna Palem
  • 1,705
  • 1
  • 20
  • 34
3
votes
1 answer

JS-IPFS http client via browser fails due to CORS issue

I am doing some research and testing based on the js-ipfs-http-client browser example here When I try to get a response from IPFS, I receive the following warning from the firefox console: Cross-Origin Request Blocked: The Same Origin Policy…
John Doe
  • 108
  • 12
3
votes
1 answer

How to shrink the storage size limit of IPFS?

I am using IPFS and trying to understand its structure. ISSUE: 1 The issue I am facing is that when I am trying to shrink the storage size of IPFS (for testing it is taking so long time, hence I just want to shrink File System for a while) but is…
Yuvraj Takey
  • 87
  • 1
  • 11
3
votes
3 answers

IPFS Swarm and IPFS Cluster

Consider 3 IPFS peers A, B and C When peer A establishes the connection with peer B and C (using ipfs swarm connect) Will it form a cluster with A as leader? If yes, Do we need to manually create secret key? and Who and how the key is managed?
kalpana
  • 31
  • 1
  • 2
3
votes
1 answer

How to improve download speed of files coming from IPFS?

I've video files that are showing on my Web Page. The average size of a single file is 20 MB. The source of those video files is coming from IPFS. My IPFS URL looks like this: https://ipfs.io/ipfs/ + ipfsHash I've got a decent internet speed i.e.…
3
votes
2 answers

Upload Array in IPFS

I know how to upload file in IPFS but what if I want to upload simple JS array of strings? it returns unknown file and I can't see it's content var bufferFile = Buffer.Buffer.from(uuidArray); ipfs.files.add(bufferFile,(error,result)=>{ …
O. Shekriladze
  • 1,346
  • 1
  • 19
  • 36
3
votes
1 answer

Using Go-IPFS Programmatically

I would love to be able to use Go-IPFS within my Go program, however it is totally undocumented. This is where my reasearch lead me: package main import ( "context" "fmt" "io/ioutil" "log" "os" "path/filepath" …
Aurelius
  • 689
  • 1
  • 6
  • 16
3
votes
1 answer

Is it possible to derive an IPNS name from an IPFS keypair without publishing?

We would like to allow users to restore their databases from an IPNS pointer based on IPFS key names that they maintain. However, due to there being only two endpoints for IPNS name/resolve and name/publish, it doesnt appear that one can derive the…
user142951
3
votes
1 answer

JS-IPFS gives low performance compared to IPFS

I'm using js-ipfs server side to 'upload' files on IPFS, but it seems like it's way less efficient than the command line ipfs daemon and ipfs add someFile. Server-side, I instanciate an Ipfs object and then I try to storeData with a path and the…
Yooooomi
  • 895
  • 1
  • 8
  • 20
3
votes
4 answers

IPFS file not downloading

I am using ipfs to share files with other users, I upload it and then stop the ipfs daemon. So, ideally the file should have been distributed across other peers and downloadable to the recipient user irrespective of the fact whether the sender…
Mahesh H Viraktamath
  • 818
  • 3
  • 14
  • 34
3
votes
1 answer

Alternative to ipfs in hashgraph implementation

Is there any alternative to ipfs for implementing hashgraph ? Which is the most suitable technology to handle communication between nodes in a hashgraph implementation over a distributed network?
3
votes
1 answer

What are detailed differences between IPFS vs Storj vs Sia vs Filecoin vs Maidsafe? And which one is the best to use for dapps?

I found lots of decentralized data storage out there but I am a little bit confused about these services. I am not able to figure out which service is best in which scenario? If anyone knows any examples related these then please give. I have found…
navjotdhanawat
  • 333
  • 1
  • 3
  • 13