<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged multichain2</title>
<link>https://www.multichain.com/qa/tag/multichain2</link>
<description>Powered by Question2Answer</description>
<item>
<title>Multichain2.0 User Management</title>
<link>https://www.multichain.com/qa/13470/multichain2-0-user-management</link>
<description>Hi,&lt;br /&gt;
We are working on Multichain 2.0 POC project. Have configured the setup with 2 nodes (node1 &amp;amp; node2). Need your help in getting clarity on user management aspect. As per our understanding there can be 1 wallet per node, and each wallet can have multiple addresses. Should we consider wallet addresses as individual users. If yes, then users will get mapped to respective nodes, and if...Read More that node goes down how would users access the multichain. Or is there a way to handle this better.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/13470/multichain2-0-user-management</guid>
<pubDate>Mon, 22 Apr 2019 11:36:19 +0000</pubDate>
</item>
<item>
<title>NOdejs Api functions multichain2.0</title>
<link>https://www.multichain.com/qa/12707/nodejs-api-functions-multichain2-0</link>
<description>&lt;p&gt;Hello Devs,&lt;/p&gt;&lt;p&gt;I am working on stream filter and trying to implement stream filter through nodejs rest api which willl require creatfrom ad approvefrom methods in nodejs to test so just wanted to no where would i get all this method?&lt;br&gt;And&lt;br&gt;How can i deploy this filter through nodejs api rather then&amp;nbsp; using cli mode?&lt;br&gt;&lt;span style=&quot;color:rgb(199, 37, 78); font-family:menlo,monaco,consolas,courier new,monospace; font-size:12.6px&quot;&gt;create txfilter filter1 '{}' 'function filtertransaction() { var tx=getfiltertransaction(); if (tx.create) return &quot;Stream creation temporarily disabled&quot;; }'&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12707/nodejs-api-functions-multichain2-0</guid>
<pubDate>Mon, 04 Feb 2019 11:56:24 +0000</pubDate>
</item>
<item>
<title>Custom filter permissions examples</title>
<link>https://www.multichain.com/qa/11997/custom-filter-permissions-examples</link>
<description>Hello! Congratulation on the beta release! Keep up the good work!&lt;br /&gt;
&lt;br /&gt;
While reading the change notes, I've noticed that you added a support for custom filters. However, when I tried to look for examples for it in the docs (including the smart filter docs and the git repo) I couldn't find any code samples.&lt;br /&gt;
&lt;br /&gt;
Can you please show or provide some?&lt;br /&gt;
&lt;br /&gt;
Thanks again</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11997/custom-filter-permissions-examples</guid>
<pubDate>Thu, 20 Dec 2018 08:07:59 +0000</pubDate>
</item>
<item>
<title>MultiChain2.0 issue asset with createrawsendfrom</title>
<link>https://www.multichain.com/qa/10399/multichain2-0-issue-asset-with-createrawsendfrom</link>
<description>i issue asset with createrawsendfrom on MultiChain2.0 api, but i don't know data of array format.&lt;br /&gt;
&lt;br /&gt;
i use PHP create it, ex:&lt;br /&gt;
&lt;br /&gt;
$success=no_displayed_error_result($issuetxid, multichain('createrawsendfrom', $_POST['from'], $addresses, [], 'send'));</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10399/multichain2-0-issue-asset-with-createrawsendfrom</guid>
<pubDate>Thu, 26 Jul 2018 09:07:46 +0000</pubDate>
</item>
<item>
<title>Permission aware multisignature transactions</title>
<link>https://www.multichain.com/qa/10284/permission-aware-multisignature-transactions</link>
<description>&lt;p&gt;According to the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.multichain.com/blog/2017/06/multichain-1-beta-2-roadmap/&quot;&gt;MultiChain roadmap&lt;/a&gt;, support for user-defined permissions will be introduced.&lt;/p&gt;&lt;p&gt;Will multisignature transactions be aware of these user-defined permissions, i.e. will it be possible to define multisignature addresses &quot;m-of-n&quot; in which &quot;x-of-m&quot; hold a specific permission?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10284/permission-aware-multisignature-transactions</guid>
<pubDate>Fri, 13 Jul 2018 15:40:51 +0000</pubDate>
</item>
<item>
<title>how to list all items published for a particular key in MC V2</title>
<link>https://www.multichain.com/qa/8450/how-to-list-all-items-published-for-a-particular-key-in-mc-v2</link>
<description>Just going through the docs to record stream data and wanted to find a simple way to list all of the past stream items for a set key eg:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
publish kyc '[&amp;quot;24&amp;quot;,&amp;quot;PH&amp;quot;,&amp;quot;bank&amp;quot;]' '{&amp;quot;json&amp;quot;:{&amp;quot;status&amp;quot;:&amp;quot;kyc1&amp;quot;,&amp;quot;limit&amp;quot;:&amp;quot;100000&amp;quot;}}'&lt;br /&gt;
&lt;br /&gt;
publish kyc '[&amp;quot;24&amp;quot;,&amp;quot;PH&amp;quot;,&amp;quot;bank&amp;quot;]' '{&amp;quot;json&amp;quot;:{&amp;quot;status&amp;quot;:&amp;quot;kyc2&amp;quot;,&amp;quot;limit&amp;quot;:&amp;quot;200000&amp;quot;}}'&lt;br /&gt;
&lt;br /&gt;
publish kyc '[&amp;quot;24&amp;quot;,&amp;quot;PH&amp;quot;,&amp;quot;bank&amp;quot;]' '{&amp;quot;json&amp;quot;:{&amp;quot;status&amp;quot;:&amp;quot;kyc3&amp;quot;,&amp;quot;limit&amp;quot;:&amp;quot;300000&amp;quot;}}'&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
and so on as that person's data record was updated. If i cannot get the stream items posted date and time, I would add that to the data&lt;br /&gt;
&lt;br /&gt;
I can get the first posted item using noupdate, and the last one by default - how do I list all of the items?&lt;br /&gt;
&lt;br /&gt;
Also, how do i search and retrieve data based on a search for more than one key?..ie: all stream items that are from a country (in this case UK instead of PH), with type EMI instead of bank...we need to filter items...</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8450/how-to-list-all-items-published-for-a-particular-key-in-mc-v2</guid>
<pubDate>Thu, 01 Feb 2018 12:36:45 +0000</pubDate>
</item>
<item>
<title>Tell me one simple usecase  for storing mutiple keys with json data</title>
<link>https://www.multichain.com/qa/8346/tell-simple-usecase-for-storing-mutiple-keys-with-json-data</link>
<description>Hello Multichain team, I know this stream feature has come as enhancement on multichain 1.x version . &amp;nbsp;what I &amp;nbsp;am not able to understand &amp;nbsp;is how to use multiple keys against json data ? can you please give a simple usecase where it helps .</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8346/tell-simple-usecase-for-storing-mutiple-keys-with-json-data</guid>
<pubDate>Thu, 25 Jan 2018 08:43:11 +0000</pubDate>
</item>
<item>
<title>correct syntax to write multiple keys and data in multichain 2</title>
<link>https://www.multichain.com/qa/7856/correct-syntax-to-write-multiple-keys-and-data-in-multichain</link>
<description>What is the correct syntax to write multiple items to a chain...for example, something like this, but this is not working...where did I go wrong?&lt;br /&gt;
&lt;br /&gt;
publish kyc '{&amp;quot;userhash&amp;quot;:&amp;quot;userhashdata&amp;quot;,&amp;quot;status&amp;quot;:&amp;quot;kyc1&amp;quot;,&amp;quot;publishertype&amp;quot;:&amp;quot;bank&amp;quot;,&amp;quot;country&amp;quot;:&amp;quot;PH&amp;quot;}'</description>
<guid isPermaLink="true">https://www.multichain.com/qa/7856/correct-syntax-to-write-multiple-keys-and-data-in-multichain</guid>
<pubDate>Wed, 13 Dec 2017 16:53:23 +0000</pubDate>
</item>
<item>
<title>MultiChain2.0 alfa issues on stream keys array and data-json</title>
<link>https://www.multichain.com/qa/7799/multichain2-0-alfa-issues-on-stream-keys-array-and-data-json</link>
<description>Cheching 2.0 alfa 1 release and try to write several keys with data-json structure instead a key and data-hex.&lt;br /&gt;
&lt;br /&gt;
CLI help notifies this^&lt;br /&gt;
&lt;br /&gt;
Arguments:&lt;br /&gt;
1. &amp;quot;from-address&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(string, required) Address used for issuing.&lt;br /&gt;
2. &amp;quot;stream-identifier&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(string, required) Stream identifier - one of the following: stream txid, stream reference, stream name.&lt;br /&gt;
3. &amp;quot;key&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(string, required) Item key&lt;br /&gt;
&amp;nbsp;or&lt;br /&gt;
3. keys &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(array, required) Array of item keys&lt;br /&gt;
4. &amp;quot;data-hex&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(string, required) Data hex string&lt;br /&gt;
&amp;nbsp;or&lt;br /&gt;
4. data-json &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(object, required) JSON data object&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;json&amp;quot; : data-json &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(object, required) Valid JSON object&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;or&lt;br /&gt;
4. data-text &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(object, required) Text data object&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;text&amp;quot; : &amp;quot;data-text&amp;quot; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(string, required) Data string&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
However any keys arrays variants came back as string and no way to send any data-json or data-text.&lt;br /&gt;
&lt;br /&gt;
Please check this options work and send your variant of example.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/7799/multichain2-0-alfa-issues-on-stream-keys-array-and-data-json</guid>
<pubDate>Fri, 08 Dec 2017 10:09:19 +0000</pubDate>
</item>
</channel>
</rss>