@xchainjs/xchain-litecoin
Version:
Custom Litecoin client and utilities used by XChainJS clients
50 lines (49 loc) • 1.54 kB
TypeScript
import { ExplorerProvider } from '@xchainjs/xchain-client';
import { Asset } from '@xchainjs/xchain-util';
import { UtxoOnlineDataProviders } from '@xchainjs/xchain-utxo-providers';
/**
* Minimum transaction fee in satoshis.
* 1000 satoshi/kB (similar to current `minrelaytxfee`)
* @see https://github.com/bitcoin/bitcoin/blob/db88db47278d2e7208c50d16ab10cb355067d071/src/validation.h#L56
*/
export declare const MIN_TX_FEE = 1000;
/**
* Lower bound for transaction fee rate in satoshis per byte.
*/
export declare const LOWER_FEE_BOUND = 0.5;
/**
* Upper bound for transaction fee rate in satoshis per byte.
*/
export declare const UPPER_FEE_BOUND = 500;
/**
* Number of decimal places for Litecoin.
*/
export declare const LTC_DECIMAL = 8;
/**
* Chain identifier for Litecoin.
*/
export declare const LTCChain: "LTC";
/**
* Base "chain" asset on Litecoin mainnet.
*
* Based on definition in Thorchain `common`.
* @see https://gitlab.com/thorchain/thornode/-/blob/master/common/asset.go#L12-24
*/
export declare const AssetLTC: Asset;
/**
* Explorer providers for Litecoin.
*/
export declare const explorerProviders: {
testnet: ExplorerProvider;
stagenet: ExplorerProvider;
mainnet: ExplorerProvider;
};
/**
* Sochain data providers for Litecoin.
*/
export declare const sochainDataProviders: UtxoOnlineDataProviders;
/**
* Blockcypher data providers for Litecoin.
*/
export declare const BlockcypherDataProviders: UtxoOnlineDataProviders;
export declare const BitgoProviders: UtxoOnlineDataProviders;