Receiving payments from Bitcoin users

What is the correct way to receive payment from a specific user?

I thought I could create a new address for each user, but bitcoind not able to delete addresses (when a user removes his account from my site).

I could do the above, but (instead of deleting old accounts when they are no longer needed), reload them when new users join.

+4
source share
1 answer

The recommended method is to create a unique recipient address for each user. The idiom doesn't care about how many addresses you use. They are lightweight and any money sent to them can never be restored after the secret key is deleted.

Using the address pool is a little difficult for this situation. Usually the only real complaint is that GUIs become crowded when there are enough addresses, but since you are using RPC-JSON, you will never have to deal with this.

+3
source

All Articles