Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/v2/environments"

Index

Interfaces

Type aliases

Object literals

Type aliases

EnvironmentName

EnvironmentName: "prod" | "rmgProd" | "staging" | "rmgStaging" | "test" | "rmgTest" | "dev" | "latest" | "rmgLatest" | "rmgDev" | "local" | "localNonSecure" | "mock" | "rmgLocal" | "rmglocalNonSecure" | "custom"

Environments

Environments: object

Type declaration

Object literals

Const Environments

Environments: object

custom

custom: object & EnvironmentTemplate = Object.assign({// eslint-disable-next-line @typescript-eslint/no-non-null-assertionuri: process.env.BITGO_CUSTOM_ROOT_URI!,networks: {btc: bitcoin.networks.bitcoin,tbtc: bitcoin.networks.testnet,},network: process.env.BITGO_CUSTOM_BITCOIN_NETWORK as V1Network,rmgNetwork: process.env.BITGO_CUSTOM_RMG_NETWORK as V1RmgNetwork,hsmXpub:'xpub661MyMwAqRbcFWzoz8qnYRDYEFQpPLYwxVFoG6WLy3ck5ZupRGJTG4ju6yGb7Dj3ey6GsC4kstLRER2nKzgjLtmxyPgC4zHy7kVhUt6yfGn',smartBitApiBaseUrl:process.env.BITGO_CUSTOM_BITCOIN_NETWORK !== 'bitcoin'? 'https://testnet-api.smartbit.com.au/v1': 'https://api.smartbit.com.au/v1',bchExplorerBaseUrl:process.env.BITGO_CUSTOM_BITCOIN_NETWORK !== 'bitcoin'? 'https://test-bch-insight.bitpay.com/api': 'https://blockdozer.com/insight-api',btgExplorerBaseUrl: process.env.BITGO_CUSTOM_BITCOIN_NETWORK !== 'bitcoin' ? null : 'https://btgexplorer.com/api',ltcExplorerBaseUrl:process.env.BITGO_CUSTOM_LITECOIN_NETWORK !== 'litecoin'? 'http://explorer.litecointools.com/api': 'https://insight.litecore.io/api',etherscanBaseUrl:process.env.BITGO_CUSTOM_ETHEREUM_NETWORK !== 'ethereum'? 'https://kovan.etherscan.io': 'https://api.etherscan.io',zecExplorerBaseUrl:process.env.BITGO_CUSTOM_ZCASH_NETWORK !== 'zcash'? 'https://explorer.testnet.z.cash/api': 'https://zcashnetwork.info/api',dashExplorerBaseUrl:process.env.BITGO_CUSTOM_DASH_NETWORK !== 'dash'? 'https://testnet-insight.dashevo.org/insight-api': 'https://insight.dash.org/insight-api',stellarFederationServerUrl:process.env.BITGO_CUSTOM_STELLAR_NETWORK !== 'stellar'? `https://${process.env.BITGO_CUSTOM_ROOT_URI}/api/v2/txlm/federation`: `https://${process.env.BITGO_CUSTOM_ROOT_URI}/api/v2/xlm/federation`,},mainnetBase)

dev

dev: object & EnvironmentTemplate = Object.assign({uri: 'https://webdev.bitgo.com',stellarFederationServerUrl: 'https://webdev.bitgo.com/api/v2/txlm/federation',},devBase)

latest

latest: object & EnvironmentTemplate = Object.assign({uri: 'https://latest.bitgo.com',stellarFederationServerUrl: 'https://latest.bitgo.com/api/v2/txlm/federation',},devBase)

local

local: object & EnvironmentTemplate = Object.assign({uri: 'https://localhost:3000',stellarFederationServerUrl: 'https://localhost:3000/api/v2/txlm/federation',},devBase)

localNonSecure

localNonSecure: object & EnvironmentTemplate = Object.assign({uri: 'http://localhost:3000',stellarFederationServerUrl: 'http://localhost:3000/api/v2/txlm/federation',},devBase)

mock

mock: object & EnvironmentTemplate = Object.assign({uri: 'https://bitgo.fakeurl',smartBitApiBaseUrl: 'https://testnet-api.smartbit.fakeurl/v1',bchExplorerBaseUrl: 'https://test-bch-insight.bitpay.fakeurl/api',stellarFederationServerUrl: 'https://bitgo.fakeurl/api/v2/txlm/federation',etherscanBaseUrl: 'https://kovan.etherscan.fakeurl',ltcExplorerBaseUrl: 'http://explorer.litecointools.fakeurl/api',zecExplorerBaseUrl: 'https://explorer.testnet.z.fakeurl/api',dashExplorerBaseUrl: 'https://testnet-insight.dashevo.fakeurl/insight-api',},devBase)

prod

prod: object & EnvironmentTemplate = Object.assign({uri: 'https://www.bitgo.com',stellarFederationServerUrl: 'https://www.bitgo.com/api/v2/xlm/federation',},mainnetBase)

rmgDev

rmgDev: object & EnvironmentTemplate = Object.assign({uri: 'https://rmgwebdev.bitgo.com',stellarFederationServerUrl: 'https://rmgwebdev.bitgo.com/api/v2/txlm/federation',},devBase)

rmgLatest

rmgLatest: object & EnvironmentTemplate = Object.assign({uri: 'https://rmglatest.bitgo.com',stellarFederationServerUrl: 'https://rmglatest.bitgo.com/api/v2/txlm/federation',},devBase)

rmgLocal

rmgLocal: object & EnvironmentTemplate = Object.assign({uri: 'https://rmglocalhost:3000',stellarFederationServerUrl: 'https://rmglocalhost:3000/api/v2/txlm/federation',},devBase)

rmgProd

rmgProd: object & EnvironmentTemplate = Object.assign({uri: 'https://rmg.bitgo.com',stellarFederationServerUrl: 'https://rmg.bitgo.com/api/v2/xlm/federation',},mainnetBase)

rmgStaging

rmgStaging: object & EnvironmentTemplate = Object.assign({uri: 'https://rmgstaging.bitgo.com',stellarFederationServerUrl: 'https://rmgstaging.bitgo.com/api/v2/xlm/federation',},mainnetBase)

rmgTest

rmgTest: object & EnvironmentTemplate = Object.assign({uri: 'https://rmgtest.bitgo.com',stellarFederationServerUrl: 'https://rmgtest.bitgo.com/api/v2/txlm/federation',},testnetBase)

rmglocalNonSecure

rmglocalNonSecure: object & EnvironmentTemplate = Object.assign({uri: 'http://rmglocalhost:3000',stellarFederationServerUrl: 'http://rmglocalhost:3000/api/v2/txlm/federation',},devBase)

staging

staging: object & EnvironmentTemplate = Object.assign({uri: 'https://staging.bitgo.com',stellarFederationServerUrl: 'https://staging.bitgo.com/api/v2/xlm/federation',},mainnetBase)

test

test: object & EnvironmentTemplate = Object.assign({uri: 'https://test.bitgo.com',stellarFederationServerUrl: 'https://test.bitgo.com/api/v2/txlm/federation',},testnetBase)

Generated using TypeDoc