Modules
All the modules listed below have been implemented and are available for use:
- Descriptors, a versatile tool for parsing Bitcoin Descriptors, including Miniscript language constructs. This module facilitates the creation of Outputs and the generation of Partially Signed Bitcoin Transactions (PSBTs). It integrates BIP32, single-signature, and Hardware Wallet signing capabilities, and also enables the finalization of transactions prior to network submission.
- Discovery, a module enabling the retrieval of data from the Bitcoin network. It supports querying blockchain information using Bitcoin descriptors syntax, streamlining access to essential data like balance, UTXOs, and transaction history.
- Coinselect, designed for Bitcoin transaction management. It leverages Bitcoin Descriptors to define inputs and outputs, enabling optimal UTXO (Unspent Transaction Output) selection and accurate transaction size calculations.
- Miniscript, offering an intuitive approach to handling complex Bitcoin scripts. Essential to the ecosystem, this module is integrated into most of the other modules.
- Explorer, offering seamless access to Electrum and Esplora servers. This module establishes a unified interface utilized by the @bitcoinerlab/discovery module for retrieving network data across various protocols.
- Secp256k1, specializing in elliptic curve operations on the secp256k1 curve. This foundational module underpins the majority of other modules, providing essential low-level cryptographic functionality.
Together, these modules provide comprehensive tools for developing Bitcoin applications, making it easier to create Miniscript-enabled wallets and apps.