File Handling Question

+1 vote
What is the best way to store files or should we really store file on the blockchain? if not, what are the best practices?
asked 6 days ago by eskiesirius

1 Answer

0 votes
Publish the files onto streams using off-chain data. Background information here:

https://www.multichain.com/blog/2018/06/scaling-blockchains-off-chain-data/
answered 6 days ago by MultiChain
Got it so i guess i will just hash the contents of the file and store it..
If you use off-chain publishing within MultiChain, all of that is taken care of for you, along witih peer-to-peer delivery of the full file contents.
I read this https://www.multichain.com/developers/enterprise-streams/ documentation(still confused) but without the enterprise, i can still able to do it?
Yes, but with the Community version you cannot control read permissions on streams. Every node is able to see everything.
i just want some clarifications.. it is possible to upload the whole content of a pdf file on offchain and retrieve it?
Yes, in order for another node to be able to retrieve it, it should subscribe to that stream. (MultiChain Enterprise provides more control over retrieving specific items.)
...