How can I programmatically know when someone sends me Bitcoins?

5

1

I'm trying to set up a software system and part of it is knowing when someone sends Bitcoins to me automatically. I'm using node.js, if that matters to anyone.

Shamoon

Posted 2012-04-14T16:27:45.487

Reputation: 2 689

1You should try giving more details in your question - will you be using a single address, or generate then on the fly and use them only once? Are you planning on running bitcoind somewhere, or want to have a standalone application? The more you tell us about the constrains of your system the better the community can help you with a solution that is tailored to your needs.ThePiachu 2012-04-15T02:17:12.837

Answers

6

BlockChain.info provides a push notification API: - http://blockchain.info/api_websocket

Stephen Gornick

Posted 2012-04-14T16:27:45.487

Reputation: 26 118

1That looks very good. Is there also a quick way to take this information to see how many verifications it has?Beanow 2012-04-20T08:57:42.993

1Is it possible to do on my own? I mean how does blockchain.info get the info?Shamoon 2012-04-25T16:30:03.100

The BlockChain.info api looks cool but what if we want to use TestNet to test? Can we run a service like this on our own box? I was thinking of having a loop polling but wanted to know if there are any better ways.Keverw 2012-09-01T11:33:25.757

0

You could poll the Block Explorer for balance of any Bitcoin address. For example, you can see the page of the address that appeared in the Genesis Block.

ThePiachu

Posted 2012-04-14T16:27:45.487

Reputation: 41 594