{"repo":"shesek/minsc","free":true,"listed":false,"github":"https://github.com/shesek/minsc","clone":"git clone https://github.com/shesek/minsc.git","description":"A mini scripting language for all things Bitcoin","language":"Rust","stars":204,"topics":["bitcoin","miniscript","bitcoin-script"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Minsc A mini scripting language for all things Bitcoin Minsc is a high-level, domain-specific, embeddable language for Bitcoin scripting that simplifies the creation and fulfillment of complex spending conditions using an expressive pseudo-code-like syntax. It features built-in support for Descriptors, Miniscript, Script, Transactions, PSBT, Taproot, BIP32, CTV, and more. The language is dynamically typed, functional and immutable. [!NOTE] The documentation and playground on the min.sc website are currently outdated. To explore some of Minsc's new abilities, check out the min.sc/v1 playground and the following examples: #### Descriptors, Miniscript & PSBT - Simple Taproot (P2TR key-path) - Simple Multisig (P2WSH 2-of-2) - Co-signer with expiry (P2TR with Miniscript, Green-like) - Multisig 3-of-3 into 2-of-3 (decays after a timeout) - Hashed Timelock Contract (traditional HTLC) - Recovery after a delay period (simple CSV-based, delay period since the coins last moved) - Inheritance after a contest period (2-stage using pre-signed txs, contest delay period following the 'trigger') #### One Liners - Simple one/few-liners for inpsecting and manipulating bitcoin data types #### Manual Scripting ##### Without Descriptors, Miniscript or PSBT - Manual Signing (P2WPKH) - Manual Scripting & Signing (P2WSH with raw Script) - Simple CTV Whitelist (P2TR with raw Script) - CTV Congestion Control (payment tree expansion) - Simplest CAT - Script Exec #### Advanced Scripting - CTV Vault (cove","default_branch":null,"files":null,"tree":[],"storefront":"/r/shesek","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shesek/minsc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}