1
Can I download the blockchain onto a cloud service then build an api to search it? maybe put it on a noSQl database?
What would be the best way?
Or even better, is there a way to not download the whole blockchain but, build an api that uses SPV to get just the transactions of a certain public address?
I have been trying to use the apis out there such as blockchain, block.io, insightpay, etc, but they all limit me in terms of API usage and I they are all bad at dealing with transactions where there are hundreds of inputs. Not sure how common this is, but it is a problem.
Thanks
I was hoping to have a serverless function run every 10 minutes and download the blockchain like so. Can I not tell it, that I already have upto block N somewhere and I would like to start downloading from block N+1 ? – Kyle Graham – 2018-03-15T14:27:48.733
Perhaps you could run Bitcoin Core (you can have it without GUI), download the whole blockchain, install and run bitcoin-abe or some other software that would just query Bitcoin Core API to build its own database and after that enable pruning in Bitcoin Core to get rid of the most of the blockchain and save space. However, you would have to research that further, I have not done it, so I cannot give you step-by-step instructions. – streamofstars – 2018-03-15T20:10:47.187