How to store data on MultiChain - 101

+1 vote
Hi,

I am very new to MultiChain and have worked my way through the getting started tutorials. I want to be able to test MultiChain for two scenarios:

1) Hash an existing file (for example a csv file) and store that transaction on the MultiChain

2) Store an existing file (same CSV file) encrypted into the MultiChain

Would someone be kind enough to point me in the right direction, apologies if this seems a very basic question.
asked May 13, 2016 by Kirk

1 Answer

+1 vote

You can use sendwithmetadata(from) to send a transaction with metadata containing the data you want to store - in this case you would just send a transaction back to yourself using an amount of 0. By default transactions are limited to 4 KB of data but you can increase this using the blockchain parameters. For more info see this page:

http://www.multichain.com/developers/creating-data-streams/

answered May 13, 2016 by MultiChain
...