<p>Check this section out: <a href="https://en.bitcoin.it/wiki/How_to_import_private_keys#Using_bitcoind" rel="nofollow">https://en.bitcoin.it/wiki/How_to_import_private_keys#Using_bitcoind</a></p>

<p>Essentially you can use <code>importprivkey</code></p>

<pre><code>$ bitcoind help
[...]
  importprivkey &lt;bitcoinprivkey&gt; [label]
</code></pre>

CC BY-SA 3.0
2014-01-27T10:35:14.777Z
2014-01-27T10:35:14.777Z
Luca Matteis
<p>I need to be able to create an address in 2 different Bitcoin-qt instances (actually 2 different PCs).</p>

<p>I can create it using "getnewaddress" on the first one but how can I import it to the second one with the private key?</p>

<p>Thank you!</p>

<bitcoind><json-rpc><private-key>
How can I copy an address (with the private key) using JSON-RPC?
Diego
# How can I copy an address (with the private key) using JSON-RPC?

(Asked by: username_0 on 2014-01-27)

I need to be able to create an address in 2 different Bitcoin-qt instances (actually 2 different PCs).

I can create it using "getnewaddress" on the first one but how can I import it to the second one with the private key?

Thank you!

**Tags:** bitcoind, json-rpc, private-key


---

## 1 answers

### Answer by username_1 on 2014-01-27. Score: 1 | Accepted answer

Check this section out: <https://en.bitcoin.it/wiki/How_to_import_private_keys#Using_bitcoind>

Essentially you can use `importprivkey`

```
$ bitcoind help
[...]
  importprivkey <bitcoinprivkey> [label]

```


---

