Function create_taproot_address

pub fn create_taproot_address(
    scripts: &[ScriptBuf],
    internal_key: Option<XOnlyPublicKey>,
    network: Network,
) -> (Address, TaprootSpendInfo)
Expand description

Creates a taproot address with given scripts and internal key.