diff --git a/apps/desktop/src/lib/states/wallet.svelte.ts b/apps/desktop/src/lib/states/wallet.svelte.ts index fa1b46c..d7c1a8b 100644 --- a/apps/desktop/src/lib/states/wallet.svelte.ts +++ b/apps/desktop/src/lib/states/wallet.svelte.ts @@ -419,3 +419,5 @@ export const Wallet = () => { moneroOpenExistingWallet, } } + +export const wallet = Wallet() diff --git a/apps/desktop/src/routes/index.svelte b/apps/desktop/src/routes/index.svelte index 4c47f01..c5f3cbd 100644 --- a/apps/desktop/src/routes/index.svelte +++ b/apps/desktop/src/routes/index.svelte @@ -1,10 +1,9 @@ + +
+
+
+ {#each w.networks as net} + + {/each} +
+ + + {#if w.moneroDownloading} + + +

Downloading Monero binary (70MB)...

+
+
+ {:else if !w.moneroInstalled} + + + Monero Setup + Download monero-wallet-rpc to get started + + + + + + {:else if !w.moneroRunning} + + + Monero Wallet + Start the wallet RPC server to connect to the Monero network + + + + + + {:else if !w.moneroWalletOpen} + + + Monero Wallet + + {w.moneroWallets.length > 0 + ? `${w.moneroWallets.length} wallet${w.moneroWallets.length > 1 ? 's' : ''} found on disk` + : 'No existing wallets found'} + + + +
+ {#if w.moneroWallets.length > 0} +

Select a wallet to open:

+
+ {#each w.moneroWallets as name} + + {/each} +
+ {#if moneroSelectedWallet} +
+ + +
+ {/if} +
+ {/if} +

Or create a new wallet:

+ + +
+ +
+
+

Restore from seed

+