refactor(frontend): simplify wallet type labels in HD and single addresses

This commit is contained in:
2026-03-09 15:03:44 +01:00
parent 73ce43637d
commit c7ad9d114d
2 changed files with 10 additions and 10 deletions

View File

@@ -80,12 +80,12 @@ export default function HDWallet() {
</select>
</div>
<div className="form-group">
<label className="form-label">BIP Type</label>
<label className="form-label">Type</label>
<select className="form-select" value={form.bip_type} onChange={e => set('bip_type', e.target.value)}>
<option value="bip44">BIP-44 P2PKH (Legacy)</option>
<option value="bip49">BIP-49 P2SH-P2WPKH (SegWit wrapped)</option>
<option value="bip84">BIP-84 P2WPKH (Native SegWit)</option>
<option value="bip86">BIP-86 P2TR (Taproot)</option>
<option value="bip44">P2PKH (BIP-44)</option>
<option value="bip49">P2SH-P2WPKH (BIP-49)</option>
<option value="bip84">P2WPKH (BIP-84)</option>
<option value="bip86">P2TR (BIP-86)</option>
</select>
</div>
<div className="form-group">

View File

@@ -2,11 +2,11 @@ import { useState } from 'react'
import CopyButton from './CopyButton'
const TABS = [
{ id: 'p2pk', label: 'P2PK', desc: 'Pay-to-PubKey (no address)' },
{ id: 'p2pkh', label: 'P2PKH', desc: 'Legacy · starts with 1 / m' },
{ id: 'p2sh', label: 'P2SH', desc: 'Multisig · starts with 3 / 2' },
{ id: 'p2wpkh', label: 'P2WPKH', desc: 'Native SegWit · bc1q / tb1q' },
{ id: 'p2tr', label: 'P2TR', desc: 'Taproot · bc1p / tb1p' },
{ id: 'p2pk', label: 'P2PK', desc: 'Pay-to-PubKey' },
{ id: 'p2pkh', label: 'P2PKH', desc: 'Legacy' },
{ id: 'p2sh', label: 'P2SH', desc: 'Multisig' },
{ id: 'p2wpkh', label: 'P2WPKH', desc: 'Native SegWit' },
{ id: 'p2tr', label: 'P2TR', desc: 'Taproot' },
]
export default function SingleAddress({ initialTab = 'p2pkh' }) {