📜🔗 EOSfilestore - Immutable, censorship resistant, cheap, file storage on the EOS blockchain

in #utopian-io6 years ago (edited)

eosfilestore

Repository

https://github.com/grigio/eosfilestore

Introduction

EOSfilestore is a tool to upload files inside the EOS Blockchain as transaction actions for FREE. You just need enough staking for CPU and NET.

Basic usage

Currently eosfilestore is a very simple to use command-line tool.

$ eosfilestore push myfile.gif
...
b5407140a0f7b6365b2dcf1731f6ad50ee0502d052ecdb9da01700ecd398f759 cpu: 8757 net:1272
Done, uploaded myfile.gif in b5407140a0f7b6365b2dcf1731f6ad50ee0502d052ecdb9da01700ecd398f759

It will base64 encode the file and split it in several action transactions. The hash b5407140a0f7b6365b2dcf1731f6ad50ee0502d052ecdb9da01700ecd398f759 is the only information you need to rebuild the file back.

$ eosfilestore get b5407140a0f7b6365b2dcf1731f6ad50ee0502d052ecdb9da01700ecd398f759 x.gif
...
0fb2a1ebb57af6ba344ce43a10c88166c8c8b4b413652862266cfab4c0c95900
null
Done, saved b5407140a0f7b6365b2dcf1731f6ad50ee0502d052ecdb9da01700ecd398f759 in x.gif

Why would I want to store a file on the Blockchain?

Because you can. Jokes aside, there many benefits to store certain files on the Blockchain:

  • Time proof: You can demonstrate publically you know, or you have, something to a certain date in the past

  • Secure and Censorship resistant: Once the file is on the Blockchain you can't alter it, you can't corrupt it and it is nowhere and everywhere at the same time.

  • Probably there are also other use cases, the limit is your imagination

EOSfilestore tradeoffs and what I've learnt

  1. It costs 0 EOS to upload a file, but if you don't stake enough EOS for CPU or NET your file upload won't complete successfully, of course.

  2. RAM Cost. To publish my basic smart contract to the EOS mainnet I should pay 50kB RAM =~ 20 EOS =~ $ 200, so I'm using decentwitter / avatar action for my purposes.. Feel free to donate to eosfilestore RAM or EOS to allow me to deploy a dedicated smart contract.

  3. In C++ a string has the max length of 4294967294 chars but in EOS the limit is lower because there is also a limit on transaction size at network level.

  4. Storing a file on a Blockchain is not GDPR compliant.. because you can't delete it. But you encrypt it and then forget the password.

  5. It isn't IPFS or Torrent, probably the EOSfilestore technique isn't suited for very big files. But 187.4kB could be a lot of kinds of documents an it is 25 txs

Resources

Sort:  

Hi. Thank you for the contribution.

I think this is a very interesting project, that can bring people closer to blockchain technology through a need they can have in their daily lives. Although, blockchain is destined to occupy an important place in the technological revolution, it is still quite confusing for many people. Some of these confusions can begin to be solved with these proposals. The way to start introducing this type of projects among the common tools of people's use, is to make a clear promotion that allows to easily understand what they are offering.

However, although your publication explains in a basic way what the project consists of, it is far from being written in a format that allows you to capture as much audience as possible, and is focused on people familiar with EOS, blockchain, smart contracts... The blog posts category in Utopian is focussed in projects promotion, and, for this reason, the contributions format es very important.

According to the blog posts category guidelines:

  • To be considered for potential reward, the blog post must contain unique and insightful editorial content presented in a professional format, ideally with high-quality visual supplements.

  • Project introduction must include detailed roadmaps and overviews to be considered for reward. It should contain differences with similar projects and highlight its unique aspects.

So, please take care of this for your next publications. EOSfilestore is a great tool, and should be promoted as clearly as possible, and Utopian will be here to support you.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thanks for the reply, EOSfilestore is a command line tool I can't provide "high-quality visual supplements" and I don't know similar projects.

Do you know some command-line tools which have been promoted via Utopian?

Hi sr.
At this moment I don't remember a command-line tool promoted via Utopian. However, my invitation is to improve the presentation of the publications, as well as the quality of the content, more descriptive and detailed, in order to make it attractive for more people.
I am aware that taking quality screenshots of a command line tool is more complicated, but in general, the presentation of the post may be better. Good looking posts are more valuable in this category.

Understood, I'll try again

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.031
BTC 62809.89
ETH 2684.34
USDT 1.00
SBD 2.56