0

I installed monero-wallet-gui on mac. I can't run curl commands to Wallet RPC because it needs digest authentication. How do I check if monero-wallet-rpc is running so I can configure it(input my user/password).

2
  • 1
    What command line (parameters) are you using when starting monero-wallet-rpc?
    – jtgrassie
    Oct 24, 2019 at 14:35
  • 1
    And curl supports digest auth ( --digest).
    – jtgrassie
    Oct 26, 2019 at 7:11

2 Answers 2

1

If you know the port monero-wallet-rpc listens on, you can connect to that port to see whether something is listening. This is what the python RPC layer does.

From utils/python-rpc/console.py in the Monero tree:

  # check for open port
  s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  s.settimeout(1)
  if s.connect_ex((host, port)) != 0:
    raise Exception('No wallet or daemon RPC on port ' + str(port))
  s.close()
0

You could run ps aux | grep monero-wallet-rpc to see if the process is running.

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.