diff --git a/components/Teleport.vue b/components/Teleport.vue new file mode 100644 index 0000000000..d15b340678 --- /dev/null +++ b/components/Teleport.vue @@ -0,0 +1,355 @@ + + + diff --git a/composables/useChain.ts b/composables/useChain.ts index 92696d243e..289e008324 100644 --- a/composables/useChain.ts +++ b/composables/useChain.ts @@ -30,6 +30,9 @@ export default function () { : symbol }) + const blockExplorer = computed( + () => chainProperties.value.blockExplorer ?? 'https://kusama.subscan.io/' + ) return { decimals, unit, @@ -37,5 +40,6 @@ export default function () { chainProperties, availableChains, chainSymbol, + blockExplorer, } } diff --git a/locales/en.json b/locales/en.json index d9658f557d..70f4308d8a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -889,7 +889,8 @@ "btnCopyPayment": "Copy Payment link", "congratsSupport": "Congratulations for supporting", "tweetDonation": "Tweet about your awesome donation", - "donationSentTo": "Your donation will be sent to:" + "donationSentTo": "Your donation will be sent to:", + "route": "Send {0} From {1} To {2}" }, "preferences": { "basic": "basic user interface", diff --git a/pages/teleport.vue b/pages/teleport.vue index 0fb8f39451..8ab2c2ecdb 100644 --- a/pages/teleport.vue +++ b/pages/teleport.vue @@ -1,418 +1,12 @@