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
11
votes
1answer
7k views

What are some proposed ways of storing data in Ethereum?

I keep reading that swarm or ipfs would be used for storage, but how would that work exactly? Would an ethereum contract store its data in these data blockchains? I thought ethereum smart contracts ...
25
votes
4answers
7k views

How to store IPFS hash using bytes?

Following Q/A (What datatype should I use for an IPFS address hash?) recommend us to use bytes to store IPFS hash. I was using following example(https://github.com/AdrianClv/ethereum-ipfs/blob/master/...
93
votes
5answers
44k views

What is the difference between Swarm and IPFS?

IPFS seems a little slow on existing dapps. will Swarm load content more quickly? Also- is there a roadmap for swarm?
6
votes
2answers
2k views

Can smart contracts compute on encrypted data?

There's a ton of super technical articles out there published about this, but I cannot understand them because I don't have a PHD in cryptography. So then, put simply, can I or can I not have smart ...
10
votes
1answer
5k views

How can I store big files on the blockchain?

I can hardly create transactions larger than 100kiB. I am wondering, is it possible to store huge files (several MiB or GiB) on the blockchain? If so, how?
20
votes
2answers
13k views

How can we integrate IPFS with ethereum in DApps?

How can integration of IPFS with ethereum be done in DApps? Which parts of a DApp will be on IPFS? Do any examples exist? If a DApp's site is hosted on github, is it not centralized?
28
votes
2answers
5k views

What is the distinction between libp2p, devp2p and RLPx?

What is the distinction between libp2p and devp2p? Do they refer to the same thing? How are they related to RLPx? In the libp2p whitepaper, dated Nov 2014, they appear to be the same thing: libp2p ...
16
votes
7answers
16k views

Question on the terms 'distributed' and 'decentralised'

I am writing a paper on distributed ledger technologies, an umbrella term I have borrowed to put everything that has any relation to blockchains and distributed consensus. Under this umbrella term I ...
4
votes
1answer
2k views

Creating a form in IPFS for users to enter data

I wanted to create a website and upload it onto the IPFS for users to upload data (like their picture, name etc.). But how exactly can I capture all details user upload, get the IPFS Hash produced ...
9
votes
1answer
5k views

Nested structs in solidity?

Is it possible to have a struct inside a struct? I am not sure about the data type internals, but I was basically trying to do something like (pseudo-code): library IpfsUtils { struct IpfsHash { ...
9
votes
1answer
676 views

Truffle framework with storage

How can I integrate truffle with swarm or ipfs for permanent document storage? Are there any libraries?
11
votes
4answers
6k views

How to add a file to IPFS using the API?

I have tried some APIs of IPFS like cat, ls. But I am not able to add the file using API. As there is no proper documentation of IPFS API calls. How can I add a file on IPFS using API?
10
votes
1answer
4k views

What datatype should I use for an IPFS address hash?

Here is an IPFS hash: QmTfCejgo2wTwqnDJs8Lu1pCNeCrCDuE4GAwkna93zdd7d. According to IPFS docs, they are base58 encoded, and I assume the Qm is metadata (because they all share this). What is the most ...
22
votes
1answer
2k views

What would be needed to store the blockchain as a IPFS object?

In Christian Lundkvists blog post about possible uses for IPFS, he suggests that storing the Ethereum blockchain as an IPFS object could potentially decrease the size of the chain: We see the ...
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' ...
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?
2
votes
2answers
853 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 ...
5
votes
2answers
909 views

How to check provided string is a valid IPFS or IPNS path?

I want to check provided string is a valid IPFS or IPNS path or not under ipfs domain. For example when I do: ipfs ls <invalid-hash> //waits keep searching ... This will not return anything ...
1
vote
1answer
315 views

Where do you save the application data of a Dapp?

Let's say that I want to implement a Dapp similar to Facebook. Each user has its own profile, pictures and information. Usually you would use a database to store all this data. This guarantees that ...
3
votes
1answer
283 views

How does Ethereum enable self sovereign identity?

If everything on the Ethereum blockchain is public, then why is it apparently so useful for managing identity? From what I gather this has something to do with IPFS, but how does it all work? How do ...
1
vote
1answer
211 views

No output when writing data to IPFS and storing its hash through Solidity

So I am using truffle. Following from Creating a form in IPFS for users to enter data [check the code in answer], doing some changes: Contract name - IpfsContract.sol test.js uses the following JSON ...
0
votes
1answer
179 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? ...