Simplest Bitcoin Core RPC interface.
Project description
The simplest Bitcoin Core RPC library for when you're trying to test stuff.
bitcoind -regtest -rpcuser=user -rpcpassword=pass
from bitcoin import BitcoinRPC
rpc = BitcoinRPC('http://127.0.0.1:18443', 'user', 'pass')
blocks = rpc.generate(101)
tx = rpc.sendtoaddress(address, 20)
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
bitcoin-requests-1.0.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for bitcoin_requests-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ff8e433768ba5b2d19092787a6e7b4b9b9355349e736a6e2723f405a8ecd4d |
|
MD5 | 5124c1fa84632bc90d4904df354ae2a7 |
|
BLAKE2b-256 | 3c3478cb73eb17ba2dde6c178b124b7d6c4ab632eba61052d48f8fcd6bb97c73 |