Simplest Bitcoin Core RPC interface.
Project description
The simplest Bitcoin Core RPC library for when you just want to talk to Bitcoin Core.
Usage
If you started Bitcoin Core like this:
bitcoind -regtest -rpcuser=user -rpcpassword=pass
Instantiate the bitcoin_requests
RPC client like this:
from bitcoin_requests import BitcoinRPC
rpc = BitcoinRPC('http://127.0.0.1:18443', 'user', 'pass')
blocks = rpc.generate(101)
tx = rpc.sendtoaddress(address, 20)
Installation
pip install bitcoin-requests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bitcoin-requests-2.0.0.tar.gz
.
File metadata
- Download URL: bitcoin-requests-2.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb6829cbb09cc5e371a200ed21d67749ae6706405d2c406f233965ca5c76a75 |
|
MD5 | df6c1d87fae7299a55cd9d300373ea8a |
|
BLAKE2b-256 | 73b9c781fb8aa7a13de57cdbc9133200c30288bdff5cdd2b2296ae2d4aed85b6 |
File details
Details for the file bitcoin_requests-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: bitcoin_requests-2.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a165891ee3bcb55fff3d5bf1acb356bb7fb4e00397c24f3f824c5fb6b0e5a89d |
|
MD5 | ee1d7978fd281f2877f19392acb2363c |
|
BLAKE2b-256 | 4c8dbb223580c4a2b10ac836d526ab69fec28b997ea5c3d728677dd55cf7176a |