I have an instance of
armoryd fully indexed and running at the same time as
bidcoind ( I am watching new blocks being added to the memory pool reported by the
armoryd client )
Now I wanted to connect to it via JSON-RPC and being requesting new addresses, checking balances, creating unsigned transactions.I see these methods in the armoryd.py code, but do I need to manually write my RPC interface to the client? Can I reuse one of the various bitcoind clients pointing toward armoryd? Are they similar enough?
Also..
When I check
~/.armory, I don't see any .conf files? Do I need to manually create one to set my armoryd password, etc. does it share the same structure as the
bitcoind.conf?
[/s]
found the configuration file reference in the armoryd.py code.
update
Also here is a related question on SO:
https://stackoverflow.com/questions/21049108/connection-refused-with-bitcoin-armory-deamonI made some successful calls!
import pyjsonrpc
http_client = pyjsonrpc.HttpClient(
url = "http://localhost:8225",
username= "username",
password = "password"
)
print http_client.call("getwalletinfo")
Couple of things to note, obviously had to install pyjsonrpc via PIP, and also had to create an `armoryd.conf` file in my ~/.armory/ directory, with the username and password in the format:
username:passwordThis isn't documented so far as I can see, but wanted to point that out