0

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?

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

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.

0

Please have a look at the API reference (JSON-RPC) (which has a python example, but might be out of date) and available Bitcoin Core apis.

Here is a nice clickable version of docs for bitcoin-python.

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.