Skip to content

Templates for Miniscript-based spending policies. For use by Bitcoin wallet developers and users.

License

Notifications You must be signed in to change notification settings

Blockstream/miniscript-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Miniscript Templates

About

Miniscript is a language for composing Bitcoin Scripts in a structured way, facilitating analysis, composition, and generic signing. It's a simplified, composable subset of Bitcoin's Script language. Developed to overcome limitations in writing complex spending conditions directly in Bitcoin Script, it enables formal verification and offers a more human-friendly interface.

Goals

  • Have reviewed templates that leverage miniscript to assure there are not unintended ways of executing a valid spend beyond the intended miniscript policy.
  • Have standardized usages of miniscript to streamline software and hardware wallet integrations.
  • Have uniform on-chain usage of miniscript templates for better privacy.

Submission Format

  1. Name of Template
  2. Goal to be achieved by template
  3. Example Miniscript Output Descriptor

About

Templates for Miniscript-based spending policies. For use by Bitcoin wallet developers and users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published