diff --git a/env.js b/env.js index f3f9d379..152e16a0 100644 --- a/env.js +++ b/env.js @@ -10,18 +10,24 @@ const sharedEnv = { PROJECT_ID: '14ec76c44bae7d461fa0f5fd5f8a9da1', }; -const TESTNET = { - ...sharedEnv, - APP_NAME: 'Teloscan (testnet)', - NETWORK_EVM_NAME: 'telos-evm-testnet', +const chains = { + testnet: { + ...sharedEnv, + APP_NAME: 'Teloscan (testnet)', + NETWORK_EVM_NAME: 'telos-evm-testnet', + }, + mainnet: { + ...sharedEnv, + APP_NAME: 'Teloscan', + NETWORK_EVM_NAME: 'telos-evm', + }, + zkevm_testnet: { + ...sharedEnv, + APP_NAME: 'Teloscan zkEVM (testnet)', + NETWORK_EVM_NAME: 'telos-zkevm-testnet', + }, }; -const MAINNET = { - ...sharedEnv, - APP_NAME: 'Teloscan', - NETWORK_EVM_NAME: 'telos-evm', -}; - -const env = process.env.NETWORK === 'mainnet' ? MAINNET : TESTNET; +const env = chains[process.env.NETWORK?.toLowerCase()] || chains.testnet; module.exports = env; diff --git a/public/branding/telos-teloscan-logo--dark.png b/public/branding/telos-teloscan-logo--dark.png new file mode 100644 index 00000000..7ff0e87c Binary files /dev/null and b/public/branding/telos-teloscan-logo--dark.png differ diff --git a/public/branding/telos-teloscan-logo-testnet--dark.png b/public/branding/telos-teloscan-logo-testnet--dark.png new file mode 100644 index 00000000..a001a109 Binary files /dev/null and b/public/branding/telos-teloscan-logo-testnet--dark.png differ diff --git a/public/branding/telos-teloscan-logo-testnet.png b/public/branding/telos-teloscan-logo-testnet.png new file mode 100644 index 00000000..f9b3c41e Binary files /dev/null and b/public/branding/telos-teloscan-logo-testnet.png differ diff --git a/public/branding/telos-teloscan-logo.png b/public/branding/telos-teloscan-logo.png new file mode 100644 index 00000000..4436ba70 Binary files /dev/null and b/public/branding/telos-teloscan-logo.png differ diff --git a/public/branding/teloszk-teloscan-logo--dark.png b/public/branding/teloszk-teloscan-logo--dark.png new file mode 100644 index 00000000..efca78ba Binary files /dev/null and b/public/branding/teloszk-teloscan-logo--dark.png differ diff --git a/public/branding/teloszk-teloscan-logo.png b/public/branding/teloszk-teloscan-logo.png new file mode 100644 index 00000000..2f38c75e Binary files /dev/null and b/public/branding/teloszk-teloscan-logo.png differ diff --git a/public/networks/telos-zkevm-logo-256.png b/public/networks/telos-zkevm-logo-256.png new file mode 100644 index 00000000..ae44fe84 Binary files /dev/null and b/public/networks/telos-zkevm-logo-256.png differ diff --git a/public/networks/telos-zkevm-logo-32.png b/public/networks/telos-zkevm-logo-32.png new file mode 100644 index 00000000..e08587b7 Binary files /dev/null and b/public/networks/telos-zkevm-logo-32.png differ diff --git a/src/App.vue b/src/App.vue index d75b78a7..722e621e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,8 @@ import { useQuasar } from 'quasar'; import moment from 'moment'; import { getCore, useChainStore } from 'src/core'; -import { TELOS_NETWORK_NAMES } from 'src/core/mocks/chain-constants'; + +import { TELOS_NETWORK_NAMES } from 'src/config/chains'; import { providerManager } from 'src/boot/evm'; import { useRoute } from 'vue-router'; diff --git a/src/assets/telos-teloscan-logo.xcf b/src/assets/telos-teloscan-logo.xcf new file mode 100644 index 00000000..9d9c6e45 Binary files /dev/null and b/src/assets/telos-teloscan-logo.xcf differ diff --git a/src/components/ContractTab/ContractByteCode.vue b/src/components/ContractTab/ContractByteCode.vue deleted file mode 100644 index e44d7c07..00000000 --- a/src/components/ContractTab/ContractByteCode.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/src/components/header/AppHeaderBottomBar.vue b/src/components/header/AppHeaderBottomBar.vue index 0829f977..eceb79fc 100644 --- a/src/components/header/AppHeaderBottomBar.vue +++ b/src/components/header/AppHeaderBottomBar.vue @@ -1,5 +1,5 @@ +