I would like to use a spark core to poll for a bitcoin transaction and then flip a digital switch each time a new transaction is detected.
I am using coinbase.com as my online bitcoin wallet. Coinbase offers a merchant service that you can configure to send transaction notifications to a website. So, I have two initial questions:
Can the spark cloud serve as the ‘website’ in this scenario?
Is there sample code available to demonstrate how I would poll the cloud to determine when new transactions appear?