Transact on another node

+1 vote
Hi,

Can I make a transaction on a different node from which the transacting address exists? For instance, two nodes A and B each with addresses having some assets. Can i transfer an address's assets from node B if the address was generated in node A.

I know the answer is No and one reason why is because the private key for the addresses are stored on their node. I am looking for additional reasons if there is as well as how to go around this for instance if I have the address, public key and private key copied to a file, and the node goes down, can i transfer the assets owned by that address from a different node?

Thanks.

R
asked May 3, 2017 by Rosevelt

1 Answer

0 votes

If you have a copy of the private key of another node, you can do anything on that node's behalf. There are two main ways to do this:

  1. Import the corresponding address using importaddress, then use createrawsendfrom to build transactions and separately sign them using the externally held private key. See this tutorial for more information: http://www.multichain.com/developers/external-key-management/
  2. Import the private key fully using importprivkey, in which case the node behaves exactly the same as if it was its own address to start with.
answered May 3, 2017 by MultiChain
...