<p>It is possible with json-rpc interface and one-time script.</p>
<ol>
<li>Enable json-rpc port by changing bitcoin.conf used by your Bitcoin Core (usually <code>~/.bitcoin/bitcoin.conf</code>).</li>
</ol>
<p><a href="https://ma.ttias.be/enable-the-rpc-json-api-with-password-authentication-in-bitcoin-core/" rel="nofollow noreferrer">https://ma.ttias.be/enable-the-rpc-json-api-with-password-authentication-in-bitcoin-core/</a></p>
<ol start="2">
<li><p>Start bitcoind/bitcoin core.</p>
</li>
<li><p>Unlock your wallet using RPC <a href="https://chainquery.com/bitcoin-cli/walletpassphrase" rel="nofollow noreferrer"><strong>walletpassphrase</strong></a> with timeout parameter like 600 or greater.</p>
</li>
<li><p>Obtain new address using RPC <a href="https://chainquery.com/bitcoin-cli/getnewaddress" rel="nofollow noreferrer"><strong>getnewaddress</strong></a>. This function creates new receive address under the same account(~wallet).</p>
</li>
<li><p>Write the returned string into the TXT file with appending to the existing list of addresses.</p>
</li>
</ol>
<p>This is to be done via simple python script and <code>for i in range(0, 500):</code> loop.</p>
<p>Use library such as <a href="https://github.com/jgarzik/python-bitcoinrpc" rel="nofollow noreferrer"><strong>python-bitcoinrpc</strong></a> to easily connect to your json-rpc.</p>
<p>Funds send to any of these addresses you've generated and saved to a TXT file joined to the available wallet balance and will be available to spend in a transaction from the interface.</p>

CC BY-SA 4.0
2021-07-15T10:53:22.080Z
2021-07-15T11:10:39.337Z
2021-07-15T11:10:39.337Z
Akias
<p>I want to create 100 to 500 to 1000 BTC receive addresses. It should not expire. Is it possible ? Is it possible in Bitcoin core ?</p>

<bitcoin-core><blockchain><buy-bitcoins><address-generation><crypto-2.0>
Bitcoin BTC wallet receive addresses
Radrangi
# Bitcoin BTC wallet receive addresses

(Asked by: username_0 on 2021-07-15)

I want to create 100 to 500 to 1000 BTC receive addresses. It should not expire. Is it possible ? Is it possible in Bitcoin core ?

**Tags:** bitcoin-core, blockchain, buy-bitcoins, address-generation, crypto-2.0


---

## 1 answers

### Answer by username_1 on 2021-07-15. Score: 1

It is possible with json-rpc interface and one-time script.

1. Enable json-rpc port by changing bitcoin.conf used by your Bitcoin Core (usually `~/.bitcoin/bitcoin.conf`).

<https://ma.ttias.be/enable-the-rpc-json-api-with-password-authentication-in-bitcoin-core/>

2. Start bitcoind/bitcoin core.
3. Unlock your wallet using RPC [**walletpassphrase**](https://chainquery.com/bitcoin-cli/walletpassphrase) with timeout parameter like 600 or greater.
4. Obtain new address using RPC [**getnewaddress**](https://chainquery.com/bitcoin-cli/getnewaddress). This function creates new receive address under the same account(~wallet).
5. Write the returned string into the TXT file with appending to the existing list of addresses.

This is to be done via simple python script and `for i in range(0, 500):` loop.

Use library such as [**python-bitcoinrpc**](https://github.com/jgarzik/python-bitcoinrpc) to easily connect to your json-rpc.

Funds send to any of these addresses you've generated and saved to a TXT file joined to the available wallet balance and will be available to spend in a transaction from the interface.


---

