create_script_tree
Create a Taproot script tree from a single script
Arguments
script- The script bytesleaf_version- The script version (usually 0xc0)
Returns
TapTree- The script tree
Fully qualified path: alexandria_btc::taproot::create_script_tree
pub fn create_script_tree(script: Array<u8>, leaf_version: u8) -> TapTree