Bitcoin Forum
July 17, 2018, 12:42:39 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Generating a bitcoin wallet address for each user  (Read 988 times)
mr_random
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Decentralize $15-Trillion Global Trade Industry


View Profile
April 22, 2013, 08:42:03 PM
 #1

I am building a site and I want each user to have a unique wallet address.

I understand I can use bitcoind for this. Say I have one thousand users, how do I generate 1000 addresses that I can monitor and send bitcoins from? Will the server be able to monitor all these 1000 addresses at once?

I am a php developer so I am familiar with certain aspects of web design.

Many thanks

1531788159
Hero Member
*
Offline Offline

Posts: 1531788159

View Profile Personal Message (Offline)

Ignore
1531788159
Reply with quote  #2

1531788159
Report to moderator
1531788159
Hero Member
*
Offline Offline

Posts: 1531788159

View Profile Personal Message (Offline)

Ignore
1531788159
Reply with quote  #2

1531788159
Report to moderator
1531788159
Hero Member
*
Offline Offline

Posts: 1531788159

View Profile Personal Message (Offline)

Ignore
1531788159
Reply with quote  #2

1531788159
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1531788159
Hero Member
*
Offline Offline

Posts: 1531788159

View Profile Personal Message (Offline)

Ignore
1531788159
Reply with quote  #2

1531788159
Report to moderator
1531788159
Hero Member
*
Offline Offline

Posts: 1531788159

View Profile Personal Message (Offline)

Ignore
1531788159
Reply with quote  #2

1531788159
Report to moderator
grue
Legendary
*
Offline Offline

Activity: 2100
Merit: 1140



View Profile
April 22, 2013, 09:06:50 PM
 #2

to monitor the balance of each address, either query bitcoind for the balance of the address, or query a third party api (blockexplorer, blockchain.info).

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
mr_random
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Decentralize $15-Trillion Global Trade Industry


View Profile
April 22, 2013, 09:59:12 PM
 #3

to monitor the balance of each address, either query bitcoind for the balance of the address, or query a third party api (blockexplorer, blockchain.info).

So I would keep polling bitcoind over and over to keep scanning for deposits to those addresses?  Smiley

w1R903
Full Member
***
Offline Offline

Activity: 218
Merit: 100


View Profile
April 22, 2013, 10:20:50 PM
 #4

to monitor the balance of each address, either query bitcoind for the balance of the address, or query a third party api (blockexplorer, blockchain.info).

So I would keep polling bitcoind over and over to keep scanning for deposits to those addresses?  Smiley

You don't have to poll.  You can start up bitcoind with the switch '-blocknotify='<cmd>' and put whatever command you want to run in the place of <cmd>, for example a shell script or python script that asks for the balances of the addresses you are tracking.  It will only notify upon each additional block confirmation.

4096R/F5EA0017
mr_random
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Decentralize $15-Trillion Global Trade Industry


View Profile
April 23, 2013, 06:37:50 PM
 #5

to monitor the balance of each address, either query bitcoind for the balance of the address, or query a third party api (blockexplorer, blockchain.info).

So I would keep polling bitcoind over and over to keep scanning for deposits to those addresses?  Smiley

You don't have to poll.  You can start up bitcoind with the switch '-blocknotify='<cmd>' and put whatever command you want to run in the place of <cmd>, for example a shell script or python script that asks for the balances of the addresses you are tracking.  It will only notify upon each additional block confirmation.

Awesome! Thank you  Cheesy

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!