An abstract TaprootScriptInput class will be created that takes a Taproot object and the index of the script to be spent. This input shall put the control block into the input. Subclasses can implement the sign method according to the actual functionality of the given script.
An abstract
TaprootScriptInput
class will be created that takes aTaproot
object and the index of the script to be spent. This input shall put the control block into the input. Subclasses can implement thesign
method according to the actual functionality of the given script.