<p>The Satoshi Bitcoin client (<code>bitcoin-qt</code> or <code>bitcoind</code>) has an <a href="https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29" rel="nofollow">RPC API</a> which is the most common way to interact with it programatically.  You can use the <code>getnewaddress</code> command to create as many addresses as you like.  I know of no reason why it shouldn't be able to handle 50,000 or more.</p>

CC BY-SA 3.0
2014-02-23T11:58:09.503Z
Memory leaks (of temporary used memory)?
Peter Mortensen
CC BY-SA 3.0
2014-02-23T15:45:41.933Z
@Peter: I'm not aware of the Satoshi client having such bugs, are you?
Nate Eldredge
CC BY-SA 3.0
2014-02-22T16:24:53.860Z
2014-02-22T16:24:53.860Z
Nate Eldredge
<p>You can have Bitcoin-Qt generate 50k addresses by starting it with the parameter <code>-keypool=50000</code>.</p>

<p>They will not all be visible in the client interface, most will be just hidden as unused backup addresses, but they will all be stored in your <code>wallet.dat</code>.</p>

CC BY-SA 3.0
2014-02-22T16:00:03.590Z
2014-02-22T16:00:03.590Z
Murch
<p>How can I create 50,000+ bitcoin addresses in my wallet?</p>

<p>I will need more than 50,000+ addresses in my main wallet. I use Bitcoin Armory, Bitcoin-Qt and I'm just trying out Blockchain.info.</p>

<p>Is it possible to generate 50,000+ addresses in my wallet? If I use bBitcoin-Qt  or Armory I can create addresses manually, but I need something to automate this system.</p>

<p>Is it possible? Is there some API for this?</p>

<wallet><bitcoin-core><address-generation>
How can I create 50,000+ bitcoin addresses in my wallet?
Smith D.
# How can I create 50,000+ bitcoin addresses in my wallet?

(Asked by: username_0 on 2014-02-22)

How can I create 50,000+ bitcoin addresses in my wallet?

I will need more than 50,000+ addresses in my main wallet. I use Bitcoin Armory, Bitcoin-Qt and I'm just trying out Blockchain.info.

Is it possible to generate 50,000+ addresses in my wallet? If I use bBitcoin-Qt or Armory I can create addresses manually, but I need something to automate this system.

Is it possible? Is there some API for this?

**Tags:** wallet, bitcoin-core, address-generation


---

## 2 answers

### Answer by username_1 on 2014-02-22. Score: 1

The Satoshi Bitcoin client (`bitcoin-qt` or `bitcoind`) has an [RPC API](https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29) which is the most common way to interact with it programatically. You can use the `getnewaddress` command to create as many addresses as you like. I know of no reason why it shouldn't be able to handle 50,000 or more.

> **Comments:**
> **username_2**: Memory leaks (of temporary used memory)?  
> **username_1**: @Peter: I'm not aware of the Satoshi client having such bugs, are you?  

---

### Answer by username_3 on 2014-02-22. Score: 1

You can have Bitcoin-Qt generate 50k addresses by starting it with the parameter `-keypool=50000`.

They will not all be visible in the client interface, most will be just hidden as unused backup addresses, but they will all be stored in your `wallet.dat`.


---

