How to publish to a stream using specific address?

+1 vote
Hi,

I've setup a chain on a node and connected to it using multichain-cli. Have generated several address for that chain. I created a stream and published some content to it and granted permission to one of the generated address (except the one which published the content - root one).

How can I use that address to see the stream and blocks it's permitted to see? How can I access the things specific to that address on this node?

Thanks in Advance.
asked Mar 10, 2017 by Abhishek

1 Answer

0 votes

You're asking a few different questions here:

  1. To publish from a specific address, use the publishfrom API.
  2. There are no read permissions control on stream items – if you need to control item visibility, you should use encryption in your application before posting to the stream.
  3. To access the transactions relating to an address on a node, use importaddress and then the usual APIs like listaddresstransactions.
answered Mar 10, 2017 by MultiChain
...