Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top