diff --git a/.gitignore b/.gitignore index 5f058d1..1dc785a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ npm-debug.log .env .idea .vite +.playwright-mcp/ diff --git a/env.mainnet b/env.mainnet index f28885f..fe26a69 100644 --- a/env.mainnet +++ b/env.mainnet @@ -1,6 +1,6 @@ -VITE_BLOCKCHAIN_API_URL=https://api.xe.network -VITE_BRIDGE_WALLET_ADDRESS=xe_A4788d8201Fb879e3b7523a0367401D2a985D42F -VITE_EXPLORER_URL=https://xe.network +VITE_BLOCKCHAIN_API_URL=https://blockchain.edge.network +VITE_BRIDGE_WALLET_ADDRESS=xe_F48AC6bF3C040A7BDC4DE93A2B02AD45b4550333 +VITE_EXPLORER_URL=https://explorer.edge.network VITE_GOVERNANCE_URL=https://governance.edge.network -VITE_INDEX_API_URL=https://index.xe.network +VITE_INDEX_API_URL=https://index.edge.network VITE_IS_TESTNET=false diff --git a/package.json b/package.json index 70e6d35..89be3ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wallet", - "version": "1.23.5", + "version": "1.23.6", "description": "Web wallet for managing $EDGE", "private": true, "license": "GPL", diff --git a/src/components/tx/DepositModal.vue b/src/components/tx/DepositModal.vue index e5460ef..8e0af30 100644 --- a/src/components/tx/DepositModal.vue +++ b/src/components/tx/DepositModal.vue @@ -292,7 +292,7 @@ export default { } }, computed: { - ...mapState(['address']), + ...mapState(['address', 'bridgeOnline']), browserSupport() { return ['brave', 'chrome', 'edge', 'firefox'].includes(detect().name) }, @@ -303,6 +303,7 @@ export default { return (Math.floor(parseAmount(this.amount) * 1e6) / 1e6) }, canDeposit() { + if (!this.bridgeOnline) return false if (this.depositInProgress || this.v$.$invalid) return false return this.xeAmount > 0 }, diff --git a/src/components/tx/SwapModal.vue b/src/components/tx/SwapModal.vue index 264d03c..c179eb6 100644 --- a/src/components/tx/SwapModal.vue +++ b/src/components/tx/SwapModal.vue @@ -13,7 +13,7 @@ - + @@ -26,7 +26,7 @@ Withdraw $EDGE from the XE blockchain for use within the Ethereum network. - + @@ -48,7 +48,7 @@ --> - Bridge is currently unavailable, so transactions may be delayed. + The bridge is currently offline. Deposits and withdrawals are temporarily disabled. Please check again later or contact support for more information. @@ -56,16 +56,15 @@
Withdraw $EDGE from the XE blockchain for use within the Ethereum network.
Bridge is currently unavailable, so transactions may be delayed.
The bridge is currently offline. Deposits and withdrawals are temporarily disabled.
Please check again later or contact support for more information.