From b22c813f9fb3b4d69dade75d22e90e6779919f07 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 16 Feb 2026 20:56:39 -0800 Subject: nostr key derivation --- src/routes/(app)/account/seed/+page.svelte | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/routes/(app)/account/seed') diff --git a/src/routes/(app)/account/seed/+page.svelte b/src/routes/(app)/account/seed/+page.svelte index adfd5573..43b690b3 100644 --- a/src/routes/(app)/account/seed/+page.svelte +++ b/src/routes/(app)/account/seed/+page.svelte @@ -18,7 +18,8 @@ onMount(async () => { if (!browser) return; - const prfKey = getCachedPrfKey(); + const { getWalletEntropy } = await import("$lib/walletEntropy"); + const prfKey = await getWalletEntropy(); if (prfKey) { creating = true; try { @@ -32,7 +33,7 @@ await post("/account", { fingerprint, pubkey, - name: "Vault", + name: $t("accounts.vault"), type: "bitcoin", accountIndex: 0, }); @@ -70,14 +71,9 @@
{$t("payments.copy")}
-
- - - - - - -
+ + + {/if} -- cgit v1.2.3