Hi guys I want to create a simple linux cloud server which contains a database and some kind of script which updates the database when my BTC wallet receives a payment. It would be able to update the database with information such as the public key of the person who paid the BTC and the amount paid. Blockchain.info offers a service like this:
https://blockchain.info/api/api_receive However the only libraries available are in PHP and Java both of which are foreign languages to me. I am a Python developer. Does anyone have any suggestions on how to do this or whether I am thinking about this completely wrong.
Thanks!
Hello jdeepee,
i strongly recommend you to
NOT USE blockchain.info API for deposit/accounting stuff.
You should use a own local node (bitcoin daemon) on your project. You can of course use python
for communication with your wallet over rpc-calls.
more informations:
https://github.com/jgarzik/python-bitcoinrpchttps://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Pythonca333
If your project is experimental and no user funds are affected you can also use python to communicate
with the API of blockchain.info. This is not limited on php/Java.
For example in my project r-scan i use python and simply make http requests and then parse json data (API-response). see https://github.com/ca333/rng-scanner