-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PoC: asset: use tweaked NUMS key script for non-spendable leaves
This Proof-of-Concept demonstrates the NUMS-tweak formulation for hardware wallet testing. The NewNonSpendableScriptLeaf function now generates non-spendable Taproot leaves using a deterministic NUMS (Nothing-Up-My-Sleeve) key, tweaked with arbitrary data. This replaces the previous raw OP_RETURN approach with a `pk(data)` Miniscript script (`<pubkey> OP_CHECKSIG`), improving compatibility with current hardware wallets.
- Loading branch information
Showing
1 changed file
with
71 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters