Simplest Bitcoin Core RPC interface.
The simplest Bitcoin Core RPC library for when you just want to talk to Bitcoin Core.
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)
pip install bitcoin-requests