<p>To use this library you need an instance of <a href="https://github.com/bitcoin/bitcoin" rel="nofollow noreferrer">Bitcoin core</a>!</p>
<p>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 <a href="https://bitcoin.org/en/full-node" rel="nofollow noreferrer">here</a>!</p>
<p>In addition, to use the lib inside your question you can following the steps below:</p>
<ol>
<li>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 &quot;real&quot; bitcoin network</li>
<li>Config Bitcoin core with a conf that accepts the connection on RPC!</li>
<li>With the RPC username and RPC password, use your code to connect to the Bitcoin code RPC interface.</li>
</ol>
<p>Good hacking!</p>

CC BY-SA 4.0
2020-09-01T15:55:44.730Z
2020-09-01T15:55:44.730Z
vincenzopalazzo
<p>I'm still struggling with this to obtain &quot;rpc_user&quot; and &quot;rpc_password&quot; this is the Python Script</p>
<p><a href="https://i.sstatic.net/0TfNM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/0TfNM.png" alt="enter image description here" /></a></p>
<p>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:</p>
<p><a href="https://i.sstatic.net/yqtj0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yqtj0.png" alt="enter image description here" /></a></p>
<p>I have tried to find LocalHost to support this but it doesn't work even though via CMD and Ubuntu.</p>
<p>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.</p>
<p>Appreciate your guidance on this. Many thanks.</p>

CC BY-SA 4.0
2020-09-01T08:23:48.893Z
Do you have a bitcoin node that are running on your computer?
vincenzopalazzo
CC BY-SA 4.0
2020-09-01T14:27:01.057Z
@vincenzopalazzo - Nope I don't have except for the Bitcoin Core V0.20.0
Jsim
<json-rpc><connection><hosting>
Where can I find RPC_User and RPC_Password for my Python Script?
Jsim
# Where can I find RPC_User and RPC_Password for my Python Script?

(Asked by: username_0 on 2020-09-01)

I'm still struggling with this to obtain "rpc\_user" and "rpc\_password" this is the Python Script

[![enter image description here](https://i.sstatic.net/0TfNM.png)](https://i.sstatic.net/0TfNM.png)

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](https://i.sstatic.net/yqtj0.png)](https://i.sstatic.net/yqtj0.png)

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.

**Tags:** json-rpc, connection, hosting

> **Comments:**
> **username_1**: Do you have a bitcoin node that are running on your computer?  
> **username_0**: @username_1 - Nope I don't have except for the Bitcoin Core V0.20.0  

---

## 1 answers

### Answer by username_1 on 2020-09-01. Score: 1

To use this library you need an instance of [Bitcoin core](https://github.com/bitcoin/bitcoin)!

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](https://bitcoin.org/en/full-node)!

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!


---

