1 |
|
2 |
|
3 |
|
4 | import * as utxolib from '@bitgo/utxo-lib';
|
5 | import { V1Network } from './types';
|
6 | interface 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 | }
|
36 | export interface Environment extends EnvironmentTemplate {
|
37 | uri: string;
|
38 | stellarFederationServerUrl: string;
|
39 | }
|
40 | export 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 | }>;
|
51 | export declare type EnvironmentName = 'prod' | 'staging' | 'test' | 'dev' | 'latest' | 'local' | 'localNonSecure' | 'mock' | 'adminProd' | 'adminTest' | 'adminDev' | 'adminLatest' | 'custom' | 'branch';
|
52 | export declare type AliasEnvironmentName = 'production' | 'msProd' | 'msTest' | 'msDev' | 'msLatest';
|
53 | export declare type Environments = {
|
54 | [k in EnvironmentName]: Environment;
|
55 | };
|
56 | export declare const AliasEnvironments: {
|
57 | [k in AliasEnvironmentName]: EnvironmentName;
|
58 | };
|
59 | export declare const Environments: Environments;
|
60 | export {};
|
61 |
|
\ | No newline at end of file |