I can't find the python file to create the rpc credentials. According to the documentation it should reside somewhere here:

using the output from the script in share/rpcauth/rpcauth.py

1 Answer 1


The python file is not provided if you installed bitcoind through PPA.

You can download it yourself

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

And run the program as follows

python3 rpcauth.py myusername mysecretpassword

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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