Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 31933

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.

2 votes

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

IPFS is not a miracle worker. It is simply an external provider which is 'convenient' to use with Ethereum smart contracts. … The only difference is the IPFS usage costs, but that has nothing to do with Ethereum per se. The gas cost for using IPFS is the cost of storing the hash and whatever else your contract needs. …
Lauri Peltonen's user avatar
2 votes
Accepted

Who hosts IPFS?

As was already hinted Filecoin is aiming at using IPFS to incentivize the sharing of data. … In my opinion IPFS is not useful as a decentralized protocol without someone writing a platform such as Filecoin on top of it to add incentives. In a more centralized environment IPFS has other uses. …
Lauri Peltonen's user avatar
0 votes

Is it necessary to convert a file into a "Buffer or Readable stream" before adding it to IPFS?

That depends on the service you use to upload the files. They may have different requirements, but the end result is the same. Using buffers/streams is mostly useful if you're dealing with lots of dat …
Lauri Peltonen's user avatar
0 votes

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

One option is to encrypt the data and send it to the smart contract. The data would be decrypted/encrypted only outside the blockchain. Disadvantages are: The smart contract can't read the data as i …
Lauri Peltonen's user avatar
1 vote

Key-value immutable storage: on-chain vs IPFS

IPFS hashes are immutable so those should be on-chain. As you have noticed, you will face problems with accepting 8 strings as a parameter. … I'm assuming your address[] pictures refers to the IPFS hashes? They are not of address type, but of type string - or even better - bytes32. …
Lauri Peltonen's user avatar
1 vote

Does it align to the base concept of blockchain, if one stores the hash value generated from...

Contrary to popular belief IPFS doesn't make anything decentralized, per se. … The protocol enables decentralization but in reality if you upload files to IPFS it's all centralized: the data resides only in the IPFS nodes to which you upload it to. …
Lauri Peltonen's user avatar
1 vote

Accessing DAPPs through HTTP

If we could connect to the Internet with decentralized means (IPFS maybe?) we could possibly also connect to Dapps without centralized intermediaries. …
Lauri Peltonen's user avatar
2 votes

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

Ethereum is not very suitable for storing files or almost any reasonable amounts of text data. The costs of using the contracts would be too high. At most you should store a little bit of text and som …
Lauri Peltonen's user avatar
0 votes

What are Storj and Sia and how different are they from Swarm and IPFS

IPFS is a used a lot currently but it's still missing the incentives part which is planned (Filecoin). … This means nobody will have any incentive to host your data for you - basically whatever data you want to store in IPFS you have to host on nodes you control. …
Lauri Peltonen's user avatar
1 vote

Storing data on IPFS using KMS and ethereum

Your smart contract can not access the data due to the following issues: 1) The data is outside the blockchain and contracts can't access anything outside the blockchain 2) Even if your contracts co …
Lauri Peltonen's user avatar
1 vote
Accepted

How fast and scalable is a Dapp build on ethereum?

The idea also somewhat works except when there are sudden spikes in network usage. 2) Ethereum does not use IPFS as such. … IPFS is one option for storing data and is quite popular among Ethereum Dapp developers because Ethereum itself is quite bad for storing data inside its blockchain (it's very expensive). 3) Running your …
Lauri Peltonen's user avatar