@mayaprotocol/xchain-litecoin
v0.10.7
Published
Custom Litecoin client and utilities used by XChainJS clients
Downloads
7
Readme
@mayaprotocol/xchain-client
Modules
client
- Custom client for communicating with Litecoin using BIP39 bitcoinjs-lib and WIF
Installation
yarn add @mayaprotocol/xchain-litecoin
Following peer dependencies have to be installed into your project. These are not included in @mayaprotocol/xchain-litecoin
.
yarn add @mayaprotocol/xchain-client @mayaprotocol/xchain-crypto @mayaprotocol/xchain-util axios bitcoinjs-lib coininfo wif
Documentation
xchain litecoin
How xchain-litecoin works
How to use xchain-litecoin
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 | | Transaction broadcast | Bitaps | https://ltc.bitaps.com/broadcast | | Explorer | Blockstream | https://litecoinblockexplorer.net/ |
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)
Bitaps API rate limits: Standard limit 15 requests within 5 seconds for a single IP address.