I'm currently working on a PHP library which will help web developers receiving payments in BTC and other cryptocurrencies.

My question is - should it create a new address for every payment? As far as I know, bitcoind doesn't allow deleting addresses - can it cause troubles when numbers of addresses will go thousands? Or maybe there's a different way to do what I want to do?

有帮助吗?

解决方案

Yes, you would generate new addresses for every payment. BUT, the is one other way. You could generate an address for every user, and check if any deposits were made to that address. Personally I prefer to generate an address per transaction though.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top