<p>You can use the <code>importprivkey</code> and <code>importmulti</code> RPC calls in <code>bitcoin-cli</code> to do this. </p>

CC BY-SA 4.0
2019-07-01T01:24:15.477Z
i figured out, it's more secure to not import the privatekey. just generate the adresses and put them on watchonly, so the wallet is just monitoring incoming transactions
Tim Kretschmer
CC BY-SA 4.0
2019-02-06T09:21:21.693Z
2019-02-06T09:21:21.693Z
torkel
<p>i've created a HD Wallet via (<a href="https://github.com/GemHQ/money-tree" rel="nofollow noreferrer">https://github.com/GemHQ/money-tree</a>) </p>

<p>i would like to take the private key and throw that into my daemon so i can listen on incoming transactions and also transfer the funds to our coldwallet via RPC calls. </p>

<p>how do i create a wallet.dat via privatekey only so that my daemon can open it?</p>

<bitcoind><private-key>
Import / create a Wallet from a key with bitcoind or bitcoin-cli to use as a hotwallet?
Tim Kretschmer
# Import / create a Wallet from a key with bitcoind or bitcoin-cli to use as a hotwallet?

(Asked by: username_0 on 2019-02-06)

i've created a HD Wallet via (<https://github.com/GemHQ/money-tree>)

i would like to take the private key and throw that into my daemon so i can listen on incoming transactions and also transfer the funds to our coldwallet via RPC calls.

how do i create a wallet.dat via privatekey only so that my daemon can open it?

**Tags:** bitcoind, private-key


---

## 1 answers

### Answer by username_1 on 2019-02-06. Score: 1 | Accepted answer

You can use the `importprivkey` and `importmulti` RPC calls in `bitcoin-cli` to do this.

> **Comments:**
> **username_0**: i figured out, it's more secure to not import the privatekey. just generate the adresses and put them on watchonly, so the wallet is just monitoring incoming transactions  

---

