diff options
| author | Adam Soltys <[email protected]> | 2026-02-16 20:56:39 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-16 20:56:39 -0800 |
| commit | b22c813f9fb3b4d69dade75d22e90e6779919f07 (patch) | |
| tree | 173fe377e83ad65ac6721dd567d8e90d9d204be8 /src/routes/(app)/account/seed | |
| parent | 8bb150db1f73164030f9e8085c13765120363644 (diff) | |
| download | coinos-ui-b22c813f9fb3b4d69dade75d22e90e6779919f07.tar.gz coinos-ui-b22c813f9fb3b4d69dade75d22e90e6779919f07.zip | |
nostr key derivation
Diffstat (limited to 'src/routes/(app)/account/seed')
| -rw-r--r-- | src/routes/(app)/account/seed/+page.svelte | 16 |
1 files changed, 6 insertions, 10 deletions
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 @@ <div class="my-auto">{$t("payments.copy")}</div> </button> - <div class="flex gap-2"> - <a href={`/account/bitcoin`} class="contents"> - <button type="button" class="btn !w-auto grow">{$t("accounts.back")}</button> - </a> - <a href={`/account/pass`} class="contents"> - <button type="button" class="btn btn-accent !w-auto grow">{$t("accounts.next")}</button> - </a> - </div> + <a href={`/account/pass`} class="contents"> + <button type="button" class="btn btn-accent w-full">{$t("accounts.next")}</button> + </a> </div> </div> {/if} |
