Stack Exchange Network

Stack Exchange network consists of 174 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
9 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
12 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
votes
0answers
9 views

How to Create IPFS Hash in C# or Xamarin Forms.?

For example if there is image with name funImage.png...when we add it to IPFS then it gives me "QmXExS4BMc1YrH6iWERyryFcDWkvobxryXSwECLrcd7Y1H" and when i am creating hash value with multihash for ...
1
vote
0answers
10 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. ...
0
votes
2answers
74 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 ...
0
votes
0answers
29 views

How do I connect multiple clients to Ganache?

How do multiple clients interact with the same webpage using Ganache? Right now, I can get it to where it uploads a document for one client and displays the document on the screen on a private ...
1
vote
1answer
51 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?
0
votes
0answers
22 views

Can we still use parallelism with IPFS to get a single large file?

I have a private network set up for IPFS with 4 nodes. And I have only 1 copy of file (size : 20GB ) in network. Right now if I want to download that file using IPFS it takes about 30-45 minutes that ...
0
votes
0answers
43 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
57 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
69 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 ...
2
votes
1answer
262 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
43 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
83 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
45 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
1answer
64 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
48 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 ...
0
votes
0answers
36 views

IPFS in android using java

need pro help over here. I have an android project that use IPFS (InterPlanetary File System) to transfer few files and get the keys to store. I been searched in various online pages and read lots of ...
1
vote
1answer
258 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
234 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
193 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
49 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
61 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
49 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 ...
1
vote
2answers
280 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
51 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
229 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 ...
2
votes
0answers
70 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
325 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
90 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
89 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
380 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
334 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
219 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
782 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....
0
votes
0answers
60 views

couldn't connect node ec2 (private blockchain)

I build private blockchain on ec2 and I use public ip (http) to connect to my website (web3) when I test web on localhost. it can connect to private blockchain but if I test website from ipfs (https). ...
4
votes
3answers
928 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
377 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
694 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
48 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
118 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
213 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
120 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
105 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
2answers
137 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 ?
2
votes
1answer
300 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
103 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 ...
2
votes
3answers
737 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 ...
9
votes
5answers
607 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
49 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 ...