Streamfilter deployment

+1 vote
Hello team,

I am testing transaction filter in cli mode but , i want to know after compiling how its deploying in blockchain network Unlike ethereum it creates and byte file and deploy in network ?

 

How this deployement of smart filter and compilation using node js project?
asked Feb 4, 2019 by kheteshrotangan

1 Answer

0 votes
You don't compile the filter before passing it to MultiChain – instead you pass the JavaScript source code and MultiChain takes care of everything else.
answered Feb 4, 2019 by MultiChain
This library has not yet been updated for MultiChain 2.0, so it might not support creating stream filters. But it does seem to support the basic createfrom command.
can you guide me which library should i refer for version 2.0 for smart filter test for example cretefrom and approvefrom?
We've just updated the MultiChain Web Demo with support for testing, creating and approving Smart Filters, so that might be a good place to start: https://github.com/MultiChain/multichain-web-demo
I have configured web demo but i do not understand how to launch and start web demo in browser?

In readme file below instruction ids metioned what does that mean ?
Launch the Web Demo
No additional configuration or setup is required. Based on where you installed the web demo, open the appropriate address in your web browser, and you are ready to go!
It means the web demo can be served up automatically by your web server, so long as it is compatible with PHP files.
...