Bitcoin Forum

Economy => Service Discussion => Topic started by: JollyTrades on May 14, 2017, 07:58:48 AM



Title: Accepting payment with persistent addresses
Post by: JollyTrades on May 14, 2017, 07:58:48 AM
Hi,

What would you recommend for accepting payments from clients, where each client will have one persistent BTC address? Initially, we don't want to host a Bitcoin full node, so the solution needs to be a centralized wallet provider with a good API support. And one more thing, we want to code in Python.

Thank you in advance for your answers,

Jian


Title: Re: Accepting payment with persistent addresses
Post by: btc_enigma on May 15, 2017, 06:14:38 AM
Blockonomics has very easy to use callback API where you can use your own hd wallet to receive payments https://www.blockonomics.co/views/api.html#payments

You can create multiple addresses and mark each addresses corresponding to your client in your DB. Let me know if you have any queries. Happy to help


Title: Re: Accepting payment with persistent addresses
Post by: mocacinno on May 15, 2017, 06:25:37 AM
Hi,

What would you recommend for accepting payments from clients, where each client will have one persistent BTC address? Initially, we don't want to host a Bitcoin full node, so the solution needs to be a centralized wallet provider with a good API support. And one more thing, we want to code in Python.

Thank you in advance for your answers,

Jian

It's certainly doable. Since you're going to use python, why don't you just derive new addresses from an xpub?
Start electrum on an offline machine, generate a new seed, export the xpub to an usb drive, use python to derive new addresses...

Here is some code i wrote a long time ago to accomplish this:
https://bitcointalk.org/index.php?topic=1682523.msg17027986#msg17027986

Cut out the middle man (the centralised, online, wallet provider), keep everything safe ;)