Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litecoin-requests-2.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litecoin_requests-2.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file litecoin-requests-2.0.0.tar.gz.

File metadata

  • Download URL: litecoin-requests-2.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for litecoin-requests-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ebe1682d00878cbab153d9a4cc73369723573a6dfc3b5ae5b19f8cb160d2fd34
MD5 21b4a627f34f9f24da88ecae6bd7fde2
BLAKE2b-256 899eb671b377dc549b406f3b25cee6ce0c35bd33faddc1a46bb60bd1ee50c04d

See more details on using hashes here.

File details

Details for the file litecoin_requests-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: litecoin_requests-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for litecoin_requests-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d3115729b3c5df936a4c92f0efe6750b6464223f19f1e70175b71416652a33
MD5 6aec8c958ef2fb0571f07d4306e6cdbe
BLAKE2b-256 76b6340b02b42ac8fe083ead1d9c4ee9960a4e520da6c3371d9f12a88dc744be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page