I am trying to understand streams and looking into file storage using multichain. I found an online tutorial -
https://blog.cotten.io/streams-and-multichain-3890d7da3415 and in the example they save the file contents and not the file itself.
When uploading the stream I know it requires a hex value as a string. But is this value meant to be the file or the file contents? I would ideally want to be able to upload a file, in any format, and then be able to retrieve the file in the same format.
Could you please provide an example/information of how I can achieve adding a txt file to the blockchain and then being able to view and download it.