Bitcoin Forum
November 11, 2024, 09:31:32 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I make a unique bitcoin address for multiple users on my website?  (Read 491 times)
WagerBTC (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 14, 2013, 07:55:34 PM
 #1

Unfortunately I had to post this in the Newbies section, since I am lacking posts, but I'm sure there are people in here that can help me out.

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.
manoamano
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 14, 2013, 08:04:28 PM
 #2

You are a Junior member. You can post everywhere.


What do you need exactly? To generate new addresses from deposits when you need?
You can also use 1 single address, and ask everyone to send you the bitcoin on the same address. But you won't know who send it to you...
WagerBTC (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 14, 2013, 08:11:54 PM
 #3

You are a Junior member. You can post everywhere.


What do you need exactly? To generate new addresses from deposits when you need?
You can also use 1 single address, and ask everyone to send you the bitcoin on the same address. But you won't know who send it to you...

Thanks for the reply, I guess the place I tried posting was for mods only or something, since I could not create a new topic, but anyway....

I need it on my website, so that when a person clicks "create new account" it brings them to a form to fill out all there information, and when they submit there account information, it will bring them to a "my account" type page with their unique bitcoin address where they can deposit funds instantly.

I was going to have the address pulled from my database when they submit the form, so it assigns the address to that one person, and only that one person.
deadweasel
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
November 14, 2013, 08:12:08 PM
 #4

You are a Junior member. You can post everywhere.


What do you need exactly? To generate new addresses from deposits when you need?
You can also use 1 single address, and ask everyone to send you the bitcoin on the same address. But you won't know who send it to you...

unless you require specific amounts such as 0.00120456821 BTC.  Then you can track the amount to the invoice/customer.

naphto
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
November 14, 2013, 08:35:46 PM
 #5

But you don't know who owns the btc address who sent the payment
WagerBTC (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 14, 2013, 08:41:17 PM
 #6

But you don't know who owns the btc address who sent the payment

I wouldn't need to know the btc address who sent the payment to the account. You could always blockchain it and see where it came from, but I am only concerned about their bitcoin address on my website. No single user would have the same address, obviously Tongue

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!