<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged private-key</title>
<link>https://www.multichain.com/qa/tag/private-key</link>
<description>Powered by Question2Answer</description>
<item>
<title>Non-custody accounts</title>
<link>https://www.multichain.com/qa/41471/non-custody-accounts</link>
<description>Hello!&lt;br /&gt;
&lt;br /&gt;
I need to implement non-custody multichain account system in my NFT application. So i plan to generate key pairs on server and give them to user's mobile application.&lt;br /&gt;
&lt;br /&gt;
How can i implement transactions signing without transferring user's private key to server?&lt;br /&gt;
&lt;br /&gt;
As i understand there is only one way - call to RPC directly from iOS app, sign a transaction and then send a result to server?&lt;br /&gt;
&lt;br /&gt;
Or i can use external libraries like bitcoinjs or other for signing transaction and then send to server?&lt;br /&gt;
&lt;br /&gt;
Or if i need to configure multichain with bitcoin style parameters for using bitcoin libraries in mobile app, is it possible to use all multichain assets features, include NFT of beta 3, in bitcoin style multichain?&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
<guid isPermaLink="true">https://www.multichain.com/qa/41471/non-custody-accounts</guid>
<pubDate>Mon, 18 Oct 2021 12:16:48 +0000</pubDate>
</item>
<item>
<title>Is there sensitive data in the &lt;chain&gt;/wallet directory?</title>
<link>https://www.multichain.com/qa/15474/is-there-sensitive-data-in-the-chain-wallet-directory</link>
<description>Is all sensitive information (i.e., private keys) contained in the wallet.dat file, and the wallet dir is only stuff like pub keys &amp;amp; watch only addresses? Or is there sensitive info in the folder files also? &lt;br /&gt;
&lt;br /&gt;
I'm looking at backup &amp;amp; restore procedures, and want to make sure I understand what file(s) I should be most paranoid about. &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
-Tom</description>
<guid isPermaLink="true">https://www.multichain.com/qa/15474/is-there-sensitive-data-in-the-chain-wallet-directory</guid>
<pubDate>Fri, 13 Sep 2019 20:24:45 +0000</pubDate>
</item>
<item>
<title>publish data error</title>
<link>https://www.multichain.com/qa/15147/publish-data-error</link>
<description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now we have 4 nodes A,B,C,D and two streams. And we have created a java project to publish items to stream through JSON. Previously we can publish items to stream no problem and there is already more than two million items.&amp;nbsp;But we often encountered with publishing&amp;nbsp;error recently. Please find following error message.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Error while doing transaction with the blockchain. Code: -26.0 Message: Error: this transaction was rejected. This may be because you are sharing private keys between nodes, and another node has spent the funds used by this transaction.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/15147/publish-data-error</guid>
<pubDate>Tue, 20 Aug 2019 07:31:03 +0000</pubDate>
</item>
<item>
<title>How to generate private key based on user data in multichain?</title>
<link>https://www.multichain.com/qa/14375/how-to-generate-private-key-based-on-user-data-in-multichain</link>
<description>Hello Team,&lt;br /&gt;
&lt;br /&gt;
I have requirement of generating keypairs based on user information in multichain.&lt;br /&gt;
This requirement is beacuse &amp;nbsp;of following problems:&lt;br /&gt;
1)If user forget his/her private key then how to retrieve.&lt;br /&gt;
2)how to retrieve user old account if user forgets key.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regards,&lt;br /&gt;
&lt;br /&gt;
Khetesh Rotangan</description>
<guid isPermaLink="true">https://www.multichain.com/qa/14375/how-to-generate-private-key-based-on-user-data-in-multichain</guid>
<pubDate>Wed, 12 Jun 2019 07:31:24 +0000</pubDate>
</item>
<item>
<title>Is that possible to recover the pub/private key in multichain.?</title>
<link>https://www.multichain.com/qa/14350/is-that-possible-to-recover-the-pub-private-key-in-multichain</link>
<description>1. We generating the address, public and private key for users to create wallet. In our application we using the signed transactions using private key. What will happen if user lost the private key. How to recover it.?&lt;br /&gt;
&lt;br /&gt;
is there any function to recover it?&lt;br /&gt;
&lt;br /&gt;
2. Is that possible to generate the pub/pri keys using the users details.?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/14350/is-that-possible-to-recover-the-pub-private-key-in-multichain</guid>
<pubDate>Mon, 10 Jun 2019 11:23:10 +0000</pubDate>
</item>
<item>
<title>Can a node which does not have private key stored in own wallet</title>
<link>https://www.multichain.com/qa/13687/can-node-which-does-not-have-private-key-stored-in-own-wallet</link>
<description>Can a node which does not have private key stored in own wallet but in an external Hardware Security Module be able to mine,admin or behave normal as other nodes?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/13687/can-node-which-does-not-have-private-key-stored-in-own-wallet</guid>
<pubDate>Thu, 02 May 2019 14:41:45 +0000</pubDate>
</item>
<item>
<title>Chain connection to html wallet</title>
<link>https://www.multichain.com/qa/12776/chain-connection-to-html-wallet</link>
<description>I've had relative success setting up multichain on several nodes.. the cli working wonderfully. &amp;nbsp;Can someone point me in the right direction to building a online wallet similar to what sonm/waves which utilizes multichain... I'm guessing it's to do with rpc-json&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://market.sonm.com/&quot; rel=&quot;nofollow&quot;&gt;https://market.sonm.com/&lt;/a&gt; &amp;nbsp;&lt;a href=&quot;https://client.wavesplatform.com&quot; rel=&quot;nofollow&quot;&gt;https://client.wavesplatform.com&lt;/a&gt; (as examples)</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12776/chain-connection-to-html-wallet</guid>
<pubDate>Tue, 05 Feb 2019 22:59:13 +0000</pubDate>
</item>
<item>
<title>how to create a node which can connect to an existing node .</title>
<link>https://www.multichain.com/qa/12754/how-to-create-a-node-which-can-connect-to-an-existing-node</link>
<description>how to create a node which can connect to an existing node . I want all the nodes to sync at the same time and all transactions should be present on all the nodes. In order to create a cluster of nodes for better reliability.&lt;br /&gt;
&lt;br /&gt;
Can you tell me how to clone a node and how two nodes will communicate to each other.?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12754/how-to-create-a-node-which-can-connect-to-an-existing-node</guid>
<pubDate>Tue, 05 Feb 2019 17:51:26 +0000</pubDate>
</item>
<item>
<title>I can't the this process How to create a MultiChain private key</title>
<link>https://www.multichain.com/qa/12241/cant-the-this-process-how-to-create-a-multichain-private-key</link>
<description>&lt;p&gt;&lt;a href=&quot;https://www.multichain.com/developers/address-key-format/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/address-key-format/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;strong&gt;3. Different from bitcoin:&lt;/strong&gt;&amp;nbsp;Add the first version byte from the&amp;nbsp;private-key-version&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.multichain.com/developers/blockchain-parameters/&quot;&gt;blockchain parameter&lt;/a&gt;&amp;nbsp;to the start of the private key. If it is more than one byte long, insert each subsequent byte of it after every&amp;nbsp;floor(33/len(private-key-version))&amp;nbsp;bytes of the key. For example with&amp;nbsp;8025B89E:&lt;br&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;80&lt;/span&gt;B69CA8FFAE36F11A&lt;span style=&quot;text-decoration: underline;&quot;&gt;25&lt;/span&gt;D445625E35BF6AC5&lt;span style=&quot;text-decoration: underline;&quot;&gt;B8&lt;/span&gt;7D6642DDBE470DD3&lt;span style=&quot;text-decoration: underline;&quot;&gt;9E&lt;/span&gt;E7934291B2000D7801&lt;/p&gt;&lt;p&gt;4. Calculate the SHA-256 of the extended private key:&lt;br&gt;742D5B3C59BB25F077AACB33D5770AAE22FD5639E8F9A7742BADEF84BCDFB4CC&lt;/p&gt;&lt;p&gt;5. Calculate the SHA-256 hash of the previous SHA-256 hash:&lt;br&gt;4FBB9708A0B5F2F5AC384CAC22C69CCE3F7DCE6166DE63B5AFE35E5D59767F18&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;first, I change the 3 value (&lt;span style=&quot;text-decoration: underline;&quot;&gt;80&lt;/span&gt;B69CA8FFAE36F11A&lt;span style=&quot;text-decoration: underline;&quot;&gt;25&lt;/span&gt;D445625E35BF6AC5&lt;span style=&quot;text-decoration: underline;&quot;&gt;B8&lt;/span&gt;7D6642DDBE470DD3&lt;span style=&quot;text-decoration: underline;&quot;&gt;9E&lt;/span&gt;E7934291B2000D7801) to binary.&lt;/p&gt;&lt;p&gt;the binary value is&amp;nbsp;10000000101101101001110010101000111111111010111000110110111100010001101000100101110101000100010101100010010111100011010110111111011010101100010110111000011111010110011001000010110111011011111001000111000011011101001110011110111001111001001101000010100100011011001000000000000011010111100000000001&lt;/p&gt;&lt;p&gt;second, I change the binary value to SHA256 hash&lt;/p&gt;&lt;p&gt;the result is&amp;nbsp;3E14E86F9E3895DD169ECA62444564D2E82CA25B7AEA0E0D650045967D49B9A6&lt;/p&gt;&lt;p&gt;I can't get the value&amp;nbsp;742D5B3C59BB25F077AACB33D5770AAE22FD5639E8F9A7742BADEF84BCDFB4CC&lt;/p&gt;&lt;p&gt;Can you tell me that how to I get the value&amp;nbsp;742D5B3C59BB25F077AACB33D5770AAE22FD5639E8F9A7742BADEF84BCDFB4CC. ?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12241/cant-the-this-process-how-to-create-a-multichain-private-key</guid>
<pubDate>Thu, 10 Jan 2019 06:37:20 +0000</pubDate>
</item>
<item>
<title>How to create a MultiChain private key?</title>
<link>https://www.multichain.com/qa/12197/how-to-create-a-multichain-private-key</link>
<description>&lt;a href=&quot;https://www.multichain.com/developers/address-key-format/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/address-key-format/&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
4. Calculate the SHA-256 of the extended private key:&lt;br /&gt;
742D5B3C59BB25F077AACB33D5770AAE22FD5639E8F9A7742BADEF84BCDFB4CC&lt;br /&gt;
&lt;br /&gt;
5. Calculate the SHA-256 hash of the previous SHA-256 hash:&lt;br /&gt;
4FBB9708A0B5F2F5AC384CAC22C69CCE3F7DCE6166DE63B5AFE35E5D59767F18&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
I'm following [How to create a MultiChain private key] step by step.&lt;br /&gt;
&lt;br /&gt;
At the step 5, I got different hash value.&lt;br /&gt;
&lt;br /&gt;
For example, the document says &amp;quot;4FBB9708A0B5F2F5AC384CAC22C69CCE3F7DCE6166DE63B5AFE35E5D59767F18&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
But I have got the value &amp;quot;DCC0E35E31C131F6CD010A1689F82D17BD8482BABED7949253854DB6037CD3A5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I got the value from this site (&lt;a href=&quot;https://passwordsgenerator.net/sha256-hash-generator/&quot; rel=&quot;nofollow&quot;&gt;https://passwordsgenerator.net/sha256-hash-generator/&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
I don't understand why two values are different.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12197/how-to-create-a-multichain-private-key</guid>
<pubDate>Tue, 08 Jan 2019 10:00:08 +0000</pubDate>
</item>
<item>
<title>I want the process changed from private key to public key.</title>
<link>https://www.multichain.com/qa/11926/i-want-the-process-changed-from-private-key-to-public-key</link>
<description>&lt;p&gt;&lt;span style=&quot;color:rgb(33, 33, 33); font-family:apple sd gothic neo,arial,sans-serif; font-size:16px; white-space:pre-wrap&quot;&gt;I refer to &lt;a href=&quot;https://www.multichain.com/developers/address-key-format/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/address-key-format/&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(33, 33, 33); font-family:apple sd gothic neo,arial,sans-serif; font-size:16px; white-space:pre-wrap&quot;&gt;but i don't understand this step&lt;/span&gt;&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 4px;&quot;&gt;Start with a raw private&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;ECDSA&lt;/a&gt;&amp;nbsp;key:&lt;br style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 0px; color: rgb(199, 37, 78); background: none; white-space: nowrap; border-radius: 4px;&quot;&gt;283D01856115B7970B622EAA6DAFF2B9ECE30F1B66927592F6EA70325929102B&lt;/code&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 4px;&quot;&gt;Take the corresponding public key generated with it, which can be in compressed or uncompressed format. The uncompressed version contains 65 bytes, consisting of&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 0px; color: rgb(199, 37, 78); background: none; white-space: nowrap; border-radius: 4px;&quot;&gt;0x04&lt;/code&gt;, 32 bytes for the X coordinate and 32 bytes for the Y coordinate. The compressed version contains 33 bytes, consisting of&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 0px; color: rgb(199, 37, 78); background: none; white-space: nowrap; border-radius: 4px;&quot;&gt;0x02&lt;/code&gt;&amp;nbsp;(Y is even) or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 0px; color: rgb(199, 37, 78); background: none; white-space: nowrap; border-radius: 4px;&quot;&gt;0x03&lt;/code&gt;&amp;nbsp;(Y is odd), followed by 32 bytes for the X coordinate. Below is a compressed example:&lt;br style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 0px; color: rgb(199, 37, 78); background: none; white-space: nowrap; border-radius: 4px;&quot;&gt;0284E5235E299AF81EBE1653AC5F06B60E13A3A81F918018CBD10CE695095B3E24&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;and i have a three step but i get the different value&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Take the corresponding public key generated with it, which can be in compressed or uncompressed format. The uncompressed version contains 65 bytes, consisting of&amp;nbsp;0x04, 32 bytes for the X coordinate and 32 bytes for the Y coordinate. The compressed version contains 33 bytes, consisting of&amp;nbsp;0x02&amp;nbsp;(Y is even) or&amp;nbsp;0x03&amp;nbsp;(Y is odd), followed by 32 bytes for the X coordinate. Below is a compressed example:&lt;br&gt;0284E5235E299AF81EBE1653AC5F06B60E13A3A81F918018CBD10CE695095B3E24&lt;/li&gt;&lt;li&gt;Calculate the SHA-256 hash of the public key:&lt;br&gt;1C72D90868DBCD0252A54EFFB25FB535B4C89B67D57B75FD88465C5F173DCAB5&lt;/li&gt;&lt;/ol&gt;i get the&amp;nbsp;48ED57E20708C7392AE5DBA73776D0F91A42F87CD82FE4411ED4BA37260402ED not&amp;nbsp;1C72D90868DBCD0252A54EFFB25FB535B4C89B67D57B75FD88465C5F173DCAB5&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11926/i-want-the-process-changed-from-private-key-to-public-key</guid>
<pubDate>Fri, 14 Dec 2018 06:52:39 +0000</pubDate>
</item>
<item>
<title>Can you stop a node from storing private keys in it's wallet?</title>
<link>https://www.multichain.com/qa/11849/can-you-stop-a-node-from-storing-private-keys-in-its-wallet</link>
<description>If anyone-can-connect is set true to create a public blockchain, a node owner can maliciously generate and store private keys on the node and then provide them to users.&lt;br /&gt;
&lt;br /&gt;
I was wondering if there is a way to either limit the capability of nodes to create addresses or to remove the capability to store private keys in the wallet</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11849/can-you-stop-a-node-from-storing-private-keys-in-its-wallet</guid>
<pubDate>Tue, 11 Dec 2018 08:20:19 +0000</pubDate>
</item>
<item>
<title>assets still locked after SignRawTransaction with incorrect invalid key</title>
<link>https://www.multichain.com/qa/11223/assets-still-locked-signrawtransaction-incorrect-invalid</link>
<description>&lt;p&gt;is there any way to unlock assets after&amp;nbsp;SignRawTransaction with invalid private key?&lt;/p&gt;&lt;p&gt;1- i used&amp;nbsp;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;createrawsendfrom&lt;/span&gt;&amp;nbsp;to prepare a transaction sending the appropriate amount&amp;nbsp;&lt;/p&gt;&lt;p&gt;2- i used&amp;nbsp;&lt;span style=&quot;font-family:courier new,courier,monospace; font-size:14px&quot;&gt;signrawtransaction&lt;/span&gt;&lt;span style=&quot;font-family:helvetica,arial,sans-serif; font-size:14px&quot;&gt;&amp;nbsp;&lt;/span&gt;to sign the transaction with private key&lt;/p&gt;&lt;p&gt;3- if the private key it's invalid the assets amount still locked&amp;nbsp;&lt;/p&gt;&lt;p&gt;any one&amp;nbsp;tell me if there is a method to unlock asset amount after error when private key is invalid&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11223/assets-still-locked-signrawtransaction-incorrect-invalid</guid>
<pubDate>Mon, 01 Oct 2018 14:51:42 +0000</pubDate>
</item>
<item>
<title>Clustering/High Availability/stream's multi publishers</title>
<link>https://www.multichain.com/qa/11018/clustering-high-availability-streams-multi-publishers</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
While digging in robustness and taking advantage of node's potential automatic content mirroring feature, I would like to submit a test-case here. Assuming we have 3 nodes, one being the 'master' one, all others being 'slaves' ones (through -initprivkey and -autosubscribe option on multichaind command line). So, all slaves nodes subscribes automatically to stream created on master and reverse (when a value/stream is added on a slave node). Square situation. If one node is down, even badly (hence no more wallet file etc...), a remaining 2 slaves configuration, or one master-one slave configuration can continue working (assuming one have some top API/mechanism balancing seamlessly in-between available nodes (e.g. somehow one of the remaining nodes becomes the newly 'node of contact/entrance' etc...)).&lt;br /&gt;
&lt;br /&gt;
Now, let's consider the addition of publishers notion to streams in such multi 'clone' nodes configuration, in order to manage some read/write access to streams (one stream == one publisher (e.g. address/wallet)). So let's say one address is created on one node (local, not shared with other nodes, normal situation), a new stream created on the same node (distributed to all nodes, the new streams is visible in all nodes), data published to that stream on behalf of the newly created address (publishfrom - distributed to all nodes, the new data is visible on all nodes, including the new address 'broadcasted/recorded' as the data's publisher). But, if the node where the new publisher was created crash badly, other nodes can not continue publishing on behalf the new publisher because of the lack of the new publisher's private key (which was lost in the node's crash).&lt;br /&gt;
&lt;br /&gt;
Hence my question: what are my options here if I want to be able to publish to the new stream on behalf of the new publisher from the other (remaining) healthy nodes (like if no crash occurred)?&lt;br /&gt;
&lt;br /&gt;
I would like/expect here some MultiChain 'built'in' options, not external one based on some backup feature (dumpwallet...), in order to transmit private key... which is not something good to do... I guess. My silly mind may imagine storing private keys in a dedicated stream (which will be automatically and naturally transmitted to all nodes - e.g. one address is created on one node, the associated private key is pushed to some dedicated stream). Then, when a node try to publish on behalf an address it does not know locally (because the address was created on another node), it searches in the dedicated stream for the associated private key, use the importprivkey function and then publish the data to the stream... seamless from user point of view, no file/backup manipulation etc...&lt;br /&gt;
&lt;br /&gt;
What do you think? How silly/dangereous is that (using a stream to automatically store/broacast/transmit/propagate private keys among nodes in order to ensure high availability)? Any other option? Fire at will.&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11018/clustering-high-availability-streams-multi-publishers</guid>
<pubDate>Wed, 12 Sep 2018 16:00:42 +0000</pubDate>
</item>
<item>
<title>Block-signing key off-node</title>
<link>https://www.multichain.com/qa/10966/block-signing-key-off-node</link>
<description>A high level of security is essential for private keys. Fortunately, it is possible to sign transactions with keys that are stored on a HSM. However, is the same also possible for signing blocks, as part of the multichain 'mining' process?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10966/block-signing-key-off-node</guid>
<pubDate>Fri, 07 Sep 2018 13:30:26 +0000</pubDate>
</item>
<item>
<title>asset with publick-private key</title>
<link>https://www.multichain.com/qa/10902/asset-with-publick-private-key</link>
<description>&lt;p&gt;We develop &amp;nbsp;APP wallet to access a kind of token implemented in multichain asset&lt;/p&gt;&lt;p&gt;as a base for the exchange of all other assets.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Multichain asset is implemented in the permission based on the node address&lt;/p&gt;&lt;p&gt;(like the command &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:red&quot;&gt;grant 1... send,receive&lt;/span&gt;&amp;nbsp;&amp;nbsp; )&lt;/p&gt;&lt;p&gt;It seems not like the native coin, using &lt;span style=&quot;color:red&quot;&gt;private key&lt;/span&gt; to protect their properties.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Are there any solutions to add the private key into the assets ??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;==&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;i think i got it and made wrong concepts before.&lt;/p&gt;&lt;p&gt;many thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10902/asset-with-publick-private-key</guid>
<pubDate>Mon, 03 Sep 2018 07:36:53 +0000</pubDate>
</item>
<item>
<title>Store privateKey in encrypted stream</title>
<link>https://www.multichain.com/qa/10787/store-privatekey-in-encrypted-stream</link>
<description>I'm thinking about storing the created wallets privateKey in an encrypted stream only readable by the node. This stream could be subscripted from a backup-node. As a result the nodes gets more dynamic, backup of wallet.dat is not required anymore.. &lt;br /&gt;
&lt;br /&gt;
Any shortcomings of this ?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10787/store-privatekey-in-encrypted-stream</guid>
<pubDate>Mon, 27 Aug 2018 20:16:24 +0000</pubDate>
</item>
<item>
<title>Sign multisignature-transactions without Private Keys</title>
<link>https://www.multichain.com/qa/9971/sign-multisignature-transactions-without-private-keys</link>
<description>&lt;p&gt;I read this doc about multisignature-transactions(&lt;a href=&quot;https://www.multichain.com/developers/multisignature-transactions/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/multisignature-transactions/&lt;/a&gt;) and I confused for using 2 commands&amp;nbsp;&lt;span style=&quot;color:rgb(199, 37, 78); font-family:menlo,monaco,consolas,courier new,monospace; font-size:12.6px&quot;&gt;createrawsendfrom and&amp;nbsp;signrawtransaction:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;for how we use Action:sign without private key&lt;/li&gt;&lt;li&gt;for how we sign transaction with only hex-blob&lt;/li&gt;&lt;li&gt;why do we need to&amp;nbsp;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;switch to the second server&amp;nbsp;&lt;/span&gt;to make signing&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Some related questions about multisignature answered by this &lt;a href=&quot;https://bitcoin.stackexchange.com/questions/6100/how-will-multisig-addresses-work&amp;nbsp;&quot; rel=&quot;nofollow&quot;&gt;https://bitcoin.stackexchange.com/questions/6100/how-will-multisig-addresses-work&amp;nbsp;&lt;/a&gt; for understanding&lt;/p&gt;&lt;p&gt;multisignature but here I can't find any mention for using Node Signing .&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/9971/sign-multisignature-transactions-without-private-keys</guid>
<pubDate>Mon, 18 Jun 2018 12:04:33 +0000</pubDate>
</item>
<item>
<title>should i keep the private keys inside the wallet or outside ?</title>
<link>https://www.multichain.com/qa/9598/should-i-keep-the-private-keys-inside-the-wallet-or-outside</link>
<description>should i really save the private key of users outside of the wallet?&lt;br /&gt;
&lt;br /&gt;
I have setup 4 multichain &amp;nbsp;node on digital ocean server talking to each other. so my question is should i really be worried about of instances getting compromised. even if i save the private key of users on another server of digital ocean that can also be compromised. isn't it ? so what do you guys suggest ?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/9598/should-i-keep-the-private-keys-inside-the-wallet-or-outside</guid>
<pubDate>Fri, 11 May 2018 06:19:24 +0000</pubDate>
</item>
<item>
<title>External Keys Multisignature</title>
<link>https://www.multichain.com/qa/9228/external-keys-multisignature</link>
<description>I created a multisignature address using external keys. But when I am trying to sign the raw transaction it does not seems to complete.&lt;br /&gt;
&lt;br /&gt;
After createrawtransaction I use signrawtransaction here is my sample command&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
multichain-cli MyChain signrawtransaction [hex-blob] '[]' '[PrivateKey1, PrivateKey2]'&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
At first I tried using PrivateKey1 only but it still the same.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Can you help me with my case?&lt;br /&gt;
&lt;br /&gt;
Thank you very much!</description>
<guid isPermaLink="true">https://www.multichain.com/qa/9228/external-keys-multisignature</guid>
<pubDate>Thu, 05 Apr 2018 22:28:14 +0000</pubDate>
</item>
<item>
<title>Use of node's keys wallet's keys</title>
<link>https://www.multichain.com/qa/9221/use-of-nodes-keys-wallets-keys</link>
<description>I am using my blockchains for data storage and retrieval, I understand that when a new node is created, 4 keys are started, two keys (one public and one private) correspond to the node and two other keys (one public and one private) correspond to the wallet&lt;br /&gt;
&lt;br /&gt;
What are the keys used for the nodes? What are the wallet keys used for? When I write in a Stream what key do you use? Where are these keys stored?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/9221/use-of-nodes-keys-wallets-keys</guid>
<pubDate>Thu, 05 Apr 2018 20:01:49 +0000</pubDate>
</item>
<item>
<title>External key management</title>
<link>https://www.multichain.com/qa/8945/external-key-management</link>
<description>I tried the guide for external key management. And I have a questions in mind for it.&lt;br /&gt;
&lt;br /&gt;
Can we just deploy one node of Multichain and use External Key for other users to transact?&lt;br /&gt;
&lt;br /&gt;
I'm trying to implement by using one Server node (or more) and some users will be just using external key to access the Blockchain. Is that possible?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8945/external-key-management</guid>
<pubDate>Wed, 14 Mar 2018 03:03:17 +0000</pubDate>
</item>
<item>
<title>Address and priv key longitude?</title>
<link>https://www.multichain.com/qa/8615/address-and-priv-key-longitude</link>
<description>&lt;p&gt;Hi, I've read this article&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.multichain.com/developers/address-key-format/&quot;&gt;https://www.multichain.com/developers/address-key-format/&lt;/a&gt; and I don't have clear how long is a public address and a private key. By what I understood, I think the public address is 65 bytes and the private key is 41 bytes, but I find those numbers rare&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8615/address-and-priv-key-longitude</guid>
<pubDate>Fri, 16 Feb 2018 10:28:06 +0000</pubDate>
</item>
<item>
<title>Create Private Key</title>
<link>https://www.multichain.com/qa/8186/create-private-key</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Is there possible that can create a private key for an existing address of the node?&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8186/create-private-key</guid>
<pubDate>Tue, 09 Jan 2018 06:53:25 +0000</pubDate>
</item>
<item>
<title>Multichain Node and address private key.</title>
<link>https://www.multichain.com/qa/7043/multichain-node-and-address-private-key</link>
<description>&lt;p&gt;in this thread, &lt;a href=&quot;https://www.multichain.com/qa/6559/multichain-cluster-stops-mining?show=6559#q6559,&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/qa/6559/multichain-cluster-stops-mining?show=6559#q6559,&lt;/a&gt; there is a statement stated that &lt;strong&gt;&lt;em&gt;&quot;&lt;span style=&quot;font-family:helvetica,arial,sans-serif; font-size:14px&quot;&gt;if you are assigning mining permissions to new addresses, but the private keys for those new addresses aren't owned by any active online nodes&lt;/span&gt;&quot;&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Does this mean each node support their own private key its correspond address ? Suppose that this condition is in the same blockchain.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/7043/multichain-node-and-address-private-key</guid>
<pubDate>Wed, 11 Oct 2017 03:30:11 +0000</pubDate>
</item>
<item>
<title>Use dumped wallet, or private key, to bootstrap new physical machine (node) in existing blockchain</title>
<link>https://www.multichain.com/qa/6877/dumped-private-bootstrap-physical-machine-existing-blockchain</link>
<description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;The api allows for exporting (dumping) both privatekeys individually, or the entire wallet, for importing elsewhere. That's great, except to use either, I have to bootstrap a new node with&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;multichaind chainname@host:port&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;which will then result in a new keypair being generated, which then needs connect permission to receive final params. Overwriting the generated wallet.dat with exported one, does nothing. It simply keeps asking to allow for the newly generated pub key to be granted permissions.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there no way to introduce a new node with existing keypair, exported from existing physical device, without first having to connect to the chain with a newly generated one?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6877/dumped-private-bootstrap-physical-machine-existing-blockchain</guid>
<pubDate>Wed, 27 Sep 2017 13:38:29 +0000</pubDate>
</item>
<item>
<title>Generating new addresses from external wallet private key</title>
<link>https://www.multichain.com/qa/6850/generating-new-addresses-from-external-wallet-private-key</link>
<description>Once an external private key, public key and address are generated for use with a lite wallet, where the user has to manage their own private key, what's the easiest way to generate new addresses for that private key? We will use an external library like BitcoinJs, but I read on &lt;a href=&quot;https://www.multichain.com/developers/address-key-format/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/address-key-format/&lt;/a&gt; that we will have to modify it a little bit?..Is that correct?.. Have any libraries been created already that work with Multichain, or do we need to do that ourselves?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6850/generating-new-addresses-from-external-wallet-private-key</guid>
<pubDate>Mon, 25 Sep 2017 16:36:34 +0000</pubDate>
</item>
<item>
<title>Restrict rpc calls, at least disable critical ones</title>
<link>https://www.multichain.com/qa/6776/restrict-rpc-calls-at-least-disable-critical-ones</link>
<description>Hi.&lt;br /&gt;
&lt;br /&gt;
The idea is to provide mutlichain as a service and expose the rpc endpoint to the user (secured by some mechanism to authenticate).&lt;br /&gt;
&lt;br /&gt;
But in my opinion there are some calls that should not be exposed over rpc. At the moment every user with rpc access can:&lt;br /&gt;
&lt;br /&gt;
- Shutdown the node&lt;br /&gt;
&lt;br /&gt;
- read the private key of the wallet&lt;br /&gt;
&lt;br /&gt;
- do upgrades&lt;br /&gt;
&lt;br /&gt;
- and the worst: is able to encrypt the wallet&lt;br /&gt;
&lt;br /&gt;
The if we expose multichain to some users, a single user can completely destroy the node.&lt;br /&gt;
&lt;br /&gt;
I would expect that rpc users can only do non harmful calls, like using the wallet, but not really own the wallet.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Is there some best practice / workaround?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Greetings,&lt;br /&gt;
&lt;br /&gt;
Alex</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6776/restrict-rpc-calls-at-least-disable-critical-ones</guid>
<pubDate>Thu, 21 Sep 2017 10:32:00 +0000</pubDate>
</item>
<item>
<title>Atomic exchange transactions with addresses whose private key is not imported on that wallet?</title>
<link>https://www.multichain.com/qa/6475/atomic-exchange-transactions-addresses-private-imported</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:helvetica,arial,sans-serif; font-size:14px&quot;&gt;Hi there, is it possible to create a atomic exchange&amp;nbsp;between two&amp;nbsp;node addresses&amp;nbsp;which private key is not imported on that wallet?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:helvetica,arial,sans-serif; font-size:14px&quot;&gt;I tried&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.multichain.com/qa/4868/exchange-transactions-imported-addresses-managed-wallet&amp;nbsp;but&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/qa/4868/exchange-transactions-imported-addresses-managed-wallet&amp;nbsp;but&lt;/a&gt; it didn't complete. Can you show it&amp;nbsp;exactly&amp;nbsp;with step by step follow&amp;nbsp;&lt;a href=&quot;https://www.multichain.com/developers/atomic-exchange-transactions/&amp;nbsp;?&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/atomic-exchange-transactions/&amp;nbsp;?&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Regard,&lt;/p&gt;&lt;p&gt;Thanh.&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6475/atomic-exchange-transactions-addresses-private-imported</guid>
<pubDate>Fri, 01 Sep 2017 03:01:11 +0000</pubDate>
</item>
<item>
<title>Store private key on client</title>
<link>https://www.multichain.com/qa/6069/store-private-key-on-client</link>
<description>Hi, i'm interested about make chat on blockchain. When user send message to another user, they make stream and encrypt messages with rsa.&lt;br /&gt;
&lt;br /&gt;
But, as i can see there is no way to make lite node for example on node js. And i have a questions is there &amp;nbsp;way to store private key only on client and access to stream with this key?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6069/store-private-key-on-client</guid>
<pubDate>Fri, 04 Aug 2017 15:41:52 +0000</pubDate>
</item>
<item>
<title>Thin wallet / private key remotely</title>
<link>https://www.multichain.com/qa/5224/thin-wallet-private-key-remotely</link>
<description>I have a bunch of RPi nodes that I want to communicate with Multichain. Since it's not possible to compile multichain for RPi, I will have to offload the wallets to a remote machine and set up the RPi's to communicate via the RPC - not an issue.&lt;br /&gt;
&lt;br /&gt;
One thing I am wondering though is if it is possible to still store the private keys on the RPi, essentially turning the remote wallets into thin wallets and signing the transactions locally, so the remote wallets do not need the private keys.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/5224/thin-wallet-private-key-remotely</guid>
<pubDate>Sat, 03 Jun 2017 12:47:28 +0000</pubDate>
</item>
<item>
<title>Create node address from a private key</title>
<link>https://www.multichain.com/qa/5053/create-node-address-from-a-private-key</link>
<description>Hi!&lt;br /&gt;
&lt;br /&gt;
I want to know if there is any way to pass a pre-create private key to a node creation so the node uses a &amp;quot;pre-known&amp;quot; address?&lt;br /&gt;
&lt;br /&gt;
Also: can the node address be a multisig address?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<guid isPermaLink="true">https://www.multichain.com/qa/5053/create-node-address-from-a-private-key</guid>
<pubDate>Mon, 15 May 2017 21:03:03 +0000</pubDate>
</item>
<item>
<title>PrivateKey wallet storage</title>
<link>https://www.multichain.com/qa/4933/privatekey-wallet-storage</link>
<description>Hi there, and thanks in advance.&lt;br /&gt;
&lt;br /&gt;
This is a two part question.&lt;br /&gt;
&lt;br /&gt;
I begin to use importAddress with generateKeyPairs instead of importPrivKey because I didn't want to store private keys on the server in case of hacks, shutdowns etc. But then I realized that I was using signMessage API.&lt;br /&gt;
&lt;br /&gt;
a) Is there any way to use signmessages trough API without having user's private key inside node wallet?&lt;br /&gt;
&lt;br /&gt;
b) Is there any way to protect users private keys if I have to keep them on node's wallet?&lt;br /&gt;
&lt;br /&gt;
Because there are a lot of functionalities that depends on node wallet using users privkeys and I want to keep that without have to worry about hacks or system failures.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
Mdev</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4933/privatekey-wallet-storage</guid>
<pubDate>Sat, 29 Apr 2017 04:38:51 +0000</pubDate>
</item>
<item>
<title>Need of explicit generation of public/private keypair...</title>
<link>https://www.multichain.com/qa/4714/need-of-explicit-generation-of-public-private-keypair</link>
<description>Initially, I was assuming that MultiChain, implicitly handles generation of public/private key pair &amp;amp; sharing public key with connecting nodes.&lt;br /&gt;
&lt;br /&gt;
But later, saw &amp;quot;createkeypair&amp;quot; API command.&lt;br /&gt;
&lt;br /&gt;
In what circumstances this command shall be used ?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4714/need-of-explicit-generation-of-public-private-keypair</guid>
<pubDate>Mon, 10 Apr 2017 05:17:04 +0000</pubDate>
</item>
<item>
<title>Private Key storage options and compatibility</title>
<link>https://www.multichain.com/qa/4656/private-key-storage-options-and-compatibility</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;Thank you for reading. In your External Key Management Tutorial, it is mentioned:&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;a bitcoin-compatible software library or hardware could be used to sign the transaction without ever revealing the private key to MultiChain itself.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;Question 1:&amp;nbsp;Would Bitkey be a choice to use with Multichain? If&amp;nbsp;not, does Multichain recommend another (will not assume any form&amp;nbsp;of affiliation)?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;Question 2:&amp;nbsp;Would using an external key management device (like a USB) cause any form of compatibility problems such as,&amp;nbsp;multisig&amp;nbsp;transactions no longer working or cannot be created? (will not hold your word on this, Multichain is doing an impeccable job already, just need a point in the right direction for this matter)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;My Goal is: To offer a physical&amp;nbsp;private key storage device to use as the mechanism to:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;1. Log&amp;nbsp;into my Web Application&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;2. Sign rawtransactions for &lt;strong&gt;submission&lt;/strong&gt; or &lt;strong&gt;approvals&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4656/private-key-storage-options-and-compatibility</guid>
<pubDate>Thu, 06 Apr 2017 04:41:14 +0000</pubDate>
</item>
<item>
<title>Stream confidentiality error</title>
<link>https://www.multichain.com/qa/4627/stream-confidentiality-error</link>
<description>&lt;p&gt;I have setup my chain as per the online guide (&lt;a href=&quot;http://www.multichain.com/developers/stream-confidentiality/&quot; rel=&quot;nofollow&quot;&gt;http://www.multichain.com/developers/stream-confidentiality/&lt;/a&gt;) lines however i am getting an error when i get about 50% of the way into this guide using this command:&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;Now we can publish this large chunk of hexadecimal data to the&amp;nbsp;items&amp;nbsp;stream:&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;multichain-cli&amp;nbsp;ITB-Chain&amp;nbsp;publishfrom&amp;nbsp;1PD2igfeiK7VyudMeiaR1q41fkV7V64g22qpPf&amp;nbsp;items secret-cpuinfo $cipherhex&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;Everything has ran smoothly up until this point&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&lt;strong&gt;on server 1:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;root@BlockchainMaster-Node1:/# multichain-cli XXX-Chain publishfrom 1PD2igfeiK7VyudMeiaR1q41fkV7V64g22qpPf items secret-cpuinfo $cipherhex&lt;br&gt;{&quot;method&quot;:&quot;publishfrom&quot;,&quot;params&quot;:[&quot;1PD2igfeiK7VyudMeiaR1q41fkV7V64g22qpPf&quot;,&quot;items&quot;,&quot;secret-cpuinfo&quot;],&quot;id&quot;:1,&quot;chain_name&quot;:&quot;ITB-Chain&quot;}&lt;/p&gt;&lt;p&gt;error code: -1&lt;br&gt;error message:&lt;br&gt;publishfrom from-address &quot;stream-identifier&quot; &quot;key&quot; data-hex&lt;/p&gt;&lt;p&gt;Publishes stream item&lt;/p&gt;&lt;p&gt;&lt;br&gt;Arguments:&lt;br&gt;1. from-address &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(string, required) Address used for issuing.&lt;br&gt;2. &quot;stream-identifier&quot; (string, required) Stream identifier - one of the following: stream txid, stream reference, stream name.&lt;br&gt;3. &quot;key&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (string, required) Item key&lt;br&gt;4. data-hex &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(string, required) Item data hex string&lt;/p&gt;&lt;p&gt;Result:&lt;br&gt;&quot;transactionid&quot; &amp;nbsp;(string) The transaction id.&lt;/p&gt;&lt;p&gt;Examples:&lt;br&gt;&amp;gt; multichain-cli XXX-Chain publishfrom &quot;1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd&quot; test &quot;hello world&quot; 48656C6C6F20576F726C64210A&lt;br&gt;&amp;gt; curl --user myusername --data-binary '{&quot;jsonrpc&quot;: &quot;1.0&quot;, &quot;id&quot;:&quot;curltest&quot;, &quot;method&quot;: &quot;XXX-Chain publishfrom&quot;, &quot;params&quot;: [&quot;1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd&quot;, &quot;test&quot;, &quot;hello world&quot;, &quot;48656C6C6F20576F726C64210A&quot;] }' -H 'content-type: text/plain;' http://127.0.0.1:4402&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&lt;strong&gt;On server 2:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;root@BlockchainMaster-Node2:~# multichain-cli XXX-Chain publishfrom 1PD2igfeiK7VyudMeiaR1q41fkV7V64g22qpPf items secret-cpuinfo $cipherhex{&quot;method&quot;:&quot;publishfrom&quot;,&quot;params&quot;:[&quot;1PD2igfeiK7VyudMeiaR1q41fkV7V64g22qpPf&quot;,&quot;items&quot;,&quot;secret-cpuinfo&quot;,&quot;53616c7465645f5fcbff0c1af75f4a8fddfe08551315f180bb46bd918e892592c3a0e1ca406fe7de0f63659e8f7d9ff7bf18db723bdd90c20a43637735f25541e8d0aba227925d091c03b8c7ca89498f6526c69651d5083a4bb8884b4627575246370ce6742ad6c0d1587ea0b02f4c88881e8344acd5ab44f6ccb4d585192582203cba70cd2e6d49dd1d5666cc6f474b2d7a48601ff383cf209ed53b8a4ab08912c4264310dbb2191cefcbdb260d21732429de525ce74ebf0d4a75dc0553132da2eb95a1cbb64608d1028c53e0b29891011025496e5103629763627d4a57246bb1a5237031e2f118a93ec46717cbcdc1c697251dbdcbcf1b3b3b84e6e78719af3ff0d64df7ffe229227b88bf49b5aaaf21ee26395d898a9b5a5b7c4de16aa3be17f69a71ff8ddf01a9cef69605d070234dbea452738c712c2fd810d7f55bb6836acb966e45a684481ceebf53baa869b5294abb52333bdfe18b014c1d7dd94b6b56808e403337846730199adf5659facce60979027428969a7c6ed84237a9cfc61245a0663b8c88b8c64acd0ccf3617ff42454135277bde7a36e0682702863cbd7af58beea0d71bf574ee4b1c36cbcba0bf3d0de5ee108ed1fcb984dd15a01fe5b31690b013bc3c5095da922ddcb3c00d39650fee0890e2d41f75d7a197e670e993fed4525b28259b73f838e5b31cd5a77cd9238de32c46c4020bf5e9afbaed5adf9f27fd1baea2b1281f3574c7990d42b52671ca2e9a236b92459a1c136c21109aefb09ba15dcd4e90a9ffd08f42f195c58b000bcec0e438a87cbfb551bfa930475de56a2463b6fecf73e9d0be15fe29d4f9059784ca4163fcf14df370bf01e8845abf2bf23b23a410569d8e803dbb552ce9180ef5d80c54a90f790366bc58c37eb9a43296dadcc8610e47ca58bed30fd23b1956d5ff5b7a3d7643fc7d22434c9287d558cda37ac091bfcff927cefe3d6b5f1e65b7549e6cb3738d79da8e112ca1a07f10989992b5a4556698d777881b181932c20862c85f4e4d8418bf435cb1f5e14d768695261b73319f750f87b2e781f56dea96e87b70b822f2aa7349b51a8d2e7bb987562e7792c7eaa7ad9fd4ef5647058d9aed2c08818a405a6ee105de6f5791a4dfffbe69b2cfe9419c55041df518a33030f43fb5e3b39c5fb9e26164dcb7409b46b841e26a09807b7540bb47d1f7ef052657eb1f12d855fd343b9ac7&quot;],&quot;id&quot;:1,&quot;chain_name&quot;:&quot;XXX-Chain&quot;}&lt;/p&gt;&lt;p&gt;error code: -709&lt;br&gt;error message:&lt;br&gt;Private key for from-address is not found in this wallet&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Im stuck as everything was going so well up to this point :/&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4627/stream-confidentiality-error</guid>
<pubDate>Tue, 04 Apr 2017 20:28:49 +0000</pubDate>
</item>
<item>
<title>Stream Confidentiality</title>
<link>https://www.multichain.com/qa/4064/stream-confidentiality</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Please my original understanding of using streams to send confidential data, was to make use of the public key and private key of the address in the multichain wallet, rather than creating a new key-pair as shown in the tutorial (&lt;em&gt;&lt;a href=&quot;http://www.multichain.com/developers/stream-confidentiality/&quot; rel=&quot;nofollow&quot;&gt;http://www.multichain.com/developers/stream-confidentiality/&lt;/a&gt;&lt;/em&gt;). Is my approach feasible or must the application create new key pairs for the address?&lt;/p&gt;&lt;p&gt;P.S I haven't actually tried doing my approach, just thinking of how it would be.&lt;/p&gt;&lt;p&gt;R.&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4064/stream-confidentiality</guid>
<pubDate>Fri, 17 Feb 2017 23:26:14 +0000</pubDate>
</item>
<item>
<title>how to send assets from a peer node's wallet without importing private key?</title>
<link>https://www.multichain.com/qa/3912/send-assets-from-peer-nodes-wallet-without-importing-private</link>
<description>i am a newbie to multichain, i have a master node and 2 nodes are connected to it. Each time when i try to send assets &amp;nbsp;from peer nodes' address in the wallet, it asks for its private key. I found a way by importing the private key of that address. But i want that to happen without importing the private key. Is there any efficient work-around for this?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3912/send-assets-from-peer-nodes-wallet-without-importing-private</guid>
<pubDate>Mon, 06 Feb 2017 00:06:22 +0000</pubDate>
</item>
</channel>
</rss>