4

How can I show/open my wallet in gui-less linux version? I tried to show the contents with cat but it's only binary data (which makes sense). The --help option of bitcoin/bin/64/bitcoind also doesn't give me a hint.

5

Direct command-line access via bitcoind is not available any more. You can get access from the command line via the RPC (Remote Procedure Call) API, e.g. with python. The API calls list is found here.

To give a specific example, you can access wallet information via the Python RPC API. Given that the client was booted with rpcuser=user and rpcpassword=pass, the sample python script illustrates how you can call the getbalance command:

  from jsonrpc import ServiceProxy

  access = ServiceProxy("http://user:pass:8332")
  access.getinfo()
  access.listreceivedbyaddress(6)
  print access.getbalance()
  • This needs updating, it doesn't work anymore. – erikvold Apr 5 '16 at 3:28
  • 2
    @erikvoid Updated to reflect the current state of things. – Rooke Apr 5 '16 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.