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. DAG get content from web browser

I send request to IPFS through HTTP Client: var cleanScript = { 'type': 'script' }; var formData = new FormData(); var jsonse = JSON.stringify(cleanScript); var blob = new Blob([jsonse], {type:…
Narnik Gamarnik
  • 1,049
  • 1
  • 16
  • 35
0
votes
1 answer

solidity drive app using the traffic react box

I was making solidity drive app using the traffic react box. Drag the file to your browser to upload the file to ipfs and attempt to save the returned hash value by calling the deployed smart contact. When the file is decried, the error 'POST…
Crea
  • 37
  • 4
0
votes
1 answer

How to distinguish "ipfs object links" "ipfs object stat" ? I mean the size of file

I read at https://docs.ipfs.io/reference/api/cli/#ipfs-object-links to figure out my problem. I mean the method to calculate the size file. ipfs object stat ipfs object links
Nguyen N
  • 1
  • 2
0
votes
1 answer

How to send direct message to ipfs peer with http api

I want to use ipfs + http api for chat-like communication. Simple scenario: 1) Client subscribes to pubsub topic with /api/v0/pubsub/sub 2) Client gets peers for topic with /api/v0/pubsub/peers 3) Client send direct message to peer But I didn't…
zella
  • 4,645
  • 6
  • 35
  • 60
0
votes
0 answers

Textile Go - Unclear description for adding files to a thread through HTTP API

I'm trying to upload a file through a POST request to a local Textile Cafe node (using Postman). I tried different configurations to guess the correct body insertion scheme, but I only got this error message (link…
0
votes
1 answer

how to customise docker and ipfs with a config file

I get this error: sudo docker run -d --name ipfs-node \ -v /tmp/ipfs-docker-staging:/export -v /tmp/ipfs-docker-data:/data/ipfs \ -v /home/ubuntu/.ipfs/config:/data/ipfs/config \ -p 8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001 \ …
Trevor Oakley
  • 438
  • 5
  • 17
0
votes
1 answer

Newtonsoft Json - Losing object reference from Child to Parent object

I am trying to create an object structure like this Universe - contains a collection of Worlds Worlds contains a collection of areas. All 3 of these types extend from a base class which has a property of 'ParentObject'. Worlds will reference the…
Baaleos
  • 1,703
  • 12
  • 22
0
votes
1 answer

Secrecy in IPFS?

I have some questions regarding the functioning of IPFS. These are the following: if I am the only one that has the Merkle root hash of an uploaded file on IPFS, is it infeasible for other peers to download/find this same file? related to point…
0
votes
0 answers

How can I show file in DOM which I am fetching from IPFS without completely loading it first?

Is it possible to achieve below stated goal, if yes, then how? I have uploaded a video file on ipfs and I have its hash now. I used this hash in ipfs.cat function to get that file. I am successfully getting the file and displaying it in DOM which…
Asad Ullah Khalid
  • 140
  • 1
  • 3
  • 13
0
votes
1 answer

Basic question about pinning / getting a file

I've read a bit about IPFS and even added a feature to my comic book reader [1], but I am having trouble getting the basic flow to work: I created a VM running on Google Cloud that has go-ipfs installed ipfs daemon is running on the VM, I added a…
codedread
  • 1,312
  • 11
  • 18
0
votes
0 answers

Issue while addding files in IPFS server having cloudflare enabled

I have a ubuntu server having cloudflare enabled in it. I have set up the nginx for reverse proxy, I have defined the ports and done IPFS setup. While adding the file on the server I am getting the error that says: Unexpected token < in JSON at…
Danish
  • 43
  • 5
0
votes
1 answer

Why IPFS's multihash can decode?

I have read this stackoverflow post: How to create an IPFS compatible multihash $ echo "Hello World" | ipfs add -n $ added QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvs8u QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvs8u base58 12 - 20 -…
user76333
  • 153
  • 1
  • 13
0
votes
1 answer

Where does data initially get sent when a file gets added on IPFS?

I'm running a browser node with js-ipfs by importing the js library from a CDN. I'm adding a file by calling ipfs.add() and I've set a parameter option { pin: false } to help with debugging. I am logging dataReceived and dataSent as given by the…
user339946
  • 5,961
  • 9
  • 52
  • 97
0
votes
1 answer

What are service worker gateways used for?

I've noticed that you can launch a node in a Service Worker with js-ipfs. I'm curious to know what the difference between a service worker implementation and simply importing a bundled javascript library is. Example of a service worker gateway. I'm…
user339946
  • 5,961
  • 9
  • 52
  • 97
0
votes
1 answer

InterPlanetary File System (IPFS) security question regarding illegal files

With IPFS being distributed p2p storage and sharing, isn't there then a chance that someone could store something illegal on your machine if you are an IPFS provider? Is there some mechanism that IPFS systems use to prevent this? How would someone…
W. Churchill
  • 346
  • 1
  • 7
  • 28