Litecoin Module for XChainPy Clients
Project description
xchainpy/xchain-litecoin
Litecoin Module for XChainPy Clients
Modules
client
- Custom client for communicating with bitcoinlib , sochain apimodels
- Model wrapper for litecoin and sochain required typesutil
- 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
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
xchainpy_litecoin-0.1.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for xchainpy_litecoin-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2751a93258bb08052507f86db1106e16dc6001a2969488b6009305893e02357 |
|
MD5 | 3645a71249c0adbb920b93dc084e9f5e |
|
BLAKE2b-256 | 93dd50dd59766d5704081418cf345d712500ceab7ada681a285f11487cfa7f7f |