I am trying to do following commands:

+1 vote
If you are using Windows, you need to use a different form of quoting on the command line. Run this instead:
publish stream1 key3 "{\"text\":\"hello world!\"}"

and getting following error:

F:\multichain-windows-1.0.5>multichain-cli chain1 publish stream1 key3 "{\"text\":\"hello world!\"}"
{"method":"publish","params":["stream1","key3","{\"text\":\"hello world!\"}"],"id":1,"chain_name":"chain1"}

error code: -8
error message:
Item data should be hexadecimal string

please help.
asked Jun 29 by Gaurav

1 Answer

0 votes
The example you are trying is from the section of the 'Getting Started' guide that only works with MultiChain 2.0 alpha 3, and I can see that you are using MultiChain 1.0.5. Please either skip section 5 of the guide, or else try out the 2.0 alpha version by downloading it here:

https://www.multichain.com/developers/multichain-2-0-preview-releases/
answered Jul 2 by MultiChain
...