v0.2.6-pre.012

This commit is contained in:
2026-08-21 16:22:16 +02:00
parent 8ba554306a
commit ecbd6b746d
21 changed files with 634 additions and 94 deletions

View File

@@ -42,7 +42,7 @@
<h1 id="viewTitle" class="h3 mb-1">Dashboard</h1>
<p class="text-body-secondary mb-0">Identité autorisée et balance SOL via le Transport HTTP composite sont actives.</p>
</div>
<span class="badge text-bg-secondary">0.2.6-pre.008</span>
<span class="badge text-bg-secondary">0.2.6-pre.012</span>
</div>
<section data-view-panel="dashboard">
<div class="row g-3">
@@ -380,6 +380,27 @@
</div>
</div>
</div>
<div class="col-12">
<div class="card shadow-sm border-danger-subtle">
<div class="card-header fw-semibold">Export keypair Solana — OWNER uniquement</div>
<div class="card-body">
<p class="small text-body-secondary">Lexport produit un fichier secret non chiffré contenant la keypair Solana complète. Le contenu et le chemin complet restent exclusivement côté Rust ; le frontend choisit seulement le format puis confirme lopération.</p>
<div class="row g-3 align-items-end">
<div class="col-lg-6">
<label class="form-label" for="walletExportFormat">Format dexport</label>
<select id="walletExportFormat" class="form-select" data-owner-export-control disabled>
<option value="solana_cli_json">Solana CLI JSON</option>
<option value="solana_keypair_base58">Keypair Base58 complet</option>
</select>
</div>
<div class="col-lg-6 d-grid">
<button id="exportWalletKeypair" class="btn btn-outline-danger" type="button" data-owner-export-control disabled>Export secret keypair file</button>
</div>
</div>
<div id="walletExportStatus" class="alert alert-secondary mt-3 mb-0" role="status">Session OWNER requise. Aucun export texte ou clipboard nest disponible.</div>
</div>
</div>
</div>
<div class="col-12">
<div id="unlockStatus" class="alert alert-secondary mb-0" role="status">Sélectionner un wallet verrouillé.</div>
</div>
@@ -443,8 +464,23 @@
</div>
</div>
</div>
<div class="modal fade" id="exportWalletKeypairModal" tabindex="-1" aria-labelledby="exportWalletKeypairModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title fs-5" id="exportWalletKeypairModalLabel">Exporter la keypair Solana ?</h2>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">Cette opération OWNER crée un fichier secret non chiffré contenant les 64 octets de la keypair Solana. Le fichier doit être protégé comme une clé privée. Un fichier existant ne sera jamais écrasé par Wallet.</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
<button id="confirmExportWalletKeypair" type="button" class="btn btn-danger">Choose destination and export</button>
</div>
</div>
</div>
</div>
<footer class="app-footer bg-dark text-white-50 d-flex align-items-center px-4">
<span>KSP Wallet Desk · strong VIEW administration pre.011</span>
<span>KSP Wallet Desk · OWNER keypair export pre.012</span>
</footer>
<script type="module" src="./ts/main.ts"></script>
</body>