0

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?

1

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

1
  • 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 Jul 1 '19 at 1:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.