Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ipfs]

IPFS (the InterPlanetary File System) is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.

0
votes
0answers
10 views

IPFS dynamic content

Can my users store dynamic content on IPFS and how that will reflect on my dapp, what will happend when everytime user can update the state of the app. How this will reflect it? Imagine something like ...
0
votes
0answers
7 views

Can't share my file via global ipfs (local version available)

I'm new in IPFS. I installed it, was run ipfs init, then ipfs daemon and everything seems ok. After that, I upload an 86kb image via web UI (127.0.0.1:5001/webui) and waiting more than 7 minutes for ...
0
votes
0answers
22 views

IPFS image download with HTML

I have searched quite a lot now about how I can download a photo stored with IPFS having the hash in HTML. I have tried using the hash and <a href={`https://ipfs.io/ipfs/hashKey`} download="...
0
votes
0answers
31 views

ipfs.files.add(Buffer) function causing TypeError: Cannot read property 'add' of undefined

I am trying to upload an image to ipfs using ipfs.files.add() function but it is causing me this error Uncaught TypeError: Cannot read property 'add' of undefined at App.onSubmit (App.js:70) at ...
0
votes
0answers
4 views

showing unknown command “API.HTTP”

For configuring CORS in IPFS config i executed command ipfs config --json API.HTTP Headers.Access-Control-Allow-Methods "[\"PUT\", \"POST\", \"GET\"]" but it giving error unknown command "API.HTTP". ...
0
votes
1answer
34 views

getting error while generating key after uploading file into IPFS infura

I'm getting an error while generating key after uploading file into IPFS infura. Sample code given below var ipfsAPI = require('ipfs-http-client'); const ipfs = ipfsAPI('ipfs.infura.io', '5001', { ...
0
votes
1answer
30 views

Resource files are not not publishing in ipfs name publish

I made sample dapp application for interacting with smart contract and i developed a basic ui when i am publishing it to ipfs like i did seeing a tutorial and ipfs documentation, i can get only index....
0
votes
0answers
39 views

Migrating or representing a Microsoft SQL Database on the Chain

I am wondering what is the best way to migrate or represent a massive, 50 table, Medical Health Records SQL Database on the Blockchain. Is it best done with IPFS hash on Ethereum or is Hyperledger a ...
1
vote
1answer
172 views

how to upload file into ipfs from node js without uploading files into node js server [closed]

I need to upload multiple files into ipfs from node js. Flow: file(html,angularJS) --> node.js --> IPFS --> ipfs hash save into DB. I have sent a file from HTML(angularJS) and I got the ...
1
vote
1answer
62 views

ipfs daemon error?

bc@bc-HP-Pro-3090-Microtower-PC:~/supply-chain$ ipfs daemon --writable=true Initializing daemon... Adjusting current ulimit to 2048... Successfully raised file descriptor limit to 2048. Swarm ...
2
votes
0answers
42 views

error when trying to upload picture from ipfs

$("#image").change(function(event) { const file = event.target.files[0] reader = new window.FileReader() reader.readAsArrayBuffer(file) }); function saveOnIpfs(reader) { return new ...
3
votes
0answers
45 views

Who hosts IPFS?

I'm trying to get my head wrapped around how IPFS actually stores files. There is no IPFS coin, so who is hosting these files and are they getting paid to host them?
0
votes
1answer
40 views

Key-value immutable storage: on-chain vs IPFS

I'm currently working on a D-App for a client. It's basically a temper-proof immutable storage of 'objects', each object being defined with 8 key-value pairs (strings) and a collection of pictures. ...
0
votes
1answer
53 views

dApp Tech Stack

So I'm looking into building a dApp with standard app I functionality like user login/posts/likes/comments etc. Along with harnessing the power of ethereum to support betting and donations. Here is ...
1
vote
1answer
272 views

IPFS gateway not getting my files , Keeps on loading without any errors

After making all the client side scripts inside a folder which are needed for my website (in dist folder) checked with ipfs swarm peers : shows many results then adding the files with ipfs add -r ...
2
votes
1answer
141 views

IPFS File upload

I am working on an idea of uploading a file on IPFS. But the requirement is, the uploaded file should be available for view only to the intended group of people. The code to upload the file is in JS. ...
1
vote
1answer
159 views

Dapp User Account Storage and IPFS/infura

I'd like to build a dapp utilizing the power of the Ethereum blockchain and IPFS. Right now, my plan is to have users sign up to use the app and store their account data + files on IPFS through a ...
1
vote
1answer
39 views

Inspecting IPFS files

Is it possible to store / catalogue every file which is being published over IPFS ? Is only encryption the viable way to securely publish files over the internet ?
1
vote
0answers
55 views

Image and file storage in block chain

Is it possible to store a base64 image code as string in block chain? I know we can use IPFS or Swarm as a tool to store an image or a document, but if someone gets to know about the hash anyone can ...
0
votes
2answers
92 views

Creating a simple DApp [closed]

I want to implement the "Decentrilized Gallery", and implement it to the blockchain(ethereum) and it's kinda will work like: Basic html page with a button in the middle to choose a picture from ...
0
votes
1answer
135 views

IPFS versioning - How to get all files from the IPFS key?

Based on the below code, im able to add a file**(dataobj.txt --QmUUHKjR5ZdrrYmxpXyPrYP3eMyhv9FnRKo1Duv9stzmmw)** and publish a file and then assign to the key "myIPFSKey". Step 1: ipfs add -r ipfs/...
1
vote
1answer
78 views

IPFS Versioning for dynamic content

is it possible to keep versioning in IPFS? Like im saving one row of record like pid:1, mid:3, status: started --> v1 pid:1, mid:3 status;completed --> v1.1 is there any way to implement ...
1
vote
1answer
140 views

How to point a domain registered with ENS to IPFS content?

After securing a .eth domain, how do you point the domain to resolve to an IPFS hash?
1
vote
0answers
37 views

How to Connect IPFS client in xamarin forms.?

i need to start ipfs client in My xamarin forms app.Now with the emulator it is working but when it comes to device i don't know how to connect.?I want to connection for both platform(ios and android)....
1
vote
0answers
31 views

IPFS Protocol upgrade or migrations

How would I migrate from IPFS, let says that I got 10M files linked by IPFS, and I want to migrate all of them to Swarm, how would I do that? The question in a different way: I want to use a new ...
1
vote
0answers
22 views

Our vendor created the IPFS and Ethereum platform to store the PDF documents. How do i use the same code in Desktop Application

I am a quiet layman in IPFS and Ethereum. Our vendor created the web application which stores the documents IN IPFS (Ethereum). Now, we do need to do the same in the desktop application also. ...
1
vote
2answers
366 views

How much does it cost to store each IPFS hash in Ethereum blockchain

I've looked in some of the resource on calculating the Gas costs like this spreadsheet I found on this thread. But the spreadsheet only have computations gas costs but not storing of hashing. I'm a ...
1
vote
1answer
223 views

I am new to IPFS. Is there any need for checking where the IPFS file originates from for security purposes?

I want to identify the ipfs source node. Is it necessary to do that in IPFS?
3
votes
1answer
228 views

IPFS. Add a directory recursively with an HTTP api

Is there an HTTP api equivalent of doing: ipfs add -r resources/public where resources/public is a directory with a static website (index.html in the root, css, js etc). Doing: curl -F file=...
1
vote
1answer
174 views

Does IPFS has limits? [closed]

I need to upload 8Tb data from Ubuntu server to IPFS. Does it possible, I mean does IPFS has limits? Does this data will be online if my server down? Who really host files? Does owners of https://...
2
votes
2answers
97 views

How do I update data for project using blockchain (Ethereum)?

I am very new to creating blockchain dapps, so some guidance would be appreciated. I am conceptualizing how to approach creating a private blockchain so that users can communicate about the status of ...
3
votes
2answers
516 views

IPFS file download

I wanted to check that is there any way i can download the IPFS file without running the local demon. I am working on a Dapp where i will be uploading the files over IPFS and sending the link of it to ...
1
vote
1answer
140 views

How to encrypt file before storing into IPFS network in Javascript? [closed]

I want to encrypt file before storing into IPFS network so that only person who is uploading a file should be able to decrypt.
1
vote
1answer
229 views

Ipfs.files.add promise throws error [closed]

I'm trying to upload a simple image file to IPFS using ipfs.files.add(). However, I can't seem to figure out why the promise throws an error. Here's the code: $(function() { $(window).load(...
1
vote
1answer
109 views

IPFS Config on windows 10

I'm trying to execute these commands on windows 10 ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]' ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\",...
0
votes
2answers
165 views

DApp using IPFS Ganache and MetaMask

I am following a tutorial (hosted by dappuniversity) on youtube regarding DApps using IPFS. I have done exactly everything as mentioned in the tutorial but i get this errors: GET https://ipfs.io/ipfs/...
0
votes
1answer
115 views

How can I connect my static page (Dapp) to my ipfs node?

The very naive way I'm going about it is: const node = new Ipfs({ host: "xxx.ip.address.xxx"}); When I save an image from the static page, it does give me an ipfs hash back and save it to the local ...
3
votes
1answer
497 views

How long do my files stay on IPFS when I upload it?

I'm trying to grasp the concept of how IPFS works. Say if I upload 1GB of data to IPFS. How long does it stay there? Or do I have to leave my computer on at all times for the file to be live on the ...
0
votes
2answers
432 views

Upload file to IPFS from HTML page

I am trying to upload the file to IPFS from HTML page and below is my code but I am getting below error. Uncaught ReferenceError: Buffer is not defined I have imported below statements <script ...
3
votes
3answers
302 views

RE-Encrypt file in IPFS

If I have an encrypted file in IPFS with a symmetric key that I share, can I after that decrypt and re-encrypt that file with a different key in order to revoke access?
0
votes
1answer
86 views

How to generate thumbnails from IPFS URL?

I am trying to design a dapp which displays files uploaded to IPFS by a user. On my web page, I wish to display thumbnails of all the files uploaded by him. For this, I designed below mentioned EJS ...
0
votes
2answers
90 views

Decentralized dapp music player using smart contracts on ethereum?

Has anyone made a decentralized music player on ethereum using smart contracts? Say if I wanted to upload a mp3 file to IFPS and everytime someone plays the midi file the smart contract will deduct ....
0
votes
1answer
108 views

How to pass and store more than 16 arguments in a contract [duplicate]

I'm trying to create a contract which stores simple user profile information like name, email, age, address, etc (all string/bytes type) and I've come across the size restriction issue when passing ...
2
votes
2answers
410 views

MongoDB vs Ethereum Swarm

I am designing a DAPP. I have two options available for storage MongoDB OR Ethereum swarm(OR IPFS). As MongoDB also replicates data to multiple shards fault tolerance is available in MongoDB. What ...
0
votes
1answer
70 views

What would an Etheruem-like blockchain look like if each block were just an IPFS hash?

I see a lot of people tout the enormous benefits of using IPFS as a store of data. Meanwhile, the Ethereum blockchain is over 1TB in size, with quesitonable need to keep the earlier blocks. In ...
1
vote
2answers
303 views

Storing data on IPFS using KMS and ethereum

I am trying to build a blockchain on ethereum but keeping the data related to blocks in some distributed file storage system like IPFS or Storj and storing the hash of data in blocks. But we need our ...
3
votes
0answers
93 views

Evaluation of DApp (Smart Contract) storage concept with IPFS

i hope you can help me improve or validate my storage concept. I am glad for each suggestion. Since this is my first DApp, i might not consider all possible options for my problem. To understand the ...
0
votes
1answer
455 views

Transaction's data vs Smart contract's data

with reference to this question. Store specific data related to users I wanted to ask is there any difference between transaction's data and smart contract's data? how is transaction's data is ...
1
vote
1answer
155 views

Does Swarm caches blocks like IPFS do?

When we retrieve a file through IPFS, it caches the file in IPFS' repository. Later when we want to fetch the same file or its updated version, only block that contains the changed character will be ...
0
votes
1answer
181 views

A byte array with super large size : is this practical in Solidity?

I want to store cells of an Excel file with 94 rows and 104 columns (it means 9776 cells!) in a byte array as follows : I define my array as follows : struct StateStruct { bytes32 ...