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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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