Expand description
Defines parameterized Bitcoin encoders for Mainnet, Testnet, and Signet.
Structs
The standard encoder for Bitcoin networks. Parameterized by a NetworkParams
type and an
coins_bip32::Encoder
. It exposes
A param struct for Bitcoin Mainnet
A param struct for Bitcoin Signet
A param struct for Bitcoin Tesnet
Enums
The available Bitcoin Address types, implemented as a type enum around strings.
Traits
Marker trait to simplify encoder representation elsewhere
NetworkParams holds the encoding paramteres for a bitcoin-like network. Currently this is composed of the address version bytes for Legacy PKH and SH addresses, and the bech32 human-readable prefix for witness addresses.
Type Definitions
An encoder for Bitcoin Mainnet
An encoder for Bitcoin Signet
An encoder for Bitcoin Tesnet