Overview
Sigil Bitcoin is a workspace of Bitcoin libraries for Sigil.
The packages are layered so applications can import only the pieces they need:
(sigil bitcoin primitives)provides HASH160, HASH256, tagged hashes, and Taproot tag constants.(sigil bitcoin encoding)provides hex, Base58Check, Bech32, Bech32m, and SegWit address codecs.(sigil secp256k1)provides native libsecp256k1 bytevector bindings, including public-key point operations and x-only Taproot key tweaks.(sigil bitcoin keys)provides WIF, addresses, BIP32 extended keys, and BIP39 mnemonics.(sigil bitcoin script)provides script byte constructors and standard scriptPubKey templates.(sigil bitcoin tx)provides transaction structs, wire serialization, txids, P2PKH/P2WPKH/P2WSH single-key/P2TR signing, and PSBT v0 parsing, metadata preservation, input/output annotation, signing, and finalization helpers.(sigil bitcoin miniscript)provides Miniscript fragments, type metadata, hash-lock and branch combinators, descriptor parsing with checksums, BIP389 multipath key derivation, Taproot script-tree hashing and output-key compilation,multi_aTapscript compilation, concrete BIP327musig(...)key aggregation for Taproot descriptor scriptPubKeys, BIP388 wallet policy expansion, PSBT planning records with WSH and single-leaf Taproot script material, and descriptor-plan PSBT signing wrappers.
The generated API reference is built from the same JSON files produced by sigil build.