Author

Topic: Make a BTC transaction trigger a physical action? (Read 887 times)

legendary
Activity: 1358
Merit: 1000
September 10, 2014, 01:42:39 AM
#5
like having it light up and make a sound like you have won the lotto every time you receive a payment
hero member
Activity: 686
Merit: 500
Anything that can be controlled by a computer can respond to blockchain events. One way would be to use the receive api of blockchain.info. It will give you an address where you can receive payments and then callback your script with an http post or get when you receive money. It will then forward payments to an address you control in batches.

Another way to do it is to use your own address and periodically check whether you have received money. You can do this with a cron job and another blockchain.info api:

https://blockchain.info/q

Other block explorer sites also offer apis for checking balances, transactions and such.

Thanks, this kind of helps, I'll do more research.
newbie
Activity: 29
Merit: 0
Anything that can be controlled by a computer can respond to blockchain events. One way would be to use the receive api of blockchain.info. It will give you an address where you can receive payments and then callback your script with an http post or get when you receive money. It will then forward payments to an address you control in batches.

Another way to do it is to use your own address and periodically check whether you have received money. You can do this with a cron job and another blockchain.info api:

https://blockchain.info/q

Other block explorer sites also offer apis for checking balances, transactions and such.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
I think either an arduino or Raspberry Pi would be your best bet, as for implementation details, this isn't the forum to be asking this.
hero member
Activity: 686
Merit: 500
Hey, so I've done a little programming, I've done no electronics, and I'm good at electrocuting myself but have rewired cars and stuff. So yeah, I'm a retard. But I have an idea and am wondering if anyone can point me in the right direction as to how I can implement it or ...well how to make it happen.

Basically, I want a physical sign to light up for a period of time, when a payment is made to a BTC address.

Is there a way to do that automatically?

Any help is much appreciated!
Jump to: