In the past I've used bitcoind on a server to run a web service and used bitcoind to arrange the payments. The problem was that the whole blockchain was too heavy in disc usage. For a different project I have to interface with the bitcoin network again, but bitcoind is out of the question. I'm looking into Electrum instead.
Things that I need for my project:
- query for a new address.
- periodically, check the balance of that address.
- sometimes send funds from the server to an other address.
I think I can manage do those things with Electrum (been playing a bit with it for now).
My question is how to interface with Electrum programmatically. I was thinking to use Python, but can't seem to find what to import and if there is a general class available that allows me to call the methods I need for the 3 things mentioned above.
I guess I can import Electrum from Python by using:
from Electrum import *
Right? And then? How would I continue then?
The server has no x/qt/gtk libraries, so everything has not to depend on those.