Author

Topic: How can I make a unique bitcoin address for multiple users on my website? (Read 969 times)

legendary
Activity: 1221
Merit: 1025
e-ducat.fr
I posted recently the code of a webshop (Rails) integrating an electrum wallet: the app is using the master public key to generate a new address for each new invoice. It is deployed on microbitcoin.net. I hope this can help.
The thread is here.
newbie
Activity: 9
Merit: 0
Hierarchical Deterministic Wallets are the ideal way to do this, so that you can generate new addresses on the server as needed but the server has no ability to spend. There are implementations in python, Java, C++, and Ruby here: https://en.bitcoin.it/wiki/BIP_0032#Implementations
You could also communicate with Electrum over RPC.

I have been reading into Electrum and I still have to figure out which coding would be most secure. I am most familiar with Js so I will be looking into the implementations next. Thanks a lot for the response!
full member
Activity: 144
Merit: 100
Hierarchical Deterministic Wallets are the ideal way to do this, so that you can generate new addresses on the server as needed but the server has no ability to spend. There are implementations in python, Java, C++, and Ruby here: https://en.bitcoin.it/wiki/BIP_0032#Implementations
You could also communicate with Electrum over RPC.
newbie
Activity: 9
Merit: 0
So I am trying to make a browser based casino style game. I was initially going to create 100 bitcoin addresses through coinbase (coinbase account would only be dedicated for the website) and put them into a database and just pull the address from the database when somebody went to create a new account. I could always add more addresses to the database if there were more accounts made.

I am almost certain that my method will work, but does anybody have any other input on this type of issue?

I have been trying to search on the forum for the past few days and could not find a better solution to this problem yet.

If somebody can post a topic that is similar to this type of issue, I would appreciate it if you could post the topic in this thread.

I was trying to see if there was a sort of smoother way in doing this, rather than allotting a bunch of bitcoin addresses in my database. Maybe whenever somebody clicks create new account it would have their bitcoin address right at the top of the form (that would change everytime the create new account button is hit, until they submit the form)

Just doing some brainstorming for this part of my website, considering this is one of, if not the main part of the website.

Thanks!!!
Jump to: