Running full node ( bitcoind ) without private key

1

I want to run full Bitcoin node ( via bitcoind ) in a "secured listen-only" fashion, ie if anybody gets access to the server he gets nothing.

At the same time I want to be able to execute RPC calls such as: - listtransactions ( to get transactions for my specific wallet ) - gettransaction

Is it possible? If yes, how to achieve this? No sending should be possible from my wallet, of course.

I assume that using a key -disablewallet won't allow me to use listtransactions rpc call.

Thanks

user3489820

Posted 2018-03-05T20:00:20.717

Reputation: 113

Answers

3

You can simply add your addresses as "watch only" addresses to the wallet, which means that the private keys are not stored on the server, but the transactions are still listed by the RPC calls. You can then keep your private keys elsewhere, for example on a hardware wallet.

MeshCollider

Posted 2018-03-05T20:00:20.717

Reputation: 8 735

ok, but how exactly to do it? what rpc call to use / what change in the config / what parameter in command line for bitcoind?

Will definitely look by myself right now, but if you already know it, please tell me.. – user3489820 2018-03-05T20:04:53.907

1Use the importaddress RPC, so it never sees the private keyMeshCollider 2018-03-05T20:06:17.677

Hah..Thanks... I was checking outdated API: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

user3489820 2018-03-05T20:18:38.207

Will try out :) Hope everything will work..user3489820 2018-03-05T20:19:11.663