From 38c58ba54ee9faa60b499de02c77cef9e237abb9 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Wed, 12 Oct 2022 15:51:48 -0500 Subject: [PATCH] Chore/Stagnet 1 for trading (#1735) * chore: update envs file for stagnet1 trading * chore: add escapes for double quotes --- apps/trading/.env | 2 +- apps/trading/.env.devnet | 2 +- apps/trading/.env.mainnet | 2 +- apps/trading/.env.stagnet1 | 12 ++++++++++++ apps/trading/.env.stagnet3 | 2 +- apps/trading/.env.testnet | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 apps/trading/.env.stagnet1 diff --git a/apps/trading/.env b/apps/trading/.env index ba6d15f3a..de8b3a239 100644 --- a/apps/trading/.env +++ b/apps/trading/.env @@ -3,7 +3,7 @@ NX_VEGA_ENV=TESTNET NX_VEGA_URL=https://api.n07.testnet.vega.xyz/graphql NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_VEGA_NETWORKS={\"MAINNET\":\"https://alpha.console.vega.xyz\"} +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} NX_USE_ENV_OVERRIDES=1 NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf NX_VEGA_TOKEN_URL=https://token.fairground.wtf diff --git a/apps/trading/.env.devnet b/apps/trading/.env.devnet index 395dd699d..e058f4e36 100644 --- a/apps/trading/.env.devnet +++ b/apps/trading/.env.devnet @@ -2,7 +2,7 @@ NX_VEGA_ENV=DEVNET NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/devnet-network.json NX_VEGA_URL=https://api.n04.d.vega.xyz/graphql -NX_VEGA_NETWORKS={\"MAINNET\":\"https://alpha.console.vega.xyz\"} +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_VEGA_EXPLORER_URL=https://dev.explorer.vega.xyz diff --git a/apps/trading/.env.mainnet b/apps/trading/.env.mainnet index c0983a9df..a4f80c8b7 100644 --- a/apps/trading/.env.mainnet +++ b/apps/trading/.env.mainnet @@ -2,7 +2,7 @@ NX_VEGA_ENV=MAINNET NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/mainnet-network.json NX_VEGA_URL=https://api.vega.xyz/query -NX_VEGA_NETWORKS='{\"MAINNET\":\"https://alpha.console.vega.xyz\"}' +NX_VEGA_NETWORKS={\"MAINNET\":\"https://alpha.console.vega.xyz\",\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} NX_ETHEREUM_PROVIDER_URL=https://mainnet.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://etherscan.io NX_VEGA_EXPLORER_URL=https://explorer.vega.xyz diff --git a/apps/trading/.env.stagnet1 b/apps/trading/.env.stagnet1 new file mode 100644 index 000000000..6b4d2bc44 --- /dev/null +++ b/apps/trading/.env.stagnet1 @@ -0,0 +1,12 @@ +# App configuration variables +NX_VEGA_ENV=STAGNET1 +NX_VEGA_URL=https://api.n00.stagnet1.vega.xyz/graphql +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} +NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet1-network.json +NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 +NX_ETHERSCAN_URL=https://sepolia.etherscan.io +NX_USE_ENV_OVERRIDES=1 +NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz +NX_VEGA_TOKEN_URL=https://stagnet1.token.vega.xyz +NX_VEGA_WALLET_URL=http://localhost:1789 +NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz \ No newline at end of file diff --git a/apps/trading/.env.stagnet3 b/apps/trading/.env.stagnet3 index 70b891339..4f1ead324 100644 --- a/apps/trading/.env.stagnet3 +++ b/apps/trading/.env.stagnet3 @@ -2,7 +2,7 @@ NX_VEGA_ENV=STAGNET3 NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet3-network.json NX_VEGA_URL=https://api.n01.stagnet3.vega.xyz/graphql -NX_VEGA_NETWORKS='{\"MAINNET\":\"https://alpha.console.vega.xyz\"}' +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_VEGA_EXPLORER_URL=https://staging3.explorer.vega.xyz diff --git a/apps/trading/.env.testnet b/apps/trading/.env.testnet index 24024c652..c9c07cebc 100644 --- a/apps/trading/.env.testnet +++ b/apps/trading/.env.testnet @@ -1,7 +1,7 @@ # App configuration variables NX_VEGA_ENV=TESTNET NX_VEGA_URL=https://api.n07.testnet.vega.xyz/graphql -NX_VEGA_NETWORKS='{\"MAINNET\":\"https://alpha.console.vega.xyz\"}' +NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"} NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_USE_ENV_OVERRIDES=1