# Functions

FromPayment creates a Payment struct from a another Payment.
FromPublicKey creates a Payment struct from a btcec.publicKey.
FromPublicKeys creates a multi-signature Payment struct from list of public key's.
FromScript creates parses a script into a Payment struct.
FromTaprootScriptTree creates a taproot payment from a merkle script tree and internal key.
FromTaprootScriptTreeHash creates a taproot payment from a merkle script tree hash and internal key.
FromTweakedKey creates a P2TR payment from a tweaked output key.
Hash160 calculates the hash ripemd160(sha256(b)).

# Variables

No description provided by the author
No description provided by the author

# Structs

Payment defines the structure that holds the information different addresses.
TaprootPaymentData is included in Payment struct to store Taproot-related data.