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.

Filter by
Sorted by
Tagged with
1
vote
1answer
140 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 ...
2
votes
2answers
371 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
90 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
39 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
23 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. ...
3
votes
2answers
920 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
504 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
3answers
535 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=...
2
votes
1answer
677 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
261 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
997 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
285 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
471 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(...
2
votes
1answer
176 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
348 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
157 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
715 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
878 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
485 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
122 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
121 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
252 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
519 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
84 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
375 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
141 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
608 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
221 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
317 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 ...
0
votes
2answers
1k views

How to store hash of an Excel file in Blockchain? [closed]

I'm sorry if this question does not seem to be logic. I want to store hash of an Excel file in Blockchain by following function : //byte fileHash; event LogsetFileHash(byte _hashValue); ...
1
vote
1answer
882 views

Can IPFS protect privacy? [closed]

I understand IPFS is public by design but can a record be placed in IPFS which is accessible only by the owners? Or accessible and readable (but excluding encryption solutions). Edit - This site has ...
-1
votes
1answer
481 views

How to display a list of ERC721 items starting from a pubblic address

I'd like to understand more about this ERC721 non-fungible tokens. I bought some cryptokitties (non 721), some art on KnownOrigin and now I want to display them in a web page. For Cryptokitties I'm ...
0
votes
1answer
2k views

Is it possible to derive public key from ETH address?

Goal (not asking XY question): send ETH to an address web3.js script monitoring it and acting upon transaction if msg.value > 0.1 ether then... ...encrypt a file with the public key of the msg....
5
votes
3answers
2k views

How long does Infura store a file on IPFS?

You can send files to Infura's IPFS servers but I don't know about the limits. How long is it stored for? What's the size limit?
1
vote
2answers
748 views

how ipfs work in ethereum blockchain [closed]

currently i am learning ipfs and ethereum based blockchain technology,I wanted to know can we store data on ethereum blockchain and yes then how. and also wanted to know how exactly ipfs work for ...
0
votes
2answers
2k views

Store and retrieve data of MongoDb documents using hash which is stored in blockchain

Blockchain can not store and shall not be used to store all the data of users. There are 2 reasons for that - 1) To store data in blockchain requires gas price (transaction cost) 2) Since all blocks ...
-1
votes
1answer
152 views

Documenting an DApp components

I am new to building decentralized applications and i am trying to document the process of building an DApp. Waht are the components as well as installations that are needed to build An Dapp ? (if is ...
2
votes
1answer
240 views

Organize storage of JSON array

I'm developing a Dapp based on Ethereum and I'm facing a problem that I don't know how to properly solve. I need to store a very big JSON array composed by more or less 10k object where each object ...
0
votes
4answers
339 views

Accessing DAPPs through HTTP

The blockchain is all about serverless and removing the third party. But I saw many DAPPs accessible through HTTP. Isn't this breaking the serverless concept? I read in a lot of places that IPFS aims ...
0
votes
1answer
214 views

How fast and scalable is a Dapp build on ethereum?

I am a beginner to Dapps on ethereum and smart contracts but I wanted to ask three questions on building on top of ethereum. Firstly, how fast would an Dapp with a token will the transactions per ...
0
votes
1answer
183 views

What is the right way to access DAAPs?

I am a newbie and I am a bit confused about the deploying process of the DAPPs, I have some unclear points Can I access DAPPs outside Mist browser? Can I access them using Chrome for example? ...
0
votes
3answers
215 views

Ethereum vs InterPlanetary

I've been reading about Ethereum and it's fundamentals for a while now. I wonder what is difference between Ethereum and InterPlanetary File System ?
5
votes
1answer
2k views

IPFS hash algorithm

How actually is an IPFS hash (ipfs add) is generated? I'm looking for step by step operations done on input(bytes/string) to get output(in this case IPFSHash)
1
vote
1answer
318 views

Using web3.js to do base58 (ipfs) encoding and decoding?

Is it possible to use the web3.js libary to do base58 encoding and decoding? It seems that web3.js includes the bignumber library, but I'm unsure as to whether this can handle the base58 encoding ...
4
votes
3answers
1k views

Does it cost gas to access data stored on the IPFS with a smart contract?

I want to store about 4MB of data on the IPFS. I then want to create a smart contract that can access the data or a subset of the data on the IPFS. I know that data already stored on the Ethereum ...
10
votes
5answers
1k views

IPFS conditional access control through ethereum smart contracts

This question is about combining IPFS with Ethereum smart contracts to check conditions and encryption to restrict access. One-on-one file sharing with a known recipient is not an issue. The 'sender' ...
1
vote
1answer
75 views

Query multiple derived contracts from contract factory

Say a contract factory is used to spawn multiple child contracts, each with associated data within them. The contract factor stores all addresses of the derived contracts along with a unique name of ...
0
votes
1answer
269 views

IPFS code needing extra JS Scripts with Solidity

So I created a truffle folder for solidity, wrote down the basic test.js and ipfsContract.sol needed (Creating a form in IPFS for users to enter data). HOWEVER, on doing truffle test I get 0 passing ...
1
vote
0answers
232 views

I get some “POST 404 (Not Found)” when I deploy the IPFS webui in production

I followed all the guidelines to deploy property this helpful tool. When I make it in my local machine, all works fine. But when I try to deploy the same in a production server, it shows me some 404 ...
2
votes
4answers
1k views

Would it make sense to use a SQL database to store the data of a Dapp?

Let's say that I want to develop a Dapp and I need to store different information about the users. This information must not be public as not all the users are allowed to see all the information ...