Browse Source

Add Lily Wallet connection details (#338)

Co-authored-by: Kevin Mulcrone <kaybesee@gmail.com>
Co-authored-by: Lounès Ksouri <dev@louneskmt.com>
beta
Luke Childs 4 years ago
committed by GitHub
parent
commit
f3f20e5fab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 94
      src/components/ConnectWallet/Wallets/LilyWallet.vue
  2. 8
      src/router/index.js
  3. 1
      src/views/ConnectWallet.vue

94
src/components/ConnectWallet/Wallets/LilyWallet.vue

@ -0,0 +1,94 @@
<template>
<connection-details name="Lily Wallet" requires="bitcoind">
<step-list>
<step>
Make sure Tor is up and running on your system.
<b-link v-b-modal.tor-modal>Click here</b-link> for instructions.
</step>
<step>
Open Lily Wallet, click the green circle in the top right corner, and
then
<span class="font-weight-bold">"Network settings"</span>.
</step>
<step>
Click the and click
<span class="font-weight-bold">"Change Data Source"</span> option and
then <span class="font-weight-bold">"Connect to Custom Node"</span> to
bring up the connection modal.
</step>
<step>
For <span class="font-weight-bold">"Host"</span> enter
<input-copy
class="my-1"
:value="`http://${urls.bitcoin.rpc.address}:${urls.bitcoin.rpc.port}`"
auto-width
></input-copy>
</step>
<step>
For <span class="font-weight-bold">"Username"</span> enter
<input-copy
class="my-1"
:value="urls.bitcoin.rpc.rpcuser"
auto-width
></input-copy>
</step>
<step>
For <span class="font-weight-bold">"Password"</span> enter
<input-copy
class="my-1"
:value="urls.bitcoin.rpc.rpcpassword"
auto-width
></input-copy>
</step>
<step>
Click <span class="font-weight-bold">"Connect to Node"</span> to verify
if Lily Wallet is able to connect to your Umbrel.
</step>
<step>
Congratulations! You have successfully connected Lily Wallet to your
Umbrel.
</step>
</step-list>
<b-alert class="my-4 px-2 py-3" variant="info" show
>Note: After connecting Lily Wallet to Umbrel, your accounts in Lily will
need to sync which may take some time. <br /><br />
For detailed instructions with pictures, check out
<b-link
target="_blank"
href="https://docs.lily-wallet.com/connect-to-node/umbrel"
>Lily's documentation</b-link
>. If you get stuck, reach out to
<b-link target="_blank" href="https://lily-wallet.com/support"
>Lily's Support Team</b-link
>.
</b-alert>
<b-modal id="tor-modal" centered hide-footer>
<tor-setup></tor-setup>
</b-modal>
</connection-details>
</template>
<script>
import ConnectionDetails from "@/components/ConnectWallet/ConnectionDetails";
import StepList from "@/components/ConnectWallet/StepList";
import Step from "@/components/ConnectWallet/Step";
import TorSetup from "@/components/ConnectWallet/TorSetup.vue";
import InputCopy from "@/components/Utility/InputCopy";
export default {
props: {
urls: Object,
},
components: {
ConnectionDetails,
StepList,
Step,
InputCopy,
TorSetup,
},
};
</script>
<style lang="scss" scoped></style>

8
src/router/index.js

@ -29,6 +29,7 @@ import ElectrumAndroid from "../components/ConnectWallet/Wallets/ElectrumAndroid
import ElectrumDesktop from "../components/ConnectWallet/Wallets/ElectrumDesktop.vue";
import ElectrumServer from "../components/ConnectWallet/Wallets/ElectrumServer.vue";
import FullyNoded from "../components/ConnectWallet/Wallets/FullyNoded.vue";
import LilyWallet from "../components/ConnectWallet/Wallets/LilyWallet.vue";
import Phoenix from "../components/ConnectWallet/Wallets/Phoenix.vue";
import SamouraiWallet from "../components/ConnectWallet/Wallets/SamouraiWallet.vue";
import Sparrow from "../components/ConnectWallet/Wallets/Sparrow.vue";
@ -206,6 +207,13 @@ const routes = [
wallet: "fully-noded"
}
},
{
path: "lily-wallet",
component: LilyWallet,
meta: {
wallet: "lily-wallet"
}
},
{
path: "phoenix",
component: Phoenix,

1
src/views/ConnectWallet.vue

@ -55,6 +55,7 @@ export default {
{ value: "electrum-android", text: "Electrum Wallet (Android)" },
{ value: "electrum-desktop", text: "Electrum Wallet (Desktop)" },
{ value: "fully-noded", text: "Fully Noded (iOS)" },
{ value: "lily-wallet", text: "Lily Wallet" },
{ value: "phoenix", text: "Phoenix Wallet" },
{ value: "samourai-wallet", text: "Samourai Wallet" },
{ value: "sparrow", text: "Sparrow" },

Loading…
Cancel
Save