I'm curious to how would one store a 30kb file on the NXT blockchain since the NXT protocol can attach a 1000byte message. My test scenario is storing a 30kb midi file on the nxt blockchain and then call it back to form the file again either in the browser or as a downloaded file. I want to be able to do this via the local nxt client through its api and also via online services that have their api open to query the nxt blockchain. What I need to know and confirm is the following:
- Due to the 1000byte limit, I'd imagine it would be about 30+ separate messages to form this file.
- To reform the file, we would need to mark each message in proper order to concatenate it.
- Do we need to turn bytecode into base64 for decentralized storage?
- What other issues might we encounter?
If we can get a test scenario working, technically we can store/retrieve/embed data onto our websites/apps without needing a centralized server.