I am passing multiple -rpcuser and -rpcpassword options, but the last user is the one that's working ! I was assuming that I can set multiple JSON-RPC users.

1 Answer 1


I figured it out! I used share/rpcauth.py script in bitcoin core to generate two users and passed the output multiple times using -rpcauth argument.

wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py

python3 rpcauth.py my-username  my-password

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.