1---2name: bitcoin-rust3description: Rust Bitcoin library—consensus encoding, transactions, scripts, keys, addresses, PSBT, BIP-32, and Taproot for wallets and tooling.4---56> Skill based on rust-bitcoin (rust-bitcoin/rust-bitcoin), generated from `sources/bitcoin-rust`. Doc path: `sources/bitcoin-rust/docs/`, README, and crate `lib.rs`.78Rust Bitcoin supports the Bitcoin network protocol and primitives: de/serialization of blocks and transactions, script parsing and building, private/public keys and addresses (including BIP-32), and PSBT v0. Use for wallets, indexers, and tooling—**not** for consensus validation. All content is in English.910## Core References1112| Topic | Description | Reference |13|-------|-------------|-----------|14| Overview | What rust-bitcoin is, capabilities, limitations, crate stack, features | [core-overview](references/core-overview.md) |15| Consensus encoding | Encodable/Decodable, serialize/deserialize, partial and hex helpers | [core-consensus-encoding](references/core-consensus-encoding.md) |16| Types and crates | Block, Transaction, Script, Amount, hashes, network; crate layout and versions | [core-types-and-crates](references/core-types-and-crates.md) |1718## Features1920| Topic | Description | Reference |21|-------|-------------|-----------|22| Addresses | P2PKH, P2WPKH, P2TR, etc.; creation, parsing, network validation | [features-addresses](references/features-addresses.md) |23| Keys and signing | PrivateKey, PublicKey, XOnlyPublicKey, ECDSA/Taproot sighash and signing | [features-keys-and-signing](references/features-keys-and-signing.md) |24| PSBT | BIP-0174 PSBT v0; creation, signing, extraction; roles and limits | [features-psbt](references/features-psbt.md) |25| Script | ScriptBuf, builder, opcodes, script pubkey types | [features-script](references/features-script.md) |26| BIP-32 | Xpriv, Xpub, derivation paths, PSBT key source | [features-bip32](references/features-bip32.md) |27| Taproot | Tweaks, TapLeafHash, script tree, P2TR and sighash | [features-taproot](references/features-taproot.md) |2829## Best Practices3031| Topic | Description | Reference |32|-------|-------------|-----------|33| Coding policy | Imports, re-exports, errors, rustdoc, BIP references | [best-practices-policy](references/best-practices-policy.md) |34| Dependencies | Policy on adding dependencies; MSRV and unsafe | [best-practices-dependencies](references/best-practices-dependencies.md) |