I am trying to develop some application using bitcoin (currently only in the regtest mode). I am aware that one can create a new address using

bitcoin-cli -regtest getnewaddress

RPC call, but I want to know whether bitcoind pre-generates a bitcoin wallet address when we install and run

bitcoind -regtest -daemon

fresh. If yes, how can I know this address?


1 Answer 1



The wallet actually always pregenerates keys (not addresses) and puts them in the keypool. A keys is fetched from the keypool and converted to an address only when an address is explicitly requested (via getnewaddress or from the GUI). An address is not pre-fetched by default.

  • Thank you Andrew. Where can I find these pre-generated keys?
    – Bajjubaba
    May 10, 2019 at 5:11
  • You can't without using getnewaddress. They are not shown to users as keys by themselves are not particularly useful.
    – Ava Chow
    May 10, 2019 at 5:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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