Add silent payment (BIP-352) address to /hdwallet Receive dialog
Derive a static sp1q… identifier from the user's nsec via BIP-352's spend/scan key paths (m/352'/0'/0'/0'/0 and m/352'/0'/0'/1'/0), then bech32m-encode scan_pubkey || spend_pubkey with HRP "sp" and version 0. The Receive dialog now has two tabs: the existing BIP86 fresh-address flow and a Silent payment tab that shows the static address with QR and copy. The SP tab is labelled receive-only — the wallet doesn't yet scan for incoming silent payments, so funds sent there won't appear in the balance until scan + spend support is wired in.
This commit is contained in:
Generated
+1
@@ -96,6 +96,7 @@
|
||||
"@radix-ui/react-toggle": "^1.1.0",
|
||||
"@radix-ui/react-toggle-group": "^1.1.0",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@scure/base": "^1.1.1",
|
||||
"@scure/bip32": "^2.2.0",
|
||||
"@scure/bip39": "^1.6.0",
|
||||
"@sentry/react": "^10.42.0",
|
||||
|
||||
Reference in New Issue
Block a user