diff --git a/src/antelope/chains/EVMChainSettings.ts b/src/antelope/chains/EVMChainSettings.ts
index 6923c478..3474b15f 100644
--- a/src/antelope/chains/EVMChainSettings.ts
+++ b/src/antelope/chains/EVMChainSettings.ts
@@ -295,6 +295,7 @@ export default abstract class EVMChainSettings implements ChainSettings {
abstract getWeiPrecision(): number;
abstract getExplorerUrl(): string;
abstract getEcosystemUrl(): string;
+ abstract getBridgeUrl(): string;
abstract getTrustedContractsBucket(): string;
abstract getSystemTokens(): TokenClass[];
abstract getIndexerApiEndpoint(): string;
diff --git a/src/antelope/chains/evm/telos-evm-testnet/index.ts b/src/antelope/chains/evm/telos-evm-testnet/index.ts
index 47d0bd3f..3ca376f6 100644
--- a/src/antelope/chains/evm/telos-evm-testnet/index.ts
+++ b/src/antelope/chains/evm/telos-evm-testnet/index.ts
@@ -55,6 +55,8 @@ const API_ENDPOINT = 'https://api-dev.telos.net/v1';
const WEI_PRECISION = 18;
const EXPLORER_URL = 'https://testnet.teloscan.io';
const ECOSYSTEM_URL = 'https://www.telos.net/ecosystem';
+const BRIDGE_URL = 'https://telos-bridge-testnet.netlify.app/bridge';
+
const NETWORK_EVM_ENDPOINT = 'https://testnet.telos.net';
const INDEXER_ENDPOINT = 'https://api.testnet.teloscan.io';
const CONTRACTS_BUCKET = 'https://verified-evm-contracts-testnet.s3.amazonaws.com';
@@ -144,6 +146,10 @@ export default class TelosEVMTestnet extends EVMChainSettings {
return ECOSYSTEM_URL;
}
+ getBridgeUrl(): string {
+ return BRIDGE_URL;
+ }
+
getTrustedContractsBucket(): string {
return CONTRACTS_BUCKET;
}
diff --git a/src/antelope/chains/evm/telos-evm/index.ts b/src/antelope/chains/evm/telos-evm/index.ts
index 2acbe7ee..9669b340 100644
--- a/src/antelope/chains/evm/telos-evm/index.ts
+++ b/src/antelope/chains/evm/telos-evm/index.ts
@@ -55,6 +55,7 @@ const API_ENDPOINT = 'https://api.telos.net/v1';
const WEI_PRECISION = 18;
const EXPLORER_URL = 'https://teloscan.io';
const ECOSYSTEM_URL = 'https://www.telos.net/ecosystem';
+const BRIDGE_URL = 'https://bridge.telos.net/bridge';
const NETWORK_EVM_ENDPOINT = 'https://mainnet.telos.net';
const INDEXER_ENDPOINT = 'https://api.teloscan.io';
const CONTRACTS_BUCKET = 'https://verified-evm-contracts.s3.amazonaws.com';
@@ -140,6 +141,10 @@ export default class TelosEVMTestnet extends EVMChainSettings {
return ECOSYSTEM_URL;
}
+ getBridgeUrl(): string {
+ return BRIDGE_URL;
+ }
+
getTrustedContractsBucket(): string {
return CONTRACTS_BUCKET;
}
diff --git a/src/antelope/stores/chain.ts b/src/antelope/stores/chain.ts
index ba831bcf..f330ebb9 100644
--- a/src/antelope/stores/chain.ts
+++ b/src/antelope/stores/chain.ts
@@ -125,6 +125,7 @@ export const useChainStore = defineStore(store_name, {
// https://github.com/telosnetwork/telos-wallet/issues/246
getExplorerUrl: () => (network: string) => (settings[network] as EVMChainSettings).getExplorerUrl(),
getEcosystemUrl: () => (network: string) => (settings[network] as EVMChainSettings).getEcosystemUrl(),
+ getBridgeUrl: () => (network: string) => (settings[network] as EVMChainSettings).getBridgeUrl(),
getNetworkSettings: () => (network: string) => settings[network],
getStakedRatio: state => (label: string) => (state.__chains[label] as EvmChainModel).stakeRatio ?? ethers.constants.Zero,
getUnstakedRatio: state => (label: string) => (state.__chains[label] as EvmChainModel).unstakeRatio ?? ethers.constants.Zero,
diff --git a/src/components/evm/AppNav.vue b/src/components/evm/AppNav.vue
index 64dc2e8b..e19a87d2 100644
--- a/src/components/evm/AppNav.vue
+++ b/src/components/evm/AppNav.vue
@@ -151,6 +151,10 @@ export default defineComponent({
const network = this.loggedAccount.network;
window.open(chainStore.getExplorerUrl(network), '_blank');
},
+ goToTelosBridge() {
+ const network = this.loggedAccount.network;
+ window.open(chainStore.getBridgeUrl(network), '_blank');
+ },
},
});
@@ -389,6 +393,16 @@ export default defineComponent({
{{ $t('nav.teloscan') }}