0
I'm building a webapp that needs to update account info and send a message when an account's address gets a deposit, and/or confirm withdrawals.
I'm not sure what the best way to do this is. Would you have a separate application keep sending API calls to blockchain.info until a new transaction comes through? Then initiate the right callback function?
Using blockchain.info seems flimsy since it's a 3rd party service. How would you do this monitoring the bitcoin network? It seems like using any bitcoin client would rely on some commandline action. Would the best way be continuing to send the commandline action out until the returned data is different, and then initiate the callback? Is there a better design pattern that I am missing?
Are you trying to tell your user when their money has entered their wallet? Shouldn't their wallet tell them that? – Izzy – 2013-07-30T11:54:59.747
The wallet may know bitcoin has been received, but how would the wallet know to email / notify the specific user? A callback on the address is needed. – John – 2013-07-30T14:56:10.813