diff --git a/launcher/public/img/icon/staking-page-icons/beaconcha.png b/launcher/public/img/icon/staking-page-icons/beaconcha.png new file mode 100644 index 0000000000..263d5ba8cb Binary files /dev/null and b/launcher/public/img/icon/staking-page-icons/beaconcha.png differ diff --git a/launcher/src/components/UI/staking-page/components/list/rows/KeyRow.vue b/launcher/src/components/UI/staking-page/components/list/rows/KeyRow.vue index 460c916dcf..1e05809ae6 100644 --- a/launcher/src/components/UI/staking-page/components/list/rows/KeyRow.vue +++ b/launcher/src/components/UI/staking-page/components/list/rows/KeyRow.vue @@ -70,7 +70,7 @@ import { computed } from 'vue'; >{{ props.item.balance }} -
+
+
+ Icon +
@@ -145,7 +158,7 @@ import { computed } from "vue"; import { useStakingStore } from "@/store/theStaking"; import { useFooter } from "@/store/theFooter"; import i18n from "@/includes/i18n"; -import { useSetups } from "../../../../../../store/setups"; +import { useSetups } from "@/store/setups"; const props = defineProps({ item: { @@ -288,6 +301,22 @@ const displayText = computed(() => { }); //Methods +const navToBeaconcha = (network) => { + const urls = { + gnosis: "https://gnosischa.in/", + sepolia: "https://sepolia.beaconcha.in/", + mainnet: "https://beaconcha.in/", + holesky: "https://holesky.beaconcha.in/", + }; + + const url = urls[network]; + if (url) { + window.open(url, "_blank"); + } else { + console.error("Invalid network provided"); + } +}; + const selectKey = (key) => { if (stakingStore.isGroupingAllowed) { const updatedKeys = stakingStore.keys.map((item) => {