{"repo":"bitcoinerlab/descriptors","free":true,"listed":false,"github":"https://github.com/bitcoinerlab/descriptors","clone":"git clone https://github.com/bitcoinerlab/descriptors.git","description":"A TypeScript library for parsing Bitcoin Descriptors, including Miniscript-based ones. Streamlines creating Partially Signed Bitcoin Transactions (PSBTs) from Descriptors. Features BIP32, single-signature, and Hardware Wallet signing capabilities, and facilitates finalizing transactions.","language":"TypeScript","stars":58,"topics":["bitcoin","descriptors","miniscript"],"license":null,"category":"blockchain-web3","readme_excerpt":"Bitcoin Descriptors Library This library is designed to parse and create Bitcoin Descriptors, including Miniscript and Taproot script trees and generate Partially Signed Bitcoin Transactions (PSBTs). It also provides PSBT signers and finalizers for single-key, BIP32 and Hardware Wallets. This library uses an underlying Bitcoin library for creating, signing & decoding transactions. Users can pick: - @bitcoinerlab/descriptors for the bitcoinjs-lib and bitcoinjs family of libraries: battle-tested and broadly used. - @bitcoinerlab/descriptors-scure for @scure/btc-signer and the noble/scure family of libraries: audited, fast and minimal. - @bitcoinerlab/descriptors-core as the low-level package used under the preset packages, intended for internal use. In general, most users should pick one of the two preset packages and avoid using @bitcoinerlab/descriptors-core directly. TL;DR (quick start) Using @bitcoinerlab/descriptors-scure ? See the scure variant right below. This quick example compiles a timelocked Miniscript policy, creates a descriptor address to fund, then builds, signs, and finalizes a PSBT that spends that funded UTXO and prints the final transaction hex. Click to see the scure variant Features - Parses and creates Bitcoin Descriptors (including those based on the Miniscript language). - Supports Taproot descriptors with trees: tr(KEY,TREE) (tapscript). - Generates Partially Signed Bitcoin Transactions (PSBTs). - Provides PSBT finalizers and signers for single-signatu","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitcoinerlab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitcoinerlab/descriptors/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."}