<ol>
<li>You can keep generating addresses. Bitcoin Core is capable of generating and keeping track of <a href="https://bitcoin.stackexchange.com/questions/24947/what-is-the-maximum-of-receive-addresses-the-default-wallet-can-handle">millions of addresses</a>. You don't need to worry about gap limit, as you are using bitcoin core. <a href="https://blog.blockonomics.co/bitcoin-what-is-this-gap-limit-4f098e52d7e1" rel="nofollow noreferrer">Gap limit issues</a> mostly arise when you are deriving adresses from xpub</li>
<li>Yes, you can create multiple wallets in bitcoin core using multiple wallet finds. About limits on number of wallets feel free to <a href="https://bitcoin.stackexchange.com/questions/70734/bitcoin-core-multi-wallet-limit-to-333-wallets">see this</a></li>
<li>There are multiple open source projects that offer bitcoin wallet as a service which you can take inspiration from. Feel free to see <a href="https://github.com/IBM/secure-bitcoin-wallet" rel="nofollow noreferrer">IBM secure wallet</a> and  <a href="https://github.com/kyledrake/coinpunk" rel="nofollow noreferrer">coinpunk</a></li>
</ol>

CC BY-SA 4.0
2022-01-06T05:01:49.123Z
2022-01-06T05:01:49.123Z
dark knight
<p>Yes, you'd need to maintain the full record of all addresses, because you don't know whether they'd still receive a payment eventually, after they've been seen by someone. Otherwise, you will miss getting paid and need to rescan later, so you might as well keep the full body in the first place.</p>
<p><code>bitcoind</code> is probably not the right tool to track a multitude of different customers' wallets. Have you taken a look at <code>BTCPayServer</code>?</p>

CC BY-SA 4.0
2022-01-04T14:58:54.413Z
2022-01-04T14:58:54.413Z
Murch
<p>You try Bitpay's API to you are not experienced with coding, I think it is easy to implement on your e-commerce site.
or, you should generate a single-use bitcoin address for every transaction and make sure to maintain the record for each transaction.
Also, make sure to keep the private keys offline.
above all, try hiring a bitcoin developer if your needs are much bigger.</p>

CC BY-SA 4.0
2022-01-06T05:39:31.867Z
2022-01-06T05:39:31.867Z
primeverified
<p>I'm trying to build an API similar to the blockchain.com wallet API so that I can send and receive bitcoin on my e-commerce site. I have a docker container running a pruned node and I'm using another docker container as an API server to send RPC requests to the bitcoind pruned docker container. The requests are all working and I'm using regtest network. Before I switch to the mainnet I would like to know a few things.</p>
<ol>
<li><p>People will be generating a huge amount of new bitcoin addresses whenever there is a new order being created but it's not sure that they will pay to that address, they may abandon the cart for instance, and will this cause problem? Do I need to maintain the addresses without any gaps?</p>
</li>
<li><p>How can I create multiple wallets like blockchain.com, will the container running blockchain core be capable of doing this by just calling the RPC from the API container? Are there any restrictions to the number of wallets I can create?</p>
</li>
<li><p>My site is an e-commerce site, can I create multiple wallets for each user on my site so that I can send them like affiliate commissions to their wallet from the main wallet for instance?</p>
</li>
<li><p>Is there any procedures I need to be paying attention to particularly ? Please advise.</p>
</li>
</ol>

<bitcoind><blockchain.info>
blockchain.info like wallet api
anver
# blockchain.info like wallet api

(Asked by: username_0 on 2022-01-03)

I'm trying to build an API similar to the blockchain.com wallet API so that I can send and receive bitcoin on my e-commerce site. I have a docker container running a pruned node and I'm using another docker container as an API server to send RPC requests to the bitcoind pruned docker container. The requests are all working and I'm using regtest network. Before I switch to the mainnet I would like to know a few things.

1. People will be generating a huge amount of new bitcoin addresses whenever there is a new order being created but it's not sure that they will pay to that address, they may abandon the cart for instance, and will this cause problem? Do I need to maintain the addresses without any gaps?
2. How can I create multiple wallets like blockchain.com, will the container running blockchain core be capable of doing this by just calling the RPC from the API container? Are there any restrictions to the number of wallets I can create?
3. My site is an e-commerce site, can I create multiple wallets for each user on my site so that I can send them like affiliate commissions to their wallet from the main wallet for instance?
4. Is there any procedures I need to be paying attention to particularly ? Please advise.

**Tags:** bitcoind, blockchain.info


---

## 3 answers

### Answer by username_1 on 2022-01-06. Score: 1

1. You can keep generating addresses. Bitcoin Core is capable of generating and keeping track of [millions of addresses](https://bitcoin.stackexchange.com/questions/24947/what-is-the-maximum-of-receive-addresses-the-default-wallet-can-handle). You don't need to worry about gap limit, as you are using bitcoin core. [Gap limit issues](https://blog.blockonomics.co/bitcoin-what-is-this-gap-limit-4f098e52d7e1) mostly arise when you are deriving adresses from xpub
2. Yes, you can create multiple wallets in bitcoin core using multiple wallet finds. About limits on number of wallets feel free to [see this](https://bitcoin.stackexchange.com/questions/70734/bitcoin-core-multi-wallet-limit-to-333-wallets)
3. There are multiple open source projects that offer bitcoin wallet as a service which you can take inspiration from. Feel free to see [IBM secure wallet](https://github.com/IBM/secure-bitcoin-wallet) and [coinpunk](https://github.com/kyledrake/coinpunk)


---

### Answer by username_2 on 2022-01-04. Score: 0

Yes, you'd need to maintain the full record of all addresses, because you don't know whether they'd still receive a payment eventually, after they've been seen by someone. Otherwise, you will miss getting paid and need to rescan later, so you might as well keep the full body in the first place.

`bitcoind` is probably not the right tool to track a multitude of different customers' wallets. Have you taken a look at `BTCPayServer`?


---

### Answer by username_3 on 2022-01-06. Score: 0

You try Bitpay's API to you are not experienced with coding, I think it is easy to implement on your e-commerce site.
or, you should generate a single-use bitcoin address for every transaction and make sure to maintain the record for each transaction.
Also, make sure to keep the private keys offline.
above all, try hiring a bitcoin developer if your needs are much bigger.


---

