sign Bch Tx One Input Using ECDSA
abstract fun signBchTxOneInputUsingECDSA(txData: ByteArray, sigHashType: Int, inputIdx: Long, inputAmount: Long, prevoutScript: ByteArray, secret: ByteArray): ByteArray
Create an ECDSA signature for the passed transaction
Return
signature in binary format
Parameters
tx Data
transaction serialized for signing
sig Hash Type
signature hash algorithm selection
input Idx
what input to sign
input Amount
how many satoshis this input contains
prevout Script
the input's constraint script