feat: add export private key from address detail view #31

Merged
sneak merged 12 commits from feat/export-private-key into main 2026-02-28 21:10:17 +01:00
2 changed files with 8 additions and 10 deletions
Showing only changes of commit 41794f8bf5 - Show all commits

View File

@@ -307,16 +307,6 @@
</button> </button>
</div> </div>
<!-- actions row 2 -->
<div class="flex gap-2 mb-3">
<button
id="btn-export-privkey"
class="border border-border px-2 py-1 hover:bg-fg hover:text-bg cursor-pointer flex-1 text-xs"
>
Export Private Key
</button>
</div>
<!-- transactions --> <!-- transactions -->
<div class="mt-3"> <div class="mt-3">
<div class="border-b border-border pb-1 mb-1"> <div class="border-b border-border pb-1 mb-1">
@@ -326,6 +316,13 @@
<div class="text-muted text-xs py-1">Loading...</div> <div class="text-muted text-xs py-1">Loading...</div>
</div> </div>
</div> </div>
<div class="mt-3 text-center">
<span
id="btn-export-privkey"
class="text-xs text-muted underline decoration-dashed cursor-pointer hover:text-fg"
>Export private key</span
>
</div>
</div> </div>
<!-- ============ EXPORT PRIVATE KEY VIEW ============ --> <!-- ============ EXPORT PRIVATE KEY VIEW ============ -->

View File

@@ -31,6 +31,7 @@ const VIEWS = [
"approve-site", "approve-site",
"approve-tx", "approve-tx",
"approve-sign", "approve-sign",
"export-privkey",
]; ];
function $(id) { function $(id) {