<p>No.</p>

<p>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 <code>getnewaddress</code> or from the GUI). An address is not pre-fetched by default.</p>

CC BY-SA 4.0
2019-05-10T05:11:45.267Z
Thank you Andrew. Where can I find these pre-generated keys?
Bajjubaba
CC BY-SA 4.0
2019-05-10T05:23:36.050Z
You can't without using `getnewaddress`. They are not shown to users as keys by themselves are not particularly useful.
Ava Chow
CC BY-SA 4.0
2019-05-08T19:46:50.017Z
2019-05-08T19:46:50.017Z
Ava Chow
<p>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 </p>

<p><code>bitcoin-cli -regtest getnewaddress</code></p>

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

<p><code>bitcoind -regtest -daemon</code></p>

<p>fresh. If yes, how can I know this address?</p>

CC BY-SA 4.0
2019-05-08T13:30:58.287Z
Possible duplicate of [Can you list receiving addresses in bitcoin-cli?](https://bitcoin.stackexchange.com/questions/50314/can-you-list-receiving-addresses-in-bitcoin-cli)
RedGrittyBrick
<bitcoind><client>
Can we get any default address before running getnewaddress?
Bajjubaba
# Can we get any default address before running getnewaddress?

(Asked by: username_0 on 2019-05-08)

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?

**Tags:** bitcoind, client

> **Comments:**
> **username_1**: Possible duplicate of [Can you list receiving addresses in bitcoin-cli?](https://bitcoin.stackexchange.com/questions/50314/can-you-list-receiving-addresses-in-bitcoin-cli)  

---

## 1 answers

### Answer by username_2 on 2019-05-08. Score: 0 | Accepted answer

No.

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.

> **Comments:**
> **username_0**: Thank you Andrew. Where can I find these pre-generated keys?  
> **username_2**: You can't without using `getnewaddress`. They are not shown to users as keys by themselves are not particularly useful.  

---

