How to implement smart contract using stream

+4 votes

Hi Multichain Team,

I was reading this blog https://www.multichain.com/blog/2016/09/introducing-multichain-streams/

could you please give me an idea of how to go about implementing smart contract with stream

asked May 7, 2018 by Anshuman singh
Please explain what you would like your smart contract to do, then we can provide further guidance.
This is not my question however .... How about accepting the offer in an atomic exchange when the information required to make the decision is on the chain?

1 Answer

+1 vote
If I understand the question correctly, each node (or its attached application) can check the stream for the information it needs (either through polling or a notification script), and then act accordingly on the exchange.
answered Jun 16, 2018 by MultiChain
...