Usage of Public and Private Keys in Transactions

+1 vote
On one node , i have two addresses :

chain2: getaddresses
{"method":"getaddresses","params":[],"id":1,"chain_name":"chain2"}

[
    "1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt", --> this was created through getnewaddress
    "1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A" --> this is the original address
]

While checking the balance , i get this

chain2: gettotalbalances
{"method":"gettotalbalances","params":[],"id":1,"chain_name":"chain2"}

[
    {
        "name" : "asset2",
        "assetref" : "4149-266-26549",
        "qty" : 9.00000000
    },
    {
        "name" : "asset1",
        "assetref" : "4055-266-19479",
        "qty" : 825.00000000
    }
]

 

Now i am transferring fund from original address to new address for asset 1 as below:

chain2: sendassetfrom 1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A 1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt asset1 100
{"method":"sendassetfrom","params":["1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A","1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt","asset1",100],"id":1,"chain_name":"chain2"}

cb32a82e6c452d626b1398bcc74d95f0c727277386e61eff02f479fbf3320d10

Can i start using public,private keys as signing elements in these transactions, how should that be done. Please suggest samples.
asked Oct 19, 2016 by 06arnab

1 Answer

0 votes
I'm assuming this is a duplicate of this question while will be answered:

http://www.multichain.com/qa/2937/can-i-submit-transaction-from-outside-the-node

If not, please clarify what you mean by using public, private keys to sign elements in transactions.
answered Oct 20, 2016 by MultiChain
...