<p>Bitcoin-Core can manage different 'accounts'.
You can can create a new account by using 'getnewaddress':</p>

<pre><code>bitcoin-cli getnewaddress "accountname"
</code></pre>

<p>If the account name exists, the address will be added to that account,
otherwise it will create a new account with that name.
You can see what accounts you have by using 'listaccounts'</p>

<p>For other options see: <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list</a> </p>

<p>Note that these accounts are still considered part of a same "wallet", as it they belong to the same user.</p>

<p>If you want to separate them completely, you can run different instances by using different data folders.
Use the '-datadir=/path/to/data' option when running bitcoin (and again everytime you use 'bitcoin-cli') to tell bitcoin which "account" it has to use.</p>

<p>E.g.: </p>

<pre><code>bitcoind -datadir=/home/user/btc1/ -daemon
bitcoind -datadir=/home/user/btc2/ -daemon
bitcoin-cli -datadir=/home/user/btc1/ sendtoaddress &lt;address-of-btc2&gt; &lt;amount&gt;
</code></pre>

<p>Note that you can also use different configurations by placing different bitcoin.conf files inside each data folder.</p>

CC BY-SA 3.0
2018-03-02T15:40:38.393Z
Completely removed from bitcoin now...
scott
CC BY-SA 3.0
2018-03-06T11:35:15.190Z
Please be more specific. What has been removed?
FedFranz
CC BY-SA 3.0
2017-09-28T10:21:32.910Z
2017-09-28T10:43:06.053Z
2017-09-28T10:43:06.053Z
FedFranz
<p>Listaccounts is deprecated and will be removed in V0.18. To use this command, start bitcoind with -deprecatedrpc=accounts. (code -32)</p>

CC BY-SA 4.0
2018-11-29T09:22:16.920Z
2018-11-29T09:22:16.920Z
Minherc
<p>I'm new to this bitcoin and seems confused a little.  </p>

<p>I need a system where I need to create <code>new address for every user</code>(personal account) where they will transfer some bitcoins to it and buy some products from my website.  </p>

<p>So, I've started <code>bitcoind</code> and through <code>bitcoin-cli</code>, I've generated new address(<code>getnewaddress</code>) and send some bitcoins to it.  </p>

<p>But on the transactions screen, it shows <code>payment to yourself</code> and the balance of the account doesn't change.  </p>

<p>Can anyone, please help me how to create a <code>new individual account address</code> for every user and make the transactions. It should have a <code>password or a private key</code> also for security.  </p>

<p>NPM Package I used : <a href="https://www.npmjs.com/package/bitcoin-core" rel="nofollow noreferrer">https://www.npmjs.com/package/bitcoin-core</a></p>

<blockchain><bitcoin-core><bitcoind><address><address-generation>
bitcoind deamon create new account for every user
RealSteel
# bitcoind deamon create new account for every user

(Asked by: username_0 on 2017-09-28)

I'm new to this bitcoin and seems confused a little.

I need a system where I need to create `new address for every user`(personal account) where they will transfer some bitcoins to it and buy some products from my website.

So, I've started `bitcoind` and through `bitcoin-cli`, I've generated new address(`getnewaddress`) and send some bitcoins to it.

But on the transactions screen, it shows `payment to yourself` and the balance of the account doesn't change.

Can anyone, please help me how to create a `new individual account address` for every user and make the transactions. It should have a `password or a private key` also for security.

NPM Package I used : <https://www.npmjs.com/package/bitcoin-core>

**Tags:** blockchain, bitcoin-core, bitcoind, address, address-generation


---

## 2 answers

### Answer by username_1 on 2017-09-28. Score: 2 | Accepted answer

Bitcoin-Core can manage different 'accounts'.
You can can create a new account by using 'getnewaddress':
bitcoin-cli getnewaddress "accountname"

If the account name exists, the address will be added to that account,
otherwise it will create a new account with that name.
You can see what accounts you have by using 'listaccounts'
For other options see: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list 
Note that these accounts are still considered part of a same "wallet", as it they belong to the same user.
If you want to separate them completely, you can run different instances by using different data folders.
Use the '-datadir=/path/to/data' option when running bitcoin (and again everytime you use 'bitcoin-cli') to tell bitcoin which "account" it has to use.
E.g.: 
bitcoind -datadir=/home/user/btc1/ -daemon
bitcoind -datadir=/home/user/btc2/ -daemon
bitcoin-cli -datadir=/home/user/btc1/ sendtoaddress  

Note that you can also use different configurations by placing different bitcoin.conf files inside each data folder.

> **Comments:**
> **username_2**: Completely removed from bitcoin now...  
> **username_1**: Please be more specific. What has been removed?  

---

### Answer by username_3 on 2018-11-29. Score: 2

Listaccounts is deprecated and will be removed in V0.18. To use this command, start bitcoind with -deprecatedrpc=accounts. (code -32)


---

