I'm still struggling with this to obtain "rpc_user" and "rpc_password" this is the Python Script

enter image description here

I did try others to fill in others network like Blockdaemon.com but it does not work, which is why I take off and leave it empty then I get the same error as per the snapshot below:

enter image description here

I have tried to find LocalHost to support this but it doesn't work even though via CMD and Ubuntu.

Any recommendation? Sorry again to inform I'm no expert in this as I'm a nerd who is still figuring out the way to solve this. My GOAL is to able to Connect to any LocalHost for me to Post my Bitcoin Transaction.

Appreciate your guidance on this. Many thanks.

  • Do you have a bitcoin node that are running on your computer? Sep 1, 2020 at 8:23
  • @vincenzopalazzo - Nope I don't have except for the Bitcoin Core V0.20.0
    – Jsim
    Sep 1, 2020 at 14:27

1 Answer 1


To use this library you need an instance of Bitcoin core!

If you start with Bitcoin I suggest you to run an instance of bitcoin core and understand how the config it. You can find a good start here!

In addition, to use the lib inside your question you can following the steps below:

  1. Download Bitcoin core and run an instance of it, I suggest you to run Bitcoin core on testnet, because it is not a small instance of "real" bitcoin network
  2. Config Bitcoin core with a conf that accepts the connection on RPC!
  3. With the RPC username and RPC password, use your code to connect to the Bitcoin code RPC interface.

Good hacking!

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.