Miniscript
script · technology
A structured language for expressing Bitcoin script spending policies that are easier to analyze, compose, and secure.
Miniscript is a structured way to express Bitcoin-style script policies in a form that software can parse, compose, and analyze. Instead of hand-writing every script detail, developers describe the spending policy and let tooling compile it into a valid script.
Miniscript is useful because complex scripts are easy to get wrong. By restricting scripts to analyzable patterns, wallets can estimate fees, identify required signatures, and coordinate with descriptors or hardware signers more safely. Support is ecosystem-specific, so a policy that works in one Bitcoin-family wallet may not be portable to every chain or wallet.
Related terms
Smart Contract
→Blockchain-enforced program or script logic that controls how assets or state may change.
blockchain · scripting
Taproot
→A Bitcoin upgrade that enables more private and efficient spending using Schnorr signatures and script path commitments.
btc · upgrade
Multi-Signature (multisig)
→A spending policy that requires a defined threshold of several keys or signers.
security · wallet
Opcode
→An encoded instruction interpreted by a virtual machine or transaction script engine.
technical · scripting