NBitcoin get signature without signing

NBitcoin get signature without signing
06.12.2018 22:00
shadow

After creating a new NBitcoin transaction (with a single non-standard pay-to-script input and multiple outputs), is there any way to calculate the transaction signature and manually put it in the inputs[0].ScriptSig, along with other parameters used by the script?

A related issue is that when attempting to sign the transaction, an "Unsupported scriptPubKey" exception is thrown. Is that due to the nonstandard script in the input?


Article source: “https://bitcoin.stackexchange.com/questions/81707/nbitcoin-get-signature-without-signing”

Оставить комментарий