pub fn taproot_builder_with_scripts(
scripts: impl Into<Vec<ScriptBuf>>,
) -> TaprootBuilder
Expand description
A helper to construct a TaprootBuilder
from a slice of script buffers, forming the script tree.
Finds the needed depth the script tree needs to be to fit all the scripts and inserts the scripts.