<p>The call you want is <code>getnewaddress</code>, which will generate a new Bitcoin address, add it to the current wallet, and return the address as the result of the call.</p>

<p>You can find documentation for the call here: <a href="https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/getnewaddress/" rel="nofollow noreferrer">https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/getnewaddress/</a></p>

<p>If you were writing this in Python, it would look something like this:</p>

<pre><code>from pyjsonrpc import ServiceProxy

bitcoin = ServiceProxy("http://127.0.0.1:8332")
bitcoin.username = 'testuser'
bitcoin.password = 'testpass'
print(bitcoin.getnewaddress())
</code></pre>

<p>You would then need to track the addresses generated and record them with your user accounts, monitoring transactions and crediting users as they come in.</p>

CC BY-SA 4.0
2018-09-26T13:02:15.283Z
Thanks for your prompt reply. I will try this approach and update my result here.
Dronzer1010
CC BY-SA 4.0
2018-09-26T12:58:08.507Z
2018-09-26T21:09:50.943Z
2018-09-26T21:09:50.943Z
Motoma
<p>I am creating a crypto-trading platform . I wanted to know how to create wallet address dynamically for all new registered user and also create new address for every transaction.</p>

<p>I am using bitcoind for bitcoin and will be doing RPC calls directly. Also let me know if there is any better way to do it. </p>

CC BY-SA 4.0
2018-09-25T15:41:09.980Z
Are you asking for an implementation or is it a theoretical question? Also will your application have access to the keys?
JBaczuk
CC BY-SA 4.0
2018-09-25T17:07:59.193Z
We'll need more information to specifically answer your question: what Bitcoin node software are you using? Are you connecting through a client library, straight RPC calls, or just using the command line?
Motoma
CC BY-SA 4.0
2018-09-26T07:31:39.610Z
@Motoma I am using bitcoind and will be doing direct RPC calls for now. Let know if there are any other better options.
Dronzer1010
CC BY-SA 4.0
2018-09-26T07:33:46.870Z
@JBaczuk I am asking for implementation , yes application will have have access to keys.
Dronzer1010
CC BY-SA 4.0
2019-01-08T13:57:45.147Z
since i have worked on exchange platform and payment gateways you can message me in persion about the doubts, i will be happy to help you
Parishilan Rayamajhi
CC BY-SA 4.0
2019-01-08T13:58:59.833Z
creating wallet address dynamically can be done with RPCs but for a exchange you wiil be needing extra services like mempool crawler, block crawler and soo on
Parishilan Rayamajhi
<blockchain><bitcoind><ripple><ethereum>
Create wallet address on user registration for trading platform
Dronzer1010
# Create wallet address on user registration for trading platform

(Asked by: username_0 on 2018-09-25)

I am creating a crypto-trading platform . I wanted to know how to create wallet address dynamically for all new registered user and also create new address for every transaction.

I am using bitcoind for bitcoin and will be doing RPC calls directly. Also let me know if there is any better way to do it.

**Tags:** blockchain, bitcoind, ripple, ethereum

> **Comments:**
> **username_1**: Are you asking for an implementation or is it a theoretical question? Also will your application have access to the keys?  
> **username_2**: We'll need more information to specifically answer your question: what Bitcoin node software are you using? Are you connecting through a client library, straight RPC calls, or just using the command line?  
> **username_0**: @username_2 I am using bitcoind and will be doing direct RPC calls for now. Let know if there are any other better options.  
> **username_0**: @username_1 I am asking for implementation , yes application will have have access to keys.  
> **username_3**: since i have worked on exchange platform and payment gateways you can message me in persion about the doubts, i will be happy to help you  
> **username_3**: creating wallet address dynamically can be done with RPCs but for a exchange you wiil be needing extra services like mempool crawler, block crawler and soo on  

---

## 1 answers

### Answer by username_2 on 2018-09-26. Score: 0

The call you want is `getnewaddress`, which will generate a new Bitcoin address, add it to the current wallet, and return the address as the result of the call.

You can find documentation for the call here: <https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/getnewaddress/>

If you were writing this in Python, it would look something like this:

```
from pyjsonrpc import ServiceProxy

bitcoin = ServiceProxy("http://127.0.0.1:8332")
bitcoin.username = 'testuser'
bitcoin.password = 'testpass'
print(bitcoin.getnewaddress())

```

You would then need to track the addresses generated and record them with your user accounts, monitoring transactions and crediting users as they come in.

> **Comments:**
> **username_0**: Thanks for your prompt reply. I will try this approach and update my result here.  

---

