clementine_core::builder::address

Function create_checksig_address

Source
pub fn create_checksig_address(
    xonly_pk: XOnlyPublicKey,
    network: Network,
) -> (Address, TaprootSpendInfo)
Expand description

Shorthand function for creating a checksig taproot address: A single checksig script with the given xonly PK and no internal key.

§Returns

See create_taproot_address.

  • [Address]: Checksig taproot Bitcoin address
  • [TaprootSpendInfo]: Checksig address’s taproot spending information