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.
Rust 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.
Core References
| Topic |
Description |
Reference |
| Overview |
What rust-bitcoin is, capabilities, limitations, crate stack, features |
core-overview |
| Consensus encoding |
Encodable/Decodable, serialize/deserialize, partial and hex helpers |
core-consensus-encoding |
| Types and crates |
Block, Transaction, Script, Amount, hashes, network; crate layout and versions |
core-types-and-crates |
Features
| Topic |
Description |
Reference |
| Addresses |
P2PKH, P2WPKH, P2TR, etc.; creation, parsing, network validation |
features-addresses |
| Keys and signing |
PrivateKey, PublicKey, XOnlyPublicKey, ECDSA/Taproot sighash and signing |
features-keys-and-signing |
| PSBT |
BIP-0174 PSBT v0; creation, signing, extraction; roles and limits |
features-psbt |
| Script |
ScriptBuf, builder, opcodes, script pubkey types |
features-script |
| BIP-32 |
Xpriv, Xpub, derivation paths, PSBT key source |
features-bip32 |
| Taproot |
Tweaks, TapLeafHash, script tree, P2TR and sighash |
features-taproot |
Best Practices