Generating bitcoin wallets for my customers

Generating bitcoin wallets for my customers

I run an application written in PHP and need to add the option to buy services with bitcoins. So, for each user i need to generate a unique, unused bitcoin address.

I could generate X number wallets with Electrum and assing 1 address to each user, but then i will have to check manually if someone send a payment, match the address with the user, wait for confirmations, import data, update the balance, every day. This take too much time and it's tricky.

What's the best and easier approach to achieve this? from where i start? Using external api and services is not a choice, using a single shared wallet can be okay but how i associate user/transaction?

http://bit.ly/2F1aQ63

Comments

Popular posts from this blog

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)