Title: Make a BTC transaction trigger a physical action? Post by: fryarminer on September 09, 2014, 04:11:41 PM 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! Title: Re: Make a BTC transaction trigger a physical action? Post by: Remember remember the 5th of November on September 09, 2014, 04:13:40 PM 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.
Title: Re: Make a BTC transaction trigger a physical action? Post by: Rubber Ducky on September 09, 2014, 04:59:42 PM Anything that can be controlled by a computer can respond to blockchain events. One way would be to use the receive api (https://blockchain.info/api/api_receive) 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. Title: Re: Make a BTC transaction trigger a physical action? Post by: fryarminer on September 10, 2014, 05:14:43 AM Anything that can be controlled by a computer can respond to blockchain events. One way would be to use the receive api (https://blockchain.info/api/api_receive) 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. Title: Re: Make a BTC transaction trigger a physical action? Post by: Bitcoinpro on September 10, 2014, 06:42:39 AM like having it light up and make a sound like you have won the lotto every time you receive a payment
|