<p>If you're running your own Bitcoind for JSON RPC calls via PHP then you can generate new address for each of your customers by this JSON Call command in PHP like this:</p>

<pre><code>echo $wallet-&gt;getnewaddress();
</code></pre>

<p>This will echo the new address and stores it in wallet variable. Please refer to this doc <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>I hope this helps. </p>

<p>Thanks</p>

CC BY-SA 3.0
2017-07-29T09:41:00.870Z
2017-09-18T17:57:05.183Z
2017-09-18T17:57:05.183Z
Shreyal Rana
<p>I'm working on a marketplace type website and i want a bitcoin address to be generated for each user that registers an account. this needs to be done in php with no javascript </p>

<blockchain><php><marketplace><forum>
how to generate a bitcoin address for each user that registers
James
# how to generate a bitcoin address for each user that registers

(Asked by: username_0 on 2017-07-29)

I'm working on a marketplace type website and i want a bitcoin address to be generated for each user that registers an account. this needs to be done in php with no javascript

**Tags:** blockchain, php, marketplace, forum


---

## 1 answers

### Answer by username_1 on 2017-07-29. Score: 0 | Accepted answer

If you're running your own Bitcoind for JSON RPC calls via PHP then you can generate new address for each of your customers by this JSON Call command in PHP like this:

```
echo $wallet->getnewaddress();

```

This will echo the new address and stores it in wallet variable. Please refer to this doc <https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list>

I hope this helps.

Thanks


---

