Simplest Litecoin Core RPC interface.
Project description
Forked from fiatjaf/bitcoin-requests; modified for Litecoin Core
The simplest Litecoin Core RPC library for when you just want to talk to Litecoin Core.
Usage
If you started Litecoin Core like this:
litcoind -regtest -rpcuser=user -rpcpassword=pass
Instantiate the litcoin_requests
RPC client like this:
from litcoin_requests import LitcoinRPC
rpc = LitecoinRPC('http://127.0.0.1:9332, 'user', 'pass')
blocks = rpc.generate(101)
tx = rpc.sendtoaddress(address, 20)
Installation
pip install litcoin-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
Close
Hashes for litecoin_requests-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8d3115729b3c5df936a4c92f0efe6750b6464223f19f1e70175b71416652a33 |
|
MD5 | 6aec8c958ef2fb0571f07d4306e6cdbe |
|
BLAKE2b-256 | 76b6340b02b42ac8fe083ead1d9c4ee9960a4e520da6c3371d9f12a88dc744be |