<p>Please have a look at the <a href="http://laanwj.github.io/bitcoin-python/doc/introduction.html" rel="nofollow noreferrer">API reference (JSON-RPC)</a> (which has a python example, but might be out of date) and available <a href="https://bitcoin.org/en/developer-reference#bitcoin-core-apis" rel="nofollow noreferrer">Bitcoin Core apis</a>.</p>

<p>Here is a nice <a href="http://laanwj.github.io/bitcoin-python/doc/index.html" rel="nofollow noreferrer">clickable version of docs for bitcoin-python</a>.</p>

CC BY-SA 4.0
2019-05-18T18:42:25.493Z
2019-05-18T18:53:55.970Z
2019-05-18T18:53:55.970Z
Jonathan Cross
<p>Libraries like Web3py or Web3js are connected to a node using JSON-RPC behind the scene. I am not aware of any library for bitcoin like Web3py. But Bitcoin do provide JSON-RPC interface, which you can use to perform these operations.</p>

CC BY-SA 4.0
2019-04-17T12:05:00.763Z
2019-04-17T12:05:00.763Z
spyder
<p>I am fairly new to working with Python, I have a requirement where I need to perform some basic bitcoin operations on my local system rather than relying on some external API's, those function mainly include :</p>

<p><strong>1. Wallet Creation</strong></p>

<p><strong>2. Address Creation</strong></p>

<p><strong>3. Transaction signing</strong></p>

<p>For other operations, I am willing to use external API's like blockcypher. I need the above operations to be performed locally so to ensure some security. FOr ethereum I use web3.py which provides me these functions.
Can anyone help me with the same for bitcoin?</p>

<bitcoin-core><bitcoind><python>
What are the web3py equivalent for communicating with bitcoin in Python?
Paras
# What are the web3py equivalent for communicating with bitcoin in Python?

(Asked by: username_0 on 2019-04-16)

I am fairly new to working with Python, I have a requirement where I need to perform some basic bitcoin operations on my local system rather than relying on some external API's, those function mainly include :

**1. Wallet Creation**

**2. Address Creation**

**3. Transaction signing**

For other operations, I am willing to use external API's like blockcypher. I need the above operations to be performed locally so to ensure some security. FOr ethereum I use web3.py which provides me these functions.
Can anyone help me with the same for bitcoin?

**Tags:** bitcoin-core, bitcoind, python


---

## 2 answers

### Answer by username_1 on 2019-05-18. Score: 1

Please have a look at the [API reference (JSON-RPC)](http://laanwj.github.io/bitcoin-python/doc/introduction.html) (which has a python example, but might be out of date) and available [Bitcoin Core apis](https://bitcoin.org/en/developer-reference#bitcoin-core-apis).

Here is a nice [clickable version of docs for bitcoin-python](http://laanwj.github.io/bitcoin-python/doc/index.html).


---

### Answer by username_2 on 2019-04-17. Score: 0

Libraries like Web3py or Web3js are connected to a node using JSON-RPC behind the scene. I am not aware of any library for bitcoin like Web3py. But Bitcoin do provide JSON-RPC interface, which you can use to perform these operations.


---

