Bitcoin Forum
November 05, 2024, 11:15:39 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: [HOWTO] Generating temporary BTC addresses for user deposits? on: August 23, 2015, 01:46:51 PM
nice catch!

Still, I will assign a temporary BTC address based on session. Each visitor opens a new session which can be saved to the database. Each deposit request will call a script that creates a new wallet on Coinbase, which will be saved on the database with it's session identifier (and/or user id) and expiration time.
Another script will run every x minutes (probably a cronjob) and requests wallets balance. If user sent some BTC to the wallet, the script adds the difference to users balance.

Thats my point of view. I'll post an update if it works out or not.
2  Bitcoin / Development & Technical Discussion / Re: [HOWTO] Generating temporary BTC addresses for user deposits? on: August 22, 2015, 05:21:07 PM
Are you trying to run a website for selling goods or similar? Electrum can integrate with a website to do such a thing: generate an address for each payment. There are also wordpress plugins that work the same way, but you have to give those plugins your xpub key.

Otherwise I'm not sure how to handle what you want automatically. As far as I've read, Bitcoin Core is not a good start for a service like this.

Hope this can guide you further in your research...

Your answer helped me a lot on this one, Thanks!

I found out there is an API on Coinbase which allows to create, access BTC accounts and transfer it's funds.

More information on https://developers.coinbase.com/api/v2
3  Bitcoin / Development & Technical Discussion / [HOWTO] Generating temporary BTC addresses for user deposits? on: August 22, 2015, 04:52:36 PM
Hello everyone,

I'm currently looking for a way to generate a private deposit address for each user.

Do you know any topics or sites explaining the background or even a tutorial how to do it? My own research and possible keywords doesn't look so well... Sad
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!