@xchainjs/xchain-dash
Version:
Custom Dash client and utilities used by XChainJS clients
53 lines (52 loc) • 1.51 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 duff/kB.
* Currently set to 1000 duff/kB, similar to the current `minrelaytxfee`.
* @see https://github.com/dashpay/dash/blob/master/src/validation.h
*/
export declare const MIN_TX_FEE = 1000;
/**
* The decimal precision for Dash.
*/
export declare const DASH_DECIMAL = 8;
/**
* Lower bound for the transaction fee.
*/
export declare const LOWER_FEE_BOUND = 1;
/**
* Upper bound for the transaction fee.
*/
export declare const UPPER_FEE_BOUND = 500;
/**
* Symbol for Dash.
*/
export declare const DASH_SYMBOL = "\u0110";
export declare const DEFAULT_FEE_RATE = 1;
/**
* Chain identifier for Dash mainnet.
*/
export declare const DASHChain: "DASH";
/**
* Base "chain" asset on Dash mainnet.
* Definition based on Thorchain common asset.
* @see https://gitlab.com/thorchain/thornode/-/blob/master/common/asset.go#L12-24
*/
export declare const AssetDASH: Asset;
/**
* Explorer providers for different Dash networks.
*/
export declare const explorerProviders: {
testnet: ExplorerProvider;
stagenet: ExplorerProvider;
mainnet: ExplorerProvider;
};
/**
* Data providers for Blockcypher.
*/
export declare const BlockcypherDataProviders: UtxoOnlineDataProviders;
/**
* Data providers for Bitgo.
*/
export declare const BitgoProviders: UtxoOnlineDataProviders;