Title: Connecting to armoryd via JSON-RPC Post by: jordan.dev on March 01, 2014, 09:15:51 PM 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.. [/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-deamon I made some successful calls! Code: import pyjsonrpc 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:password This isn't documented so far as I can see, but wanted to point that out Title: Re: Connecting to armoryd via JSON-RPC Post by: arnuschky on April 17, 2015, 04:27:02 PM 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.. [/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-deamon I made some successful calls! Code: import pyjsonrpc 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:password This isn't documented so far as I can see, but wanted to point that out Thanks for the hint! I am currently struggling with armoryd's lack of documentation as well... |