So I'm new to this and trying to create contract to store Medical data. Is there a preferred limit to store data on the blockchain? And all of my function's gas requirement is over the limit. Is if because of the larger records? I have tried making smaller structures but still have same warnings.
Asked
Active
Viewed 1,048 times
1 Answers
1
It's not recommended to store large amounts of data on the Ethereum network. It is costly and slows the network unnecessarily.
See this answer, for an analysis of the price of storing data on the Ethereum network. (Approximately $76,000/GB).
There are other projects, such as Storj or IPFS, designed for decentralised data storage.
Filip
- 199
- 1
- 6
AnAllergyToAnalogy
- 3,553
- 11
- 23
-
That price was calculated in 2016. The price updated to the actual price of the eth today would be around $16 per KB which would be something like $16k for GB – qbsp Mar 27 '18 at 10:21
-
@mirg I think your cost are per mbyte, for 1gbyte was about $16M at a price of 450 USD/ether on Mar 27, 2018. – Ismael Aug 09 '18 at 23:47
-
1@Ismael I agree, it was a typo – qbsp Aug 10 '18 at 08:12