Open benthecarman opened 1 month ago
Do you want to pass the actual signatures in the witness, or tapsim to create the signatures?
If you just want to pass the signatures (you already have a signed transaction you want to step thrrough) that would be pretty easy to add :)
Yeah I want to pass the actual signatures
Currently when you pass in a script and witness, tapsim will generate a dummy transaction and prevout that the script will be ran against. This is fine for most scripts however this will make it so OP_CAT based covenants do not work because you are generating the signature in the script. The way to fix this would be to be able to provide the actual transaction and prevouts of the inputs into tapsim so they can be used to validate against instead of just having them randomly generated on the fly