Bitcoin Forum
June 18, 2024, 04:54:55 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Make a BTC transaction trigger a physical action?  (Read 876 times)
fryarminer (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
September 09, 2014, 04:11:41 PM
 #1

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!
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
September 09, 2014, 04:13:40 PM
 #2

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.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Rubber Ducky
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
September 09, 2014, 04:59:42 PM
 #3

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.
fryarminer (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
September 10, 2014, 05:14:43 AM
 #4

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.
Bitcoinpro
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000



View Profile
September 10, 2014, 06: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

WWW.FACEBOOK.COM

CRYPTOCURRENCY CENTRAL BANK

LTC: LP7bcFENVL9vdmUVea1M6FMyjSmUfsMVYf
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!