This is the same as createSig above, except the 'sign' function returns a Future[ECDigitalSignature]
This is intended to be a low level hardware wallet API.
This is intended to be a low level hardware wallet API. At a fundamental level, a hardware wallet expects a scodec.bits.ByteVector as input, and returns an ECDigitalSignature if it is able to sign the scodec.bits.ByteVector's correctly.
- the information needed to sign the transaction
- the implementation of the hardware wallet protocol to sign the scodec.bits.ByteVector w/ the given public key
- the hash type to be appended on the digital signature when the hardware wallet is done being signed
the digital signature returned by the hardware wallet
Creates a signature from a tx signature component
Creates a signature from a tx signature component
contains the tx, inputIndex which specify which input we are creating a sig for
the private key which we are signing the hash with
the procedure to use for hashing to transaction
Created by chris on 7/21/16.