<p>Consider using hierarchical <a href="https://en.bitcoin.it/wiki/BIP_0032" rel="nofollow">BIP32</a> wallets. You can generate the addresses with various tools (e.g. <a href="https://github.com/spesmilo/sx" rel="nofollow">sx</a>) or natively in your web app. Then you can import the keys to your bitcoind node in order to manage them. If needed, you can have multiple bitcoind nodes and load-balance the keys among them (e.g. having X customers per node).</p>

<p>The great advantage of <strong>BIP32</strong> wallets is that you only need to perform the backup <strong>once</strong> - at the beginning, since all the keys are derived from the initial seed.</p>

CC BY-SA 3.0
2014-09-03T16:47:46.607Z
2014-09-03T16:47:46.607Z
knaperek
<p>I'm creating a web application where many, many transactions will take place in a day. I have the bitcoin daemon running on a VPS and talking to my web app via JSON-RPC. </p>

<p>The users on my website will be generating many different addresses and sending many different bitcoins to these addresses (much more than the 100 keys by default in the keypool).</p>

<p>Should I simply set the keypool size to be something like 100,000 (or the max number of addresses generated per day) then perform a daily backup? Or what other method is the best when dealing with a very large amount of address generations?</p>

CC BY-SA 3.0
2014-01-03T01:58:54.230Z
You might consider recycling addresses. As for your question, no idea, sorry.
Steven Roose
<json-rpc><website-integration><keypool>
Bitcoind Keypool Best Practices For Web App
seeARMS
# Bitcoind Keypool Best Practices For Web App

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

I'm creating a web application where many, many transactions will take place in a day. I have the bitcoin daemon running on a VPS and talking to my web app via JSON-RPC.

The users on my website will be generating many different addresses and sending many different bitcoins to these addresses (much more than the 100 keys by default in the keypool).

Should I simply set the keypool size to be something like 100,000 (or the max number of addresses generated per day) then perform a daily backup? Or what other method is the best when dealing with a very large amount of address generations?

**Tags:** json-rpc, website-integration, keypool

> **Comments:**
> **username_1**: You might consider recycling addresses. As for your question, no idea, sorry.  

---

## 1 answers

### Answer by username_2 on 2014-09-03. Score: 1

Consider using hierarchical [BIP32](https://en.bitcoin.it/wiki/BIP_0032) wallets. You can generate the addresses with various tools (e.g. [sx](https://github.com/spesmilo/sx)) or natively in your web app. Then you can import the keys to your bitcoind node in order to manage them. If needed, you can have multiple bitcoind nodes and load-balance the keys among them (e.g. having X customers per node).

The great advantage of **BIP32** wallets is that you only need to perform the backup **once** - at the beginning, since all the keys are derived from the initial seed.


---

