import { ChainID } from '@stacks/transactions' ; export const gaiaUrl = 'https://hub.blockstack.org' ; export const HIGH_FEE_AMOUNT_STX = 5 ; export const DEFAULT_FEE_RATE = 400 ; export const HUMAN_REACTION_DEBOUNCE_TIME = 250 ; export const STX_TRANSFER_TX_SIZE_BYTES = 180 ; export const IS_TEST_ENV = process . env . TEST_ENV === 'true' ; export const PERSISTENCE_CACHE_TIME = 1000 * 60 * 60 * 12 ; export const STX_DECIMALS = 6 ; export const KEBAB_REGEX = /[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g ; export const POPUP_WIDTH = 442 ; export const POPUP_HEIGHT = 646 ; export const MICROBLOCKS_ENABLED = ! IS_TEST_ENV && true ; export const GITHUB_ORG = 'hirosystems' ; export const GITHUB_REPO = 'stacks-wallet-web' ; export interface Network { url : string ; name : string ; chainId : ChainID ; } export const DEFAULT_TESTNET_SERVER = 'https://stacks-node-api.testnet.stacks.co' ; const DEFAULT_MAINNET_SERVER = 'https://stacks-node-api.stacks.co' ; export type Networks = Record < string , Network > ; export const defaultNetworks = { mainnet : { url : DEFAULT_MAINNET_SERVER , name : 'Mainnet' , chainId : ChainID . Mainnet , } , testnet : { url : DEFAULT_TESTNET_SERVER , name : 'Testnet' , chainId : ChainID . Testnet , } , devnet : { url : 'http://localhost:3999' , name : 'Devnet' , chainId : ChainID . Testnet , } , } as const ; export enum QueryRefreshRates { VERY_SLOW = 120000 , SLOW = 30000 , MEDIUM = 10000 , FAST = 3500 } export const DEFAULT_LIST_LIMIT = 50 ; export const TRANSAK_API_KEY_PRODUCTION = '7300ebf7-c657-46b1-9c72-c0d91bbed0a8' ; export const TRANSAK_API_KEY_STAGING = '4055d318-9d41-4b74-9253-e73e3ca13602' ;