From 3740a97d7e28abe08376eafe5c546c23c94cb8bf Mon Sep 17 00:00:00 2001 From: Sam Keen Date: Tue, 9 May 2023 15:17:40 +0100 Subject: [PATCH] feat(governance): token references to governance (#3657) Co-authored-by: Joe --- apps/explorer/.env | 4 ++-- apps/explorer/.env.devnet | 4 ++-- apps/explorer/.env.mainnet | 4 ++-- apps/explorer/.env.testnet | 4 ++-- apps/governance-e2e/.env | 2 +- apps/governance/.env | 2 +- apps/governance/.env.capsule | 2 +- apps/governance/.env.devnet | 4 ++-- apps/governance/.env.mainnet | 2 +- apps/governance/.env.stagnet1 | 4 ++-- apps/governance/.env.testnet | 2 +- apps/governance/.env.validator-testnet | 2 +- apps/governance/src/hooks/use-document-title.ts | 2 +- apps/governance/src/i18n/translations/dev.json | 4 ++-- apps/governance/src/index.html | 2 +- apps/trading-e2e/.env | 4 ++-- apps/trading-e2e/.env.capsule | 4 ++-- apps/trading/.env | 4 ++-- apps/trading/.env.capsule | 2 +- apps/trading/.env.devnet | 2 +- apps/trading/.env.mainnet | 2 +- apps/trading/.env.stagnet1 | 4 ++-- apps/trading/.env.testnet | 2 +- libs/environment/src/hooks/use-links.ts | 6 +++--- 24 files changed, 37 insertions(+), 37 deletions(-) diff --git a/apps/explorer/.env b/apps/explorer/.env index bcffbed73..2b9425530 100644 --- a/apps/explorer/.env +++ b/apps/explorer/.env @@ -4,14 +4,14 @@ NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/stagnet1/vegawallet-stagnet1.toml NX_VEGA_ENV=STAGNET1 NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz -NX_VEGA_TOKEN_URL=https://stagnet1.token.vega.xyz +NX_VEGA_TOKEN_URL=https://stagnet1.governance.vega.xyz NX_VEGA_WALLET_URL=http://localhost:1789 NX_TENDERMINT_URL=https://tm.n01.stagnet1.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://tm.n01.stagnet1.vega.xyz/websocket NX_BLOCK_EXPLORER=https://be.stagnet1.vega.xyz/rest NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_ORACLE_PROOFS_URL=https://raw.githubusercontent.com/vegaprotocol/well-known/main/__generated__/oracle-proofs.json -NX_VEGA_GOVERNANCE_URL=https://stagnet1.token.vega.xyz +NX_VEGA_GOVERNANCE_URL=https://stagnet1.governance.vega.xyz NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.jsoo # App flags diff --git a/apps/explorer/.env.devnet b/apps/explorer/.env.devnet index 104abfe16..ec549d011 100644 --- a/apps/explorer/.env.devnet +++ b/apps/explorer/.env.devnet @@ -5,8 +5,8 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-inter NX_VEGA_ENV=DEVNET NX_BLOCK_EXPLORER=https://be.devnet1.vega.xyz/rest NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_VEGA_GOVERNANCE_URL=https://dev.token.vega.xyz +NX_VEGA_GOVERNANCE_URL=https://dev.governance.vega.xyz NX_VEGA_URL=https://api.devnet1.vega.xyz/graphql NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/devnet1/vegawallet-devnet1.toml NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json -NX_VEGA_EXPLORER_URL=/ \ No newline at end of file +NX_VEGA_EXPLORER_URL=/ diff --git a/apps/explorer/.env.mainnet b/apps/explorer/.env.mainnet index b850a8359..1491fd823 100644 --- a/apps/explorer/.env.mainnet +++ b/apps/explorer/.env.mainnet @@ -5,6 +5,6 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/maste NX_VEGA_ENV=MAINNET NX_BLOCK_EXPLORER=https://be.vega.community/rest/ NX_ETHERSCAN_URL=https://etherscan.io -NX_VEGA_GOVERNANCE_URL=https://token.vega.xyz +NX_VEGA_GOVERNANCE_URL=https://governance.vega.xyz NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/mainnet/announcements.json -NX_VEGA_EXPLORER_URL=https://explorer.vega.xyz/ \ No newline at end of file +NX_VEGA_EXPLORER_URL=https://explorer.vega.xyz/ diff --git a/apps/explorer/.env.testnet b/apps/explorer/.env.testnet index 72d865002..f802179e5 100644 --- a/apps/explorer/.env.testnet +++ b/apps/explorer/.env.testnet @@ -7,6 +7,6 @@ NX_VEGA_ENV=TESTNET NX_VEGA_URL=https://api.n07.testnet.vega.xyz/graphql NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_VEGA_GOVERNANCE_URL=https://token.fairground.wtf +NX_VEGA_GOVERNANCE_URL=https://governance.fairground.wtf NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json -NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf \ No newline at end of file +NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf diff --git a/apps/governance-e2e/.env b/apps/governance-e2e/.env index 1f48d6450..d662e8fe7 100644 --- a/apps/governance-e2e/.env +++ b/apps/governance-e2e/.env @@ -30,6 +30,6 @@ CYPRESS_TRUNCATED_VEGA_PUBLIC_KEY2=7f9cf0…c25535 CYPRESS_VEGA_ENV=CUSTOM CYPRESS_VEGA_PUBLIC_KEY=02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65 CYPRESS_VEGA_PUBLIC_KEY2=7f9cf07d3a9905b1a61a1069f7a758855da428bc0f4a97de87f48644bfc25535 -CYPRESS_VEGA_TOKEN_URL=https://token.fairground.wtf +CYPRESS_VEGA_TOKEN_URL=https://governance.fairground.wtf CYPRESS_VEGA_WALLET_URL=http://localhost:1789 CYPRESS_VEGA_WALLET_API_TOKEN= diff --git a/apps/governance/.env b/apps/governance/.env index 67d327f93..3a07ae028 100644 --- a/apps/governance/.env +++ b/apps/governance/.env @@ -5,7 +5,7 @@ NX_VEGA_URL=https://api.n00.stagnet1.vega.xyz/graphql NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_FAIRGROUND=false -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","STAGNET1":"https://stagnet1.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","STAGNET1":"https://stagnet1.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz diff --git a/apps/governance/.env.capsule b/apps/governance/.env.capsule index 38195652b..0bd649760 100644 --- a/apps/governance/.env.capsule +++ b/apps/governance/.env.capsule @@ -3,7 +3,7 @@ NX_VEGA_ENV=CUSTOM NX_ETHEREUM_PROVIDER_URL=http://localhost:8545 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_FAIRGROUND=false -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/test/announcements.json NX_VEGA_CONFIG_URL='' diff --git a/apps/governance/.env.devnet b/apps/governance/.env.devnet index 60ef29604..c9d57d440 100644 --- a/apps/governance/.env.devnet +++ b/apps/governance/.env.devnet @@ -2,7 +2,7 @@ NX_VEGA_ENV=DEVNET NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/devnet1/vegawallet-devnet1.toml NX_VEGA_URL=https://api.n00.devnet1.vega.xyz/graphql -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions @@ -10,4 +10,4 @@ NX_VEGA_EXPLORER_URL=https://dev.explorer.vega.xyz NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_DELEGATIONS_PAGINATION=50 NX_TRANCHES_SERVICE_URL=https://tranches-devnet1-k8s.ops.vega.xyz -NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json \ No newline at end of file +NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json diff --git a/apps/governance/.env.mainnet b/apps/governance/.env.mainnet index 9b477a212..561ad3fd9 100644 --- a/apps/governance/.env.mainnet +++ b/apps/governance/.env.mainnet @@ -2,7 +2,7 @@ NX_VEGA_ENV=MAINNET NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/master/mainnet1/mainnet1.toml NX_VEGA_URL=https://api.vega.community/graphql -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_ETHEREUM_PROVIDER_URL=https://mainnet.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://etherscan.io NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions diff --git a/apps/governance/.env.stagnet1 b/apps/governance/.env.stagnet1 index 3ffa1c917..2551d5b40 100644 --- a/apps/governance/.env.stagnet1 +++ b/apps/governance/.env.stagnet1 @@ -1,10 +1,10 @@ # App configuration variables NX_VEGA_URL=https://api.n00.stagnet1.vega.xyz/graphql NX_VEGA_ENV=STAGNET1 -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","STAGNET1":"https://stagnet1.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","STAGNET1":"https://stagnet1.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/stagnet1/vegawallet-stagnet1.toml NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_DELEGATIONS_PAGINATION=50 NX_TRANCHES_SERVICE_URL=https://tranches-stagnet1-k8s.ops.vega.xyz -NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json \ No newline at end of file +NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json diff --git a/apps/governance/.env.testnet b/apps/governance/.env.testnet index d9507da64..66d3eaf2e 100644 --- a/apps/governance/.env.testnet +++ b/apps/governance/.env.testnet @@ -2,7 +2,7 @@ NX_VEGA_ENV=TESTNET NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/fairground/vegawallet-fairground.toml NX_VEGA_URL=https://api.n07.testnet.vega.xyz/graphql -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions diff --git a/apps/governance/.env.validator-testnet b/apps/governance/.env.validator-testnet index 2befa2780..aa16cd4e9 100644 --- a/apps/governance/.env.validator-testnet +++ b/apps/governance/.env.validator-testnet @@ -3,7 +3,7 @@ NX_VEGA_ENV=VALIDATOR_TESTNET NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/master/testnet2/testnet2.toml NX_VEGA_URL=https://api-validators-testnet.vega.rocks/graphql NX_VEGA_REST=https://api-validators-testnet.vega.rocks/ -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' +NX_VEGA_NETWORKS='{"DEVNET":"https://dev.governance.vega.xyz","TESTNET":"https://governance.fairground.wtf","MAINNET":"https://governance.vega.xyz"}' NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions diff --git a/apps/governance/src/hooks/use-document-title.ts b/apps/governance/src/hooks/use-document-title.ts index 29120d9d5..6b9dd10e1 100644 --- a/apps/governance/src/hooks/use-document-title.ts +++ b/apps/governance/src/hooks/use-document-title.ts @@ -1,7 +1,7 @@ import React from 'react'; export function useDocumentTitle(name?: string) { - const base = 'VEGA token'; + const base = 'VEGA Governance'; React.useEffect(() => { if (name) { diff --git a/apps/governance/src/i18n/translations/dev.json b/apps/governance/src/i18n/translations/dev.json index 32a0e8a6d..c68677662 100644 --- a/apps/governance/src/i18n/translations/dev.json +++ b/apps/governance/src/i18n/translations/dev.json @@ -66,7 +66,7 @@ "claim": "This code ({{code}}) entitles {{user}} to {{amount}} $VEGA tokens from {{linkText}} of the vesting contract. {{expiry}}.", "claimExpiry": "The code expires on {{date}}", "claimNoExpiry": "It has no expiry date", - "showRedeem": "You'll be able to redeem your unlocked tokens at token.vega.xyz/vesting", + "showRedeem": "You'll be able to redeem your unlocked tokens at governance.vega.xyz/vesting", "codeUsed": "Code already used", "codeUsedText": "Looks like that code has already been used. Check the Vesting page to see if you can redeem your tokens.", "codeExpired": "Code expired", @@ -86,7 +86,7 @@ "Awaiting action in Ethereum wallet (e.g. MetaMask)": "Awaiting action in Ethereum wallet (e.g. MetaMask)", "Claim {amount} Vega": "Claim {{amount}} $VEGA", "Sorry. It is not possible to claim tokens in your country or region.": "It is not possible to claim tokens in your country or region.", - "none redeemable": "Tokens in this tranche unlock on {{unlockDate}} and continue to unlock gradually until {{trancheEndDate}} when all tokens are unlocked. Come back to token.vega.xyz to redeem your tokens once they begin to unlock.", + "none redeemable": "Tokens in this tranche unlock on {{unlockDate}} and continue to unlock gradually until {{trancheEndDate}} when all tokens are unlocked. Come back to governance.vega.xyz to redeem your tokens once they begin to unlock.", "partially redeemable": "Tokens in this tranche began to unlock on {{unlockDate}} and will continue to unlock gradually until {{trancheEndDate}} when all tokens are unlocked.", "fully redeemable": "Tokens in this tranche have fully unlocked and can be redeemed once claimed.", "This page can not be found, please check the URL and try again.": "This page can not be found, please check the URL and try again.", diff --git a/apps/governance/src/index.html b/apps/governance/src/index.html index cc2bcfd61..bcfc541a0 100644 --- a/apps/governance/src/index.html +++ b/apps/governance/src/index.html @@ -24,7 +24,7 @@ type="font/woff2" crossorigin="anonymous" /> - Vega Token dApp + Vega Governance dApp diff --git a/apps/trading-e2e/.env b/apps/trading-e2e/.env index be10f6048..290cf36d5 100644 --- a/apps/trading-e2e/.env +++ b/apps/trading-e2e/.env @@ -7,7 +7,7 @@ NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_ENV=CUSTOM NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_URL=http://localhost:3008/graphql NX_VEGA_WALLET_URL=http://localhost:1789 NX_ETH_LOCAL_PROVIDER_URL=http://localhost:8545/ @@ -26,7 +26,7 @@ CYPRESS_TRUNCATED_VEGA_PUBLIC_KEY2=7f9cf0…c25535 CYPRESS_VEGA_ENV=CUSTOM CYPRESS_VEGA_PUBLIC_KEY=02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65 CYPRESS_VEGA_PUBLIC_KEY2=7f9cf07d3a9905b1a61a1069f7a758855da428bc0f4a97de87f48644bfc25535 -CYPRESS_VEGA_TOKEN_URL=https://token.fairground.wtf +CYPRESS_VEGA_TOKEN_URL=https://governance.fairground.wtf CYPRESS_VEGA_URL=http://localhost:3008/graphql CYPRESS_VEGA_WALLET_URL=http://localhost:1789 CYPRESS_VEGA_WALLET_API_TOKEN= diff --git a/apps/trading-e2e/.env.capsule b/apps/trading-e2e/.env.capsule index 727fd7aa1..2e5d91f44 100644 --- a/apps/trading-e2e/.env.capsule +++ b/apps/trading-e2e/.env.capsule @@ -6,7 +6,7 @@ NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_ENV=CUSTOM NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_URL=http://localhost:3008/graphql NX_VEGA_WALLET_URL=http://localhost:1789 NX_ETH_LOCAL_PROVIDER_URL=http://localhost:8545/ @@ -23,7 +23,7 @@ CYPRESS_TRUNCATED_VEGA_PUBLIC_KEY2=7f9cf0…c25535 CYPRESS_VEGA_ENV=CUSTOM CYPRESS_VEGA_PUBLIC_KEY=02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65 CYPRESS_VEGA_PUBLIC_KEY2=7f9cf07d3a9905b1a61a1069f7a758855da428bc0f4a97de87f48644bfc25535 -CYPRESS_VEGA_TOKEN_URL=https://token.fairground.wtf +CYPRESS_VEGA_TOKEN_URL=https://governance.fairground.wtf CYPRESS_VEGA_URL=http://localhost:3008/graphql CYPRESS_VEGA_WALLET_URL=http://localhost:1789 CYPRESS_VEGA_WALLET_API_TOKEN= diff --git a/apps/trading/.env b/apps/trading/.env index 39f65e8a4..9c2e74e22 100644 --- a/apps/trading/.env +++ b/apps/trading/.env @@ -7,9 +7,9 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-inter NX_VEGA_ENV=STAGNET1 NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega/releases NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/main/announcements.json -NX_WALLETCONNECT_PROJECT_ID=fe8091dc35738863e509fc4947525c72 \ No newline at end of file +NX_WALLETCONNECT_PROJECT_ID=fe8091dc35738863e509fc4947525c72 diff --git a/apps/trading/.env.capsule b/apps/trading/.env.capsule index 15d67e983..6ec33c4f6 100644 --- a/apps/trading/.env.capsule +++ b/apps/trading/.env.capsule @@ -6,7 +6,7 @@ NX_VEGA_CONFIG_URL='' NX_VEGA_ENV=CUSTOM NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_URL=http://localhost:3008/graphql NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet diff --git a/apps/trading/.env.devnet b/apps/trading/.env.devnet index 38fd26272..e0d583870 100644 --- a/apps/trading/.env.devnet +++ b/apps/trading/.env.devnet @@ -6,7 +6,7 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-inter NX_VEGA_ENV=DEVNET NX_VEGA_EXPLORER_URL=https://dev.explorer.vega.xyz NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega-dev-releases/releases diff --git a/apps/trading/.env.mainnet b/apps/trading/.env.mainnet index 0f227d38f..d3d9b7afa 100644 --- a/apps/trading/.env.mainnet +++ b/apps/trading/.env.mainnet @@ -5,7 +5,7 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/maste NX_VEGA_ENV=MAINNET NX_VEGA_EXPLORER_URL=https://explorer.vega.xyz NX_VEGA_NETWORKS={\"MAINNET\":\"https://alpha.console.vega.xyz\",\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.vega.xyz +NX_VEGA_TOKEN_URL=https://governance.vega.xyz NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/mainnet NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega/releases diff --git a/apps/trading/.env.stagnet1 b/apps/trading/.env.stagnet1 index e0bb2fa5f..88454013b 100644 --- a/apps/trading/.env.stagnet1 +++ b/apps/trading/.env.stagnet1 @@ -6,9 +6,9 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-inter NX_VEGA_ENV=STAGNET1 NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://stagnet1.token.vega.xyz +NX_VEGA_TOKEN_URL=https://stagnet1.governance.vega.xyz NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega/releases NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.json -NX_VEGA_INCIDENT_URL=https://blog.vega.xyz/tagged/vega-incident-reports \ No newline at end of file +NX_VEGA_INCIDENT_URL=https://blog.vega.xyz/tagged/vega-incident-reports diff --git a/apps/trading/.env.testnet b/apps/trading/.env.testnet index 56563bb9b..f240e25a6 100644 --- a/apps/trading/.env.testnet +++ b/apps/trading/.env.testnet @@ -6,7 +6,7 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-inter NX_VEGA_ENV=TESTNET NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\"} -NX_VEGA_TOKEN_URL=https://token.fairground.wtf +NX_VEGA_TOKEN_URL=https://governance.fairground.wtf NX_VEGA_WALLET_URL=http://localhost:1789 NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega/releases diff --git a/libs/environment/src/hooks/use-links.ts b/libs/environment/src/hooks/use-links.ts index 11b97318d..08055f06d 100644 --- a/libs/environment/src/hooks/use-links.ts +++ b/libs/environment/src/hooks/use-links.ts @@ -38,10 +38,10 @@ const ConsoleLinks = { const TokenLinks = { ...EmptyLinks, - [Networks.DEVNET]: 'https://dev.token.vega.xyz', - [Networks.TESTNET]: 'https://token.fairground.wtf', + [Networks.DEVNET]: 'https://dev.governance.vega.xyz', + [Networks.TESTNET]: 'https://governance.fairground.wtf', [Networks.VALIDATOR_TESTNET]: 'https://validator-testnet.governance.vega.xyz', - [Networks.MAINNET]: 'https://token.vega.xyz', + [Networks.MAINNET]: 'https://governance.vega.xyz', }; const Links: { [k in DApp]: DAppLinks } = {