<p>A wallet is not the same as an address. A wallet is a collection of addresses. Wallets usually also contain the private keys for the addresses and any relevant transactions.</p>

<p>You can get as many addresses from <code>bitcoind</code> as you want with <code>getnewaddress</code> and they will all be part of the same wallet. Any coins sent to those addresses will be part of your wallet.</p>

<p>Also, Bitcoin Core is an HD wallet, but there is no need for you to have an HD wallet to do what you want. HD wallets are only relevant for backups.</p>

CC BY-SA 3.0
2017-12-01T17:59:15.860Z
we are working on project like an exchange its a lotto system plus lotto trading people can trade their lotto before declaration day,i wants to know if all coins will be part of our system wallet then there will be too many private keys for users right? if yes then how we can get regular backups of users private keys and public keys if they wants their private keys back
Jignesh Chaudhary
CC BY-SA 3.0
2017-12-01T18:42:22.017Z
The private keys are your private keys, not the users private keys. They are part of your site's wallet. The user should never be giving you any private keys, nor should you be giving users any private keys. They are depositing money into your website; the money is yours.
Ava Chow
CC BY-SA 3.0
2017-12-01T20:06:32.517Z
Ok,thanks a lot .one more question : are you open for consultation we can pay for that by d way because i have at least 6 questions so i will need much help of your knowledge
Jignesh Chaudhary
CC BY-SA 3.0
2017-11-30T20:59:45.977Z
2017-11-30T20:59:45.977Z
Ava Chow
<p>i mean exchange allows every users a unique BTC deposit address </p>

<p>different users sends btc to different addresses but BTC endsup in same wallet</p>

<p>can i create multiple receiving address by bitcoind (getnewaddress)  or i will have to use HD wallet for that for our users (we are building lotto system on bitcoin)</p>

CC BY-SA 3.0
2018-04-02T04:15:41.710Z
If your project is sufficiently developed it would be great to see it published on GitHub.
Willtech
<bitcoin-core><bitcoind><address-generation><mycelium-wallet>
how does bitcoind functions in bitcoin exchange model?
Jignesh Chaudhary
# how does bitcoind functions in bitcoin exchange model?

(Asked by: username_0 on 2017-11-30)

i mean exchange allows every users a unique BTC deposit address

different users sends btc to different addresses but BTC endsup in same wallet

can i create multiple receiving address by bitcoind (getnewaddress) or i will have to use HD wallet for that for our users (we are building lotto system on bitcoin)

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

> **Comments:**
> **username_1**: If your project is sufficiently developed it would be great to see it published on GitHub.  

---

## 1 answers

### Answer by username_2 on 2017-11-30. Score: 1

A wallet is not the same as an address. A wallet is a collection of addresses. Wallets usually also contain the private keys for the addresses and any relevant transactions.

You can get as many addresses from `bitcoind` as you want with `getnewaddress` and they will all be part of the same wallet. Any coins sent to those addresses will be part of your wallet.

Also, Bitcoin Core is an HD wallet, but there is no need for you to have an HD wallet to do what you want. HD wallets are only relevant for backups.

> **Comments:**
> **username_0**: we are working on project like an exchange its a lotto system plus lotto trading people can trade their lotto before declaration day,i wants to know if all coins will be part of our system wallet then there will be too many private keys for users right? if yes then how we can get regular backups of users private keys and public keys if they wants their private keys back  
> **username_2**: The private keys are your private keys, not the users private keys. They are part of your site's wallet. The user should never be giving you any private keys, nor should you be giving users any private keys. They are depositing money into your website; the money is yours.  
> **username_0**: Ok,thanks a lot .one more question : are you open for consultation we can pay for that by d way because i have at least 6 questions so i will need much help of your knowledge  

---

