Skip to main content

Litecoin Module for XChainPy Clients

Project description

xchainpy/xchain-litecoin

Litecoin Module for XChainPy Clients

Modules

  • client - Custom client for communicating with bitcoinlib , sochain api
  • models - Model wrapper for litecoin and sochain required types
  • util - Utitilies for using bitcoinlib and sochain

Following dependencies have to be installed into your project

bitcoinlib , xchainpy_client , xchainpy_crypto , xchainpy_util , http3

Service Providers

This package uses the following service providers:

Function Service Notes
Balances Sochain https://sochain.com/api#get-balance
Transaction history Sochain https://sochain.com/api#get-display-data-address, https://sochain.com/api#get-tx
Transaction details by hash Sochain https://sochain.com/api#get-tx
Transaction fees Bitgo https://app.bitgo.com/docs/#operation/v2.tx.getfeeestimate
Explorer Blockstream https://blockstream.info
Transaction broadcast Bitaps https://ltc.bitaps.com/broadcast

Sochain API rate limits: https://sochain.com/api#rate-limits (300 requests/minute)

Bitgo API rate limits: https://app.bitgo.com/docs/#section/Rate-Limiting (10 requests/second)

Tests

These packages needed to run tests:

  • pytest pip install pytest
  • pytest-asyncio pip install pytest-asyncio

How to run test ?

$ python -m pytest xchainpy/xchainpy_litecoin/tests/test_litecoin_clients.py

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

xchainpy_litecoin-0.1.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

xchainpy_litecoin-0.1-py3-none-any.whl (10.0 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