Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Add Trezor Suite connection details #413

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions src/components/ConnectWallet/Wallets/TrezorSuite.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<template>
<connection-details name="Trezor Suite" requires="electrum">
<step-list>
<step>
Open Trezor Suite and connect your Trezor.
</step>
sime marked this conversation as resolved.
Show resolved Hide resolved
<step>
Go to <span class="font-weight-bold">Settings > Application</span> and make sure <span class="font-weight-bold">"Tor"</span> is enabled.
</step>
<step>
Go to <span class="font-weight-bold">Settings > Crypto</span>.
</step>
<step>
Hover above <span class="font-weight-bold">"Bitcoin"</span> and click the gear icon.
</step>
<step>
Under <span class="font-weight-bold">"Backends"</span> click <span class="font-weight-bold">"Trezor servers"</span> and select
<span class="font-weight-bold">"Custom Electrum server"</span> from the dropdown menu.
</step>
<step>
In the next field enter:
<input-copy class="my-1" :value="`${urls.bitcoin.electrum.address}:${urls.bitcoin.electrum.port}:t`" auto-width></input-copy>
</step>
<step>
Press the <span class="font-weight-bold">"Confirm"</span> button.
</step>
<step>
Congratulations! You've successfully connected Trezor Suite to your Umbrel.
</step>
</step-list>
sime marked this conversation as resolved.
Show resolved Hide resolved
</connection-details>
</template>

<script>
import ConnectionDetails from "@/components/ConnectWallet/ConnectionDetails";
import StepList from "@/components/ConnectWallet/StepList";
import Step from "@/components/ConnectWallet/Step";
import InputCopy from "@/components/Utility/InputCopy";
sime marked this conversation as resolved.
Show resolved Hide resolved

export default {
props: {
urls: Object
},
components: {
ConnectionDetails,
StepList,
Step,
InputCopy
}
};
</script>
8 changes: 8 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import Phoenix from "../components/ConnectWallet/Wallets/Phoenix.vue";
import SamouraiWallet from "../components/ConnectWallet/Wallets/SamouraiWallet.vue";
import Sparrow from "../components/ConnectWallet/Wallets/Sparrow.vue";
import SpecterDesktop from "../components/ConnectWallet/Wallets/SpecterDesktop.vue";
import TrezorSuite from "../components/ConnectWallet/Wallets/TrezorSuite.vue";
import Wasabi from "../components/ConnectWallet/Wallets/Wasabi.vue";

import ZapAndroid from "../components/ConnectWallet/Wallets/ZapAndroid.vue";
Expand Down Expand Up @@ -249,6 +250,13 @@ const routes = [
wallet: "specter-desktop"
}
},
{
path: "trezor-suite",
component: TrezorSuite,
meta: {
wallet: "trezor-suite"
}
},
{
path: "wasabi",
component: Wasabi,
Expand Down
1 change: 1 addition & 0 deletions src/views/ConnectWallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default {
{ value: "samourai-wallet", text: "Samourai Wallet" },
{ value: "sparrow", text: "Sparrow" },
{ value: "specter-desktop", text: "Specter Desktop" },
{ value: "trezor-suite", text: "Trezor Suite" },
{ value: "wasabi", text: "Wasabi" },
{ value: "zap-android", text: "Zap (Android)" },
{ value: "zap-desktop", text: "Zap (Desktop)" },
Expand Down