descriptors
descriptors copied to clipboard
A TypeScript library for parsing Bitcoin Descriptors, including Miniscript-based ones. Streamlines creating Partially Signed Bitcoin Transactions (PSBTs) from Descriptors. Features BIP32, single-signa...
For brief context, I have been using this library for work with descriptors in a separate ts-based project, and I noticed it didn't handle parsing single-key taproot descriptors `tr(KEY).` This...
https://github.com/bitcoinerlab/descriptors/issues/35 realization Also: 1. Update package dependencies TODO: tests.
` new Output({ descriptor: 'addr(tb1prnwvuc8tc6t7lqn2x7eul6f8n9qmpaam8p64wanqnegnglp68dhsxnzalc)', networks.testnet }),` For now not working due to error `'No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance'` Seems what `address.toOutputScript`...
TS types ExpansionMap, ParseKeyExpression, Preimage, TimeConstraints are not exported. https://github.com/saravanan7mani/descriptors/blob/main/src/index.ts#L4
Hey! I am trying to use an output descriptor with both the receiving (0) and change (1) paths, as follow: `wpkh([284bbfa8/84h/1h/0h]tpubDCe8CRwGAiQ2r3rdChcB3Fp8v4GVjYJqoyKKwBczxGVNnawaK21p7sWh8oiMRo26wmSEhQqHGPVofX7t9BnGaSZjbED9WwRxMt8UeTjF64S//*)`. It seems that this library does not support this...
Mention it uses BigInt (for checksums) If `BigInt` support is not possible, then remove the checksum before passing the descriptor to the `parse` function.
[https://bitcoin.sipa.be/miniscript/](https://bitcoin.sipa.be/miniscript/ ) **Resource limitations** - Scripts over 10000 bytes are invalid by consensus (bare, P2SH, P2WSH, P2SH-P2WSH). - ~Scripts over 3600 bytes are invalid by standardness (P2WSH, P2SH-P2WSH).~ - ~Scripts...
* tests for compressed/uncompressed pubkey * test that wpkh and wsh allow only compressed pubkeys * test invalid index (missing, non-integer, ...) * add tests for numberEncodeAsm, take them from...
## Add SLIP-132 extended public key support (zpub, ypub, vpub, upub) Hey @landabaso, I know this might sound crazy, but I keep coming across applications that are constructing descriptors with...