Create a virtual output script from its tapleaf scripts.
The Taproot script tree is assembled using btcd's algorithm
(txscript.AssembleTaprootScriptTree) so the derived taproot output
key agrees with arkd for any leaf count. @scure/btc-signer's
default taprootListToTree is a Huffman builder that only agrees
with arkd for power-of-2 leaf counts.
Raw tapscript bytes for each leaf
ReadonlyleavesReadonlyscriptsRaw tapscript bytes for each leaf
ReadonlytweakedBuild the Arkade address corresponding to this virtual output script.
Bech32 human-readable prefix
32-byte Arkade server public key
Arkade address for this script
Return all unilateral exit paths embedded in the virtual output script.
CSV-based exit paths found in the leaves
Look up a tapleaf script by its hex-encoded tapscript body.
Hex-encoded tapscript body without the leaf version byte
Matching tapleaf script
StaticdecodeDecode a virtual output script from an encoded TapTree.
Encoded TapTree bytes
Decoded virtual output script
VtxoScript is a script that contains a list of tapleaf scripts. It is used to create virtual output scripts.
See
ArkAddress
Example