import { FeeLevel } from '@bitaccess/coinlib-common' ; export const PACKAGE_NAME = 'tron-payments' ; export const COIN_SYMBOL = 'TRX' ; export const COIN_NAME = 'Tron' ; export const DECIMAL_PLACES = 6 ; export const MIN_BALANCE_SUN = 100000 ; export const MIN_BALANCE_TRX = 0.1 ; export const DEFAULT_FULL_NODE = process . env . TRX_FULL_NODE_URL || 'https://api.trongrid.io' ; export const DEFAULT_SOLIDITY_NODE = process . env . TRX_SOLIDITY_NODE_URL || 'https://api.trongrid.io' ; export const DEFAULT_EVENT_SERVER = process . env . TRX_EVENT_SERVER_URL || 'https://api.trongrid.io' ; export const DEFAULT_FEE_LEVEL = FeeLevel . Medium ; export const TX_EXPIRATION_EXTENSION_SECONDS = 59 * 60 ; /** Milliseconds to wait past tx expiration before recognizing it as expired. */ export const EXPIRATION_FUDGE_MS = 10 * 1000 ; export const PUBLIC_CONFIG_OMIT_FIELDS = [ 'logger' , 'fullNode' , 'solidityNode' , 'eventServer' , 'hdKey' , 'keyPairs' ] ;