Bitcoin Forum

Other => Beginners & Help => Topic started by: tbolt256 on January 03, 2017, 07:10:34 AM



Title: dynamic Bitcoin address generation
Post by: tbolt256 on January 03, 2017, 07:10:34 AM
Hi,
I need to generate a new bitcoin address for my website every time a user clicks a button. Problem is I need a unique address for each user. Is it possible to generate a new address such that the funds are directed to my bitcoin wallet? if so can someone please explain the procedure to implement/code this?


Title: Re: dynamic Bitcoin address generation
Post by: Mastsetad on January 03, 2017, 07:21:30 AM
That is probably possible, but that is a service that you will have to pay someone for i guess, you should move your thread to Services section and ask someone there stating a small price for the job so that you can get the help early.


Title: Re: dynamic Bitcoin address generation
Post by: tbolt256 on January 03, 2017, 07:23:16 AM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?


Title: Re: dynamic Bitcoin address generation
Post by: Mastsetad on January 03, 2017, 07:34:31 AM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?

There would probably be, because we can always see that happening on websites where every new user gets another bitcoin address for depositing and the funds are received directly to the website which means the wallet is the same but the addresses are changing.
I'm not a coder or else i would have told you how that can be done. There is a section called Services, here is the link for that: Services. (https://bitcointalk.org/index.php?board=52.0)
You should go there and see if someone has posted their services and tell them to help you out with it, you may need to pay a small price for it.


Title: Re: dynamic Bitcoin address generation
Post by: tbolt256 on January 03, 2017, 07:50:57 AM
There would probably be, because we can always see that happening on websites where every new user gets another bitcoin address for depositing and the funds are received directly to the website which means the wallet is the same but the addresses are changing.

That's exactly what i'm intending to do. I shall check out the services board. Thanks for the help :)


Title: Re: dynamic Bitcoin address generation
Post by: achow101 on January 03, 2017, 03:29:06 PM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?
There are Bitcoin libraries for nearly every used programming language. These libraries allow you to create addresses and transactions.

If you don't want to use a library, some wallet software (e.g. Bitcoin Core or Electrum) have a JSON-RPC interface which you can send commands to from your application. I recommend going this route as it actually gives you control over the private keys of the addresses that you are giving out for deposits. If you use either Bitcoin Core or Electrum, you can setup a watch-only wallet on the server so that your application can easily get addresses for deposits and secure the private keys locally so that if your server is hacked not all the Bitcoin is stolen. This has the downside that you cannot spend from the wallet on the server though without manual intervention.


Title: Re: dynamic Bitcoin address generation
Post by: mrbigmugs on January 03, 2017, 07:10:39 PM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?
yes of the time you using the service for your wallets they provide you opportunities to generate a dynamic bitcoin address, as if you are using URDU BIT  there you have to use a new generated bitcoin address for every transaction as one address can be use for one time only.


Title: Re: dynamic Bitcoin address generation
Post by: Velkro on January 03, 2017, 10:21:24 PM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?
There are libraries like that. I mean, depends on what language you want. There are libraries for javascript/php/java/python, actually any language there is. Google it, if u fail that, someone will help you or even PM me.


Title: Re: dynamic Bitcoin address generation
Post by: tbolt256 on January 09, 2017, 01:56:13 PM
Are there are some libraries and/or repositories that allow generation of bitcoin addresses?
There are libraries like that. I mean, depends on what language you want. There are libraries for javascript/php/java/python, actually any language there is. Google it, if u fail that, someone will help you or even PM me.

Trying to implement a node server that does this. Is it possible to do it with node js?


Title: Re: dynamic Bitcoin address generation
Post by: devans on January 09, 2017, 02:41:04 PM
Trying to implement a node server that does this. Is it possible to do it with node js?

Certainly! For example, BitcoinJS (https://bitcoinjs.org) and Bitcore (https://bitcore.io) are popular choices for JavaScript.