Author

Topic: Generating a bitcoin wallet address for each user (Read 1104 times)

legendary
Activity: 1344
Merit: 1001
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='' and put whatever command you want to run in the place of , 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
full member
Activity: 218
Merit: 100
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='' and put whatever command you want to run in the place of , 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.
legendary
Activity: 1344
Merit: 1001
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
legendary
Activity: 2058
Merit: 1452
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).
legendary
Activity: 1344
Merit: 1001
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
Jump to: