Storing hashes or files in Multichain

+5 votes
Hello,

I'm totally new to blockchain. I've setup a 2 node blockchain, and setup a web explorer on both nodes.

I've setup a stream as well. I'm trying to build a proof of concept where 5 different users, are able to store documents on the blockchain and would appreciate some guidance/help.

My blockchain nodes are running on linux and these users are windows users, so would that be done with curl?

Thanks.
asked Mar 7, 2018 by kalmen

1 Answer

+2 votes
To put data into a stream, you should use: publish

See: https://www.multichain.com/developers/json-rpc-api/

curl should look like:

curl -X POST -d '{"method": "publish", "params": ["mystream", "mykey", "<your hex data string>"]}' http://<user>:<password>@<nodeip>:<rpcport>

 

Not tested, but I think this should work.
answered Mar 7, 2018 by Alexoid
...