Single-Key Descriptors
Pay-to-Pubkey (P2PK)
Pay-to-Pubkey (P2PK)
Basic P2PK output with a public key:With extended public key:
Pay-to-Pubkey-Hash (P2PKH)
Pay-to-Pubkey-Hash (P2PKH)
Standard P2PKH (legacy addresses):P2PKH with HD key derivation:With key origin and wildcard:
Pay-to-Witness-Pubkey-Hash (P2WPKH)
Pay-to-Witness-Pubkey-Hash (P2WPKH)
Native SegWit (bech32):Wrapped in P2SH (P2SH-P2WPKH):
Combo - Multiple Output Types
Combo - Multiple Output Types
Generate all compatible output types for a single key:This creates: P2PK, P2PKH, P2WPKH, and P2SH-P2WPKH outputs.
Multisig Descriptors
Bare Multisig
Bare Multisig
1-of-2 multisig:
P2SH Multisig
P2SH Multisig
2-of-2 P2SH multisig:2-of-2 with sorted keys:
P2WSH Multisig
P2WSH Multisig
2-of-3 SegWit multisig:P2SH-P2WSH 1-of-3 multisig:
HD Multisig with Wildcards
HD Multisig with Wildcards
1-of-2 P2WSH multisig with HD derivation:Sorted 1-of-2 (key order determined lexicographically):
Multipath Multisig (Receiving + Change)
Multipath Multisig (Receiving + Change)
2-of-3 multisig with receiving (0) and change (1) paths:
Taproot Descriptors
Basic Taproot (Key Path Only)
Basic Taproot (Key Path Only)
Simple P2TR with internal key:
Taproot with Script Paths
Taproot with Script Paths
P2TR with two script paths:
Taproot Multisig
Taproot Multisig
2-of-2 Taproot multisig with sorted keys:
MuSig2 Aggregate Key
MuSig2 Aggregate Key
MuSig2 multisig with key derivation:
Miniscript Descriptors
Decaying Multisig
Decaying Multisig
4-of-4 multisig that “decays” to 3-of-4, 2-of-4, and 1-of-4 at future block heights:This policy:
- Starts as 4-of-4 before block 840000
- Becomes 3-of-4 after block 840000
- Becomes 2-of-4 after block 1050000
- Becomes 1-of-4 after block 1260000
Special Cases
Address Reference
Address Reference
Reference an existing address:
Raw Script
Raw Script
Use a raw hex-encoded script:This example creates an OP_RETURN output.
Complex Nested Scripts
Complex Nested Scripts
Overly complex (but valid) P2SH-P2WSH-P2PKH:Note: While technically valid, this type of nesting is unnecessarily complex and not recommended for production use.
Practical Wallet Setup
Modern Single-Sig Wallet
Modern Single-Sig Wallet
SegWit wallet with receiving and change addresses:Derivation path follows BIP84 standard for native SegWit.
2-of-3 Multisig Vault
2-of-3 Multisig Vault
Watch-only multisig for cold storage:Follows BIP48 derivation for multisig wallets.