UNPKG

1.81 kBTypeScriptView Raw
1/**
2 * @prettier
3 */
4import * as utxolib from '@bitgo/utxo-lib';
5import { V1Network } from './types';
6interface EnvironmentTemplate {
7 uri?: string;
8 networks: {
9 btc?: utxolib.Network;
10 tbtc?: utxolib.Network;
11 };
12 network: V1Network;
13 signingAddress: string;
14 serverXpub: string;
15 hsmXpub: string;
16 blockstreamBaseUrl: string;
17 smartbitBaseUrl: string;
18 btcExplorerBaseUrl: string;
19 bchExplorerBaseUrl: string;
20 bsvExplorerBaseUrl?: string;
21 btgExplorerBaseUrl?: string;
22 etherscanBaseUrl: string;
23 etherscanApiToken?: string;
24 eth2ExplorerBaseUrl: string;
25 ltcExplorerBaseUrl: string;
26 zecExplorerBaseUrl: string;
27 dashExplorerBaseUrl: string;
28 stellarFederationServerUrl?: string;
29 eosNodeUrls: string[];
30 tronNodes: {
31 full: string;
32 solidity: string;
33 };
34 hmacVerificationEnforced: boolean;
35}
36export interface Environment extends EnvironmentTemplate {
37 uri: string;
38 stellarFederationServerUrl: string;
39}
40export declare const hardcodedPublicKeys: Readonly<{
41 serverXpub: {
42 prod: string;
43 test: string;
44 };
45 hsmXpub: {
46 prod: string;
47 test: string;
48 dev: string;
49 };
50}>;
51export declare type EnvironmentName = 'prod' | 'staging' | 'test' | 'dev' | 'latest' | 'local' | 'localNonSecure' | 'mock' | 'adminProd' | 'adminTest' | 'adminDev' | 'adminLatest' | 'custom' | 'branch';
52export declare type AliasEnvironmentName = 'production' | 'msProd' | 'msTest' | 'msDev' | 'msLatest';
53export declare type Environments = {
54 [k in EnvironmentName]: Environment;
55};
56export declare const AliasEnvironments: {
57 [k in AliasEnvironmentName]: EnvironmentName;
58};
59export declare const Environments: Environments;
60export {};
61//# sourceMappingURL=environments.d.ts.map
\No newline at end of file